func OpenSSLAddAllCiphers() { C.OpenSSL_add_all_ciphers() }
package evp /* #cgo pkg-config: openssl #include "openssl/evp.h" */ import "C" import "unsafe" var Init int = func() int { C.OpenSSL_add_all_ciphers() return 1 }() type Cipher struct { evp_cipher *C.EVP_CIPHER } func newCipher(self *C.EVP_CIPHER) *Cipher { if self == nil { return nil } return &Cipher{self} } func (self *Cipher) Nid() int { return int(C.EVP_CIPHER_nid(self.evp_cipher)) } func (self *Cipher) BlockSize() int { return int(C.EVP_CIPHER_block_size(self.evp_cipher)) } func (self *Cipher) KeyLength() int {