github.com/traefik/yaegi@v0.15.1/stdlib/go1_20_crypto_subtle.go (about)

     1  // Code generated by 'yaegi extract crypto/subtle'. DO NOT EDIT.
     2  
     3  //go:build go1.20
     4  // +build go1.20
     5  
     6  package stdlib
     7  
     8  import (
     9  	"crypto/subtle"
    10  	"reflect"
    11  )
    12  
    13  func init() {
    14  	Symbols["crypto/subtle/subtle"] = map[string]reflect.Value{
    15  		// function, constant and variable definitions
    16  		"ConstantTimeByteEq":   reflect.ValueOf(subtle.ConstantTimeByteEq),
    17  		"ConstantTimeCompare":  reflect.ValueOf(subtle.ConstantTimeCompare),
    18  		"ConstantTimeCopy":     reflect.ValueOf(subtle.ConstantTimeCopy),
    19  		"ConstantTimeEq":       reflect.ValueOf(subtle.ConstantTimeEq),
    20  		"ConstantTimeLessOrEq": reflect.ValueOf(subtle.ConstantTimeLessOrEq),
    21  		"ConstantTimeSelect":   reflect.ValueOf(subtle.ConstantTimeSelect),
    22  		"XORBytes":             reflect.ValueOf(subtle.XORBytes),
    23  	}
    24  }