Home
last modified time | relevance | path

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

12345

/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.h159 FILE *fp, type *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, \
170 FILE *fp, type *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, \
212 BIO *bp, type *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, \
223 BIO *bp, type *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, \
283 FILE *fp, type *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, \
300 BIO *bp, type *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, \
366 BIO *bp, void *x, const EVP_CIPHER *enc,
373 EVP_CIPHER *enc, unsigned char *kstr,
384 void *x, const EVP_CIPHER *enc,
450 const EVP_CIPHER *, char *,
[all …]
/external/rust/crates/quiche/deps/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 …]
/external/boringssl/src/decrepit/cfb/
Dcfb.c53 static const EVP_CIPHER aes_128_cfb128 = {
60 static const EVP_CIPHER aes_192_cfb128 = {
67 static const EVP_CIPHER aes_256_cfb128 = {
74 const EVP_CIPHER *EVP_aes_128_cfb128(void) { return &aes_128_cfb128; } in EVP_aes_128_cfb128()
75 const EVP_CIPHER *EVP_aes_128_cfb(void) { return &aes_128_cfb128; } in EVP_aes_128_cfb()
76 const EVP_CIPHER *EVP_aes_192_cfb128(void) { return &aes_192_cfb128; } in EVP_aes_192_cfb128()
77 const EVP_CIPHER *EVP_aes_192_cfb(void) { return &aes_192_cfb128; } in EVP_aes_192_cfb()
78 const EVP_CIPHER *EVP_aes_256_cfb128(void) { return &aes_256_cfb128; } in EVP_aes_256_cfb128()
79 const EVP_CIPHER *EVP_aes_256_cfb(void) { return &aes_256_cfb128; } in EVP_aes_256_cfb()
/external/rust/crates/quiche/deps/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.c576 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_cbc_generic) { in DEFINE_LOCAL_DATA() argument
577 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
589 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_ctr_generic) { in DEFINE_LOCAL_DATA() argument
590 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
602 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_ecb_generic) { in DEFINE_LOCAL_DATA() argument
603 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
614 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_ofb_generic) { in DEFINE_LOCAL_DATA() argument
615 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
627 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_gcm_generic) { in DEFINE_LOCAL_DATA() argument
628 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
[all …]
Dcipher.c134 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex()
231 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_EncryptInit_ex()
236 int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_DecryptInit_ex()
492 const EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx) { in EVP_CIPHER_CTX_cipher()
576 int EVP_CIPHER_nid(const EVP_CIPHER *cipher) { return cipher->nid; } in EVP_CIPHER_nid()
578 unsigned EVP_CIPHER_block_size(const EVP_CIPHER *cipher) { in EVP_CIPHER_block_size()
582 unsigned EVP_CIPHER_key_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_key_length()
586 unsigned EVP_CIPHER_iv_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_iv_length()
590 uint32_t EVP_CIPHER_flags(const EVP_CIPHER *cipher) { in EVP_CIPHER_flags()
594 uint32_t EVP_CIPHER_mode(const EVP_CIPHER *cipher) { in EVP_CIPHER_mode()
[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.c578 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_cbc_generic) { in DEFINE_LOCAL_DATA() argument
579 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
591 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_ctr_generic) { in DEFINE_LOCAL_DATA() argument
592 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
604 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_ecb_generic) { in DEFINE_LOCAL_DATA() argument
605 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
616 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_ofb_generic) { in DEFINE_LOCAL_DATA() argument
617 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
629 DEFINE_LOCAL_DATA(EVP_CIPHER, aes_128_gcm_generic) { in DEFINE_LOCAL_DATA() argument
630 memset(out, 0, sizeof(EVP_CIPHER)); in DEFINE_LOCAL_DATA()
[all …]
Dcipher.c134 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex()
231 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_EncryptInit_ex()
236 int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_DecryptInit_ex()
492 const EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx) { in EVP_CIPHER_CTX_cipher()
576 int EVP_CIPHER_nid(const EVP_CIPHER *cipher) { return cipher->nid; } in EVP_CIPHER_nid()
578 unsigned EVP_CIPHER_block_size(const EVP_CIPHER *cipher) { in EVP_CIPHER_block_size()
582 unsigned EVP_CIPHER_key_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_key_length()
586 unsigned EVP_CIPHER_iv_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_iv_length()
590 uint32_t EVP_CIPHER_flags(const EVP_CIPHER *cipher) { in EVP_CIPHER_flags()
594 uint32_t EVP_CIPHER_mode(const EVP_CIPHER *cipher) { in EVP_CIPHER_mode()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/decrepit/cfb/
Dcfb.c53 static const EVP_CIPHER aes_128_cfb128 = {
60 static const EVP_CIPHER aes_256_cfb128 = {
67 const EVP_CIPHER *EVP_aes_128_cfb128(void) { return &aes_128_cfb128; } in EVP_aes_128_cfb128()
68 const EVP_CIPHER *EVP_aes_256_cfb128(void) { return &aes_256_cfb128; } in EVP_aes_256_cfb128()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pem/
Dpem_pk8.c68 int nid, const EVP_CIPHER *enc,
71 int nid, const EVP_CIPHER *enc,
88 int PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_bio_PKCS8PrivateKey()
95 int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_bio()
110 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()
/external/boringssl/src/crypto/pem/
Dpem_pk8.c68 int nid, const EVP_CIPHER *enc,
71 int nid, const EVP_CIPHER *enc,
88 int PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_bio_PKCS8PrivateKey()
95 int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_bio()
110 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()
/external/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c92 const EVP_CIPHER *(*cipher_func)(void);
121 static const EVP_CIPHER *cbs_to_cipher(const CBS *cbs) { in cbs_to_cipher()
146 static int pkcs5_pbe2_cipher_init(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in pkcs5_pbe2_cipher_init()
165 const EVP_CIPHER *cipher, unsigned iterations, in PKCS5_pbe2_encrypt_init()
234 const EVP_CIPHER *cipher = cbs_to_cipher(&enc_obj); in PKCS5_pbe2_decrypt_init()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c92 const EVP_CIPHER *(*cipher_func)(void);
121 static const EVP_CIPHER *cbs_to_cipher(const CBS *cbs) { in cbs_to_cipher()
146 static int pkcs5_pbe2_cipher_init(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in pkcs5_pbe2_cipher_init()
165 const EVP_CIPHER *cipher, unsigned iterations, in PKCS5_pbe2_encrypt_init()
234 const EVP_CIPHER *cipher = cbs_to_cipher(&enc_obj); in PKCS5_pbe2_decrypt_init()
/external/rust/crates/quiche/deps/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()
/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()
/external/openssh/
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-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/util/fipstools/cavp/
Dcavp_aes_test.cc32 const EVP_CIPHER *cipher;
44 const EVP_CIPHER *cipher, std::vector<uint8_t> *out, in MonteCarlo()
148 const EVP_CIPHER *cipher = ctx->cipher; in TestCipher()
206 const EVP_CIPHER *cipher = GetCipher(argv[2]); in cavp_aes_test_main()
/external/rust/crates/quiche/deps/boringssl/src/util/fipstools/cavp/
Dcavp_aes_test.cc32 const EVP_CIPHER *cipher;
44 const EVP_CIPHER *cipher, std::vector<uint8_t> *out, in MonteCarlo()
148 const EVP_CIPHER *cipher = ctx->cipher; in TestCipher()
206 const EVP_CIPHER *cipher = GetCipher(argv[2]); in cavp_aes_test_main()

12345