github.com/HaHadaxigua/yaegi@v1.0.1/stdlib/go1_17_crypto_des.go (about)

     1  // Code generated by 'yaegi extract crypto/des'. DO NOT EDIT.
     2  
     3  //go:build go1.17
     4  // +build go1.17
     5  
     6  package stdlib
     7  
     8  import (
     9  	"crypto/des"
    10  	"go/constant"
    11  	"go/token"
    12  	"reflect"
    13  )
    14  
    15  func init() {
    16  	Symbols["crypto/des/des"] = map[string]reflect.Value{
    17  		// function, constant and variable definitions
    18  		"BlockSize":          reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)),
    19  		"NewCipher":          reflect.ValueOf(des.NewCipher),
    20  		"NewTripleDESCipher": reflect.ValueOf(des.NewTripleDESCipher),
    21  
    22  		// type definitions
    23  		"KeySizeError": reflect.ValueOf((*des.KeySizeError)(nil)),
    24  	}
    25  }