* feat: support go1.11 and go 1.12. * chore: generate. * fix: build constraint. * exclude importer.For * generate go 1.11
34 lines
1.2 KiB
Go
34 lines
1.2 KiB
Go
// +build go1.11,!go1.12
|
|
|
|
package stdlib
|
|
|
|
// Code generated by 'goexports crypto/cipher'. DO NOT EDIT.
|
|
|
|
import (
|
|
"crypto/cipher"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Value["crypto/cipher"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"NewCBCDecrypter": reflect.ValueOf(cipher.NewCBCDecrypter),
|
|
"NewCBCEncrypter": reflect.ValueOf(cipher.NewCBCEncrypter),
|
|
"NewCFBDecrypter": reflect.ValueOf(cipher.NewCFBDecrypter),
|
|
"NewCFBEncrypter": reflect.ValueOf(cipher.NewCFBEncrypter),
|
|
"NewCTR": reflect.ValueOf(cipher.NewCTR),
|
|
"NewGCM": reflect.ValueOf(cipher.NewGCM),
|
|
"NewGCMWithNonceSize": reflect.ValueOf(cipher.NewGCMWithNonceSize),
|
|
"NewGCMWithTagSize": reflect.ValueOf(cipher.NewGCMWithTagSize),
|
|
"NewOFB": reflect.ValueOf(cipher.NewOFB),
|
|
|
|
// type definitions
|
|
"AEAD": reflect.ValueOf((*cipher.AEAD)(nil)),
|
|
"Block": reflect.ValueOf((*cipher.Block)(nil)),
|
|
"BlockMode": reflect.ValueOf((*cipher.BlockMode)(nil)),
|
|
"Stream": reflect.ValueOf((*cipher.Stream)(nil)),
|
|
"StreamReader": reflect.ValueOf((*cipher.StreamReader)(nil)),
|
|
"StreamWriter": reflect.ValueOf((*cipher.StreamWriter)(nil)),
|
|
}
|
|
}
|