Home
last modified time | relevance | path

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

123

/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.h160 FILE *fp, type *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, \
171 FILE *fp, type *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, \
213 BIO *bp, type *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, \
224 BIO *bp, type *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, \
282 OPENSSL_EXPORT int PEM_write_##name(FILE *fp, type *x, const EVP_CIPHER *enc, \
297 OPENSSL_EXPORT int PEM_write_bio_##name(BIO *bp, type *x, const EVP_CIPHER *enc, \
339 …N1_write_bio(i2d_of_void *i2d,const char *name,BIO *bp, void *x, const EVP_CIPHER *enc,unsigned ch…
342 OPENSSL_EXPORT int PEM_X509_INFO_write_bio(BIO *bp,X509_INFO *xi, EVP_CIPHER *enc, unsigned char *k…
347 …M_ASN1_write(i2d_of_void *i2d,const char *name,FILE *fp, void *x,const EVP_CIPHER *enc,unsigned ch…
401 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,
/external/conscrypt/srcgen/
Dintra-core-api.txt24 method:com.android.org.conscrypt.OpenSSLCipher$EVP_CIPHER$AES$CBC$NoPadding#NoPadding()
25 method:com.android.org.conscrypt.OpenSSLCipher$EVP_CIPHER$AES$CBC$PKCS5Padding#PKCS5Padding()
26 method:com.android.org.conscrypt.OpenSSLCipher$EVP_CIPHER$AES$CTR#CTR()
27 method:com.android.org.conscrypt.OpenSSLCipher$EVP_CIPHER$AES$ECB$NoPadding#NoPadding()
28 method:com.android.org.conscrypt.OpenSSLCipher$EVP_CIPHER$AES$ECB$PKCS5Padding#PKCS5Padding()
29 method:com.android.org.conscrypt.OpenSSLCipher$EVP_CIPHER$AES_128$CBC$NoPadding#NoPadding()
30 method:com.android.org.conscrypt.OpenSSLCipher$EVP_CIPHER$AES_128$CBC$PKCS5Padding#PKCS5Padding()
31 method:com.android.org.conscrypt.OpenSSLCipher$EVP_CIPHER$AES_128$ECB$NoPadding#NoPadding()
32 method:com.android.org.conscrypt.OpenSSLCipher$EVP_CIPHER$AES_128$ECB$PKCS5Padding#PKCS5Padding()
33 method:com.android.org.conscrypt.OpenSSLCipher$EVP_CIPHER$AES_256$CBC$NoPadding#NoPadding()
[all …]
/external/boringssl/src/crypto/fipsmodule/cipher/
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 …]
De_aes.c534 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_cbc_generic) { in DEFINE_LOCAL_DATA() argument
535 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
547 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_ctr_generic) { in DEFINE_LOCAL_DATA() argument
548 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
560 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_ecb_generic) { in DEFINE_LOCAL_DATA() argument
561 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
572 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_ofb_generic) { in DEFINE_LOCAL_DATA() argument
573 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
585 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_gcm_generic) { in DEFINE_LOCAL_DATA() argument
586 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
[all …]
Dcipher.c133 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex()
230 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_EncryptInit_ex()
235 int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_DecryptInit_ex()
491 const EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx) { in EVP_CIPHER_CTX_cipher()
575 int EVP_CIPHER_nid(const EVP_CIPHER *cipher) { return cipher->nid; } in EVP_CIPHER_nid()
577 unsigned EVP_CIPHER_block_size(const EVP_CIPHER *cipher) { in EVP_CIPHER_block_size()
581 unsigned EVP_CIPHER_key_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_key_length()
585 unsigned EVP_CIPHER_iv_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_iv_length()
589 uint32_t EVP_CIPHER_flags(const EVP_CIPHER *cipher) { in EVP_CIPHER_flags()
593 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()
196 int i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_fp()
216 int PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_PKCS8PrivateKey()
224 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()
168 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.h97 const EVP_CIPHER *(*cipher_func)(void);
118 const EVP_CIPHER *cipher, unsigned iterations,
/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,
/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.cc73 static const EVP_CIPHER *GetCipher(const std::string &name) { in GetCipher()
152 static void TestOperation(FileTest *t, const EVP_CIPHER *cipher, bool encrypt, in TestOperation()
216 const EVP_CIPHER *cipher = GetCipher(cipher_str); in TestCipher()
317 const EVP_CIPHER *cipher; in TEST()
De_rc2.c428 static const EVP_CIPHER rc2_40_cbc = {
442 const EVP_CIPHER *EVP_rc2_40_cbc(void) { in EVP_rc2_40_cbc()
446 static const EVP_CIPHER rc2_cbc = {
460 const EVP_CIPHER *EVP_rc2_cbc(void) { in EVP_rc2_cbc()
/external/boringssl/src/decrepit/cfb/
Dcfb.c53 static const EVP_CIPHER aes_128_cfb128 = {
60 const EVP_CIPHER *EVP_aes_128_cfb128(void) { return &aes_128_cfb128; } in EVP_aes_128_cfb128()
/external/boringssl/src/decrepit/blowfish/
Dblowfish.c595 static const EVP_CIPHER bf_ecb = {
604 static const EVP_CIPHER bf_cbc = {
613 static const EVP_CIPHER bf_cfb = {
622 const EVP_CIPHER *EVP_bf_ecb(void) { return &bf_ecb; } in EVP_bf_ecb()
624 const EVP_CIPHER *EVP_bf_cbc(void) { return &bf_cbc; } in EVP_bf_cbc()
626 const EVP_CIPHER *EVP_bf_cfb(void) { return &bf_cfb; } in EVP_bf_cfb()
/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));

123