github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_crypto_des.go (about)

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