Home
last modified time | relevance | path

Searched refs:EVP_CIPHER (Results 1 – 25 of 50) sorted by relevance

12

/external/boringssl/src/include/openssl/
Dcipher.h75 OPENSSL_EXPORT const EVP_CIPHER *EVP_rc4(void);
77 OPENSSL_EXPORT const EVP_CIPHER *EVP_des_cbc(void);
78 OPENSSL_EXPORT const EVP_CIPHER *EVP_des_ecb(void);
79 OPENSSL_EXPORT const EVP_CIPHER *EVP_des_ede(void);
80 OPENSSL_EXPORT const EVP_CIPHER *EVP_des_ede3(void);
81 OPENSSL_EXPORT const EVP_CIPHER *EVP_des_ede_cbc(void);
82 OPENSSL_EXPORT const EVP_CIPHER *EVP_des_ede3_cbc(void);
84 OPENSSL_EXPORT const EVP_CIPHER *EVP_aes_128_ecb(void);
85 OPENSSL_EXPORT const EVP_CIPHER *EVP_aes_128_cbc(void);
86 OPENSSL_EXPORT const EVP_CIPHER *EVP_aes_128_ctr(void);
[all …]
Dpem.h144 OPENSSL_EXPORT int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \
152 OPENSSL_EXPORT int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \
180 OPENSSL_EXPORT int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \
187 OPENSSL_EXPORT int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \
245 OPENSSL_EXPORT int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \
260 OPENSSL_EXPORT int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \
302 …N1_write_bio(i2d_of_void *i2d,const char *name,BIO *bp, void *x, const EVP_CIPHER *enc,unsigned ch…
305 OPENSSL_EXPORT int PEM_X509_INFO_write_bio(BIO *bp,X509_INFO *xi, EVP_CIPHER *enc, unsigned char *k…
310 …M_ASN1_write(i2d_of_void *i2d,const char *name,FILE *fp, void *x,const EVP_CIPHER *enc,unsigned ch…
363 OPENSSL_EXPORT int PEM_write_bio_PKCS8PrivateKey(BIO *, EVP_PKEY *, const EVP_CIPHER *, char *, int…
[all …]
Dpkcs8.h85 OPENSSL_EXPORT X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher,
95 CBB *out, int pbe_nid, const EVP_CIPHER *cipher, const char *pass,
Dcmac.h57 const EVP_CIPHER *cipher, ENGINE *engine);
/external/boringssl/src/crypto/fipsmodule/cipher/
De_aes.c622 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_cbc_generic) { in DEFINE_LOCAL_DATA() argument
623 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
635 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_ctr_generic) { in DEFINE_LOCAL_DATA() argument
636 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
648 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_ecb_generic) { in DEFINE_LOCAL_DATA() argument
649 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
660 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_ofb_generic) { in DEFINE_LOCAL_DATA() argument
661 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
673 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_gcm_generic) { in DEFINE_LOCAL_DATA() argument
674 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
[all …]
De_des.c91 DEFINE_METHOD_FUNCTION(EVP_CIPHER, EVP_des_cbc) { in DEFINE_METHOD_FUNCTION() argument
92 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_METHOD_FUNCTION()
118 DEFINE_METHOD_FUNCTION(EVP_CIPHER, EVP_des_ecb) { in DEFINE_METHOD_FUNCTION() argument
119 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_METHOD_FUNCTION()
159 DEFINE_METHOD_FUNCTION(EVP_CIPHER, EVP_des_ede3_cbc) { in DEFINE_METHOD_FUNCTION() argument
160 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_METHOD_FUNCTION()
183 DEFINE_METHOD_FUNCTION(EVP_CIPHER, EVP_des_ede_cbc) { in DEFINE_METHOD_FUNCTION() argument
184 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_METHOD_FUNCTION()
211 DEFINE_METHOD_FUNCTION(EVP_CIPHER, EVP_des_ede) { in DEFINE_METHOD_FUNCTION() argument
212 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_METHOD_FUNCTION()
[all …]
Dcipher.c131 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex()
228 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_EncryptInit_ex()
233 int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_DecryptInit_ex()
489 const EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx) { in EVP_CIPHER_CTX_cipher()
569 int EVP_CIPHER_nid(const EVP_CIPHER *cipher) { return cipher->nid; } in EVP_CIPHER_nid()
571 unsigned EVP_CIPHER_block_size(const EVP_CIPHER *cipher) { in EVP_CIPHER_block_size()
575 unsigned EVP_CIPHER_key_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_key_length()
579 unsigned EVP_CIPHER_iv_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_iv_length()
583 uint32_t EVP_CIPHER_flags(const EVP_CIPHER *cipher) { in EVP_CIPHER_flags()
587 uint32_t EVP_CIPHER_mode(const EVP_CIPHER *cipher) { in EVP_CIPHER_mode()
[all …]
/external/boringssl/src/crypto/pem/
Dpem_pk8.c69 int nid, const EVP_CIPHER *enc,
72 int nid, const EVP_CIPHER *enc,
89 int PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_bio_PKCS8PrivateKey()
96 int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_bio()
111 const EVP_CIPHER *enc, char *kstr, int klen, in do_pk8pkey()
195 int i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_fp()
215 int PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_PKCS8PrivateKey()
223 const EVP_CIPHER *enc, char *kstr, int klen, in do_pk8pkey_fp()
Dpem_pkey.c147 int PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_bio_PrivateKey()
171 int PEM_write_PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_PrivateKey()
/external/openssh/
Dcipher-bf1.c40 const EVP_CIPHER * evp_ssh1_bf(void);
89 const EVP_CIPHER *
92 static EVP_CIPHER ssh1_bf; in evp_ssh1_bf()
94 memcpy(&ssh1_bf, EVP_bf_cbc(), sizeof(EVP_CIPHER)); in evp_ssh1_bf()
Dcipher-ctr.c126 const EVP_CIPHER *
129 static EVP_CIPHER aes_ctr; in evp_aes_128_ctr()
131 memset(&aes_ctr, 0, sizeof(EVP_CIPHER)); in evp_aes_128_ctr()
Dcipher-3des1.c50 const EVP_CIPHER * evp_ssh1_3des(void);
142 const EVP_CIPHER *
145 static EVP_CIPHER ssh1_3des; in evp_ssh1_3des()
Dcipher-aes.c142 const EVP_CIPHER *
145 static EVP_CIPHER rijndal_cbc; in evp_rijndael()
147 memset(&rijndal_cbc, 0, sizeof(EVP_CIPHER)); in evp_rijndael()
/external/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c88 const EVP_CIPHER *(*cipher_func)(void);
117 static const EVP_CIPHER *cbs_to_cipher(const CBS *cbs) { in cbs_to_cipher()
142 static int pkcs5_pbe2_cipher_init(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in pkcs5_pbe2_cipher_init()
161 const EVP_CIPHER *cipher, unsigned iterations, in PKCS5_pbe2_encrypt_init()
230 const EVP_CIPHER *cipher = cbs_to_cipher(&enc_obj); in PKCS5_pbe2_decrypt_init()
Dinternal.h90 const EVP_CIPHER *(*cipher_func)(void);
111 const EVP_CIPHER *cipher, unsigned iterations,
/external/boringssl/src/crypto/cipher_extra/
De_null.c79 static const EVP_CIPHER n_cipher = {
85 const EVP_CIPHER *EVP_enc_null(void) { return &n_cipher; } in EVP_enc_null()
De_rc4.c81 static const EVP_CIPHER rc4 = {
87 const EVP_CIPHER *EVP_rc4(void) { return &rc4; } in EVP_rc4()
Dcipher_extra.c70 const EVP_CIPHER *EVP_get_cipherbynid(int nid) { in EVP_get_cipherbynid()
91 const EVP_CIPHER *EVP_get_cipherbyname(const char *name) { in EVP_get_cipherbyname()
Dcipher_test.cc69 static const EVP_CIPHER *GetCipher(const std::string &name) { in GetCipher()
114 static void TestOperation(FileTest *t, const EVP_CIPHER *cipher, bool encrypt, in TestOperation()
196 const EVP_CIPHER *cipher = GetCipher(cipher_str); in TestCipher()
De_rc2.c412 static const EVP_CIPHER rc2_40_cbc = {
426 const EVP_CIPHER *EVP_rc2_40_cbc(void) { in EVP_rc2_40_cbc()
430 static const EVP_CIPHER rc2_cbc = {
444 const EVP_CIPHER *EVP_rc2_cbc(void) { in EVP_rc2_cbc()
/external/boringssl/src/fipstools/
Dcavp_aes_test.cc31 const EVP_CIPHER *cipher;
43 const EVP_CIPHER *cipher, std::vector<uint8_t> *out, in MonteCarlo()
150 const EVP_CIPHER *cipher = ctx->cipher; in TestCipher()
208 const EVP_CIPHER *cipher = GetCipher(argv[2]); in cavp_aes_test_main()
Dcavp_test_util.h30 const EVP_CIPHER *GetCipher(const std::string &name);
32 bool CipherOperation(const EVP_CIPHER *cipher, std::vector<uint8_t> *out,
Dcavp_tdes_test.cc31 const EVP_CIPHER *cipher;
236 const EVP_CIPHER *cipher = ctx->cipher; in TestMCT()
326 const EVP_CIPHER *cipher = GetCipher(argv[2]); in cavp_tdes_test_main()
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.h82 const EVP_CIPHER *e, int enc));
83 extern int evp_weakkey __P((vchar_t *key, const EVP_CIPHER *e));
84 extern int evp_keylen __P((int len, const EVP_CIPHER *e));
/external/boringssl/src/crypto/cmac/
Dcmac.c86 const EVP_CIPHER *cipher; in AES_CMAC()
148 const EVP_CIPHER *cipher, ENGINE *engine) { in CMAC_Init()

12