Home
last modified time | relevance | path

Searched refs:EVP_CIPHER_CTX (Results 1 – 25 of 84) sorted by relevance

1234

/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dcipher.h119 OPENSSL_EXPORT void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx);
123 OPENSSL_EXPORT EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void);
127 OPENSSL_EXPORT int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *ctx);
131 OPENSSL_EXPORT void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx);
135 OPENSSL_EXPORT int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out,
136 const EVP_CIPHER_CTX *in);
140 OPENSSL_EXPORT int EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *ctx);
152 OPENSSL_EXPORT int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx,
158 OPENSSL_EXPORT int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx,
163 OPENSSL_EXPORT int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx,
[all …]
/external/boringssl/src/include/openssl/
Dcipher.h119 OPENSSL_EXPORT void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx);
123 OPENSSL_EXPORT EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void);
127 OPENSSL_EXPORT int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *ctx);
131 OPENSSL_EXPORT void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx);
135 OPENSSL_EXPORT int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out,
136 const EVP_CIPHER_CTX *in);
140 OPENSSL_EXPORT int EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *ctx);
152 OPENSSL_EXPORT int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx,
158 OPENSSL_EXPORT int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx,
163 OPENSSL_EXPORT int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx,
[all …]
/external/boringssl/src/crypto/fipsmodule/cipher/
Dcipher.c70 void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx) { in EVP_CIPHER_CTX_init()
71 OPENSSL_memset(ctx, 0, sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_init()
74 EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void) { in EVP_CIPHER_CTX_new()
75 EVP_CIPHER_CTX *ctx = OPENSSL_malloc(sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_new()
82 int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *c) { in EVP_CIPHER_CTX_cleanup()
88 OPENSSL_memset(c, 0, sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_cleanup()
92 void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx) { in EVP_CIPHER_CTX_free()
99 int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in) { in EVP_CIPHER_CTX_copy()
106 OPENSSL_memcpy(out, in, sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_copy()
119 if (!in->cipher->ctrl((EVP_CIPHER_CTX *)in, EVP_CTRL_COPY, 0, out)) { in EVP_CIPHER_CTX_copy()
[all …]
De_des.c72 static int des_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in des_init_key()
81 static int des_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in des_cbc_cipher()
103 static int des_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in des_ecb_cipher()
137 static int des_ede3_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in des_ede3_init_key()
149 static int des_ede3_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in des_ede3_cbc_cipher()
171 static int des_ede_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in des_ede_init_key()
195 static int des_ede_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in des_ede_ecb_cipher()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/cipher/
Dcipher.c70 void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx) { in EVP_CIPHER_CTX_init()
71 OPENSSL_memset(ctx, 0, sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_init()
74 EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void) { in EVP_CIPHER_CTX_new()
75 EVP_CIPHER_CTX *ctx = OPENSSL_malloc(sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_new()
82 int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *c) { in EVP_CIPHER_CTX_cleanup()
88 OPENSSL_memset(c, 0, sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_cleanup()
92 void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx) { in EVP_CIPHER_CTX_free()
99 int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in) { in EVP_CIPHER_CTX_copy()
106 OPENSSL_memcpy(out, in, sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_copy()
119 if (!in->cipher->ctrl((EVP_CIPHER_CTX *)in, EVP_CTRL_COPY, 0, out)) { in EVP_CIPHER_CTX_copy()
[all …]
De_des.c72 static int des_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in des_init_key()
81 static int des_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in des_cbc_cipher()
103 static int des_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in des_ecb_cipher()
137 static int des_ede3_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in des_ede3_init_key()
149 static int des_ede3_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in des_ede3_cbc_cipher()
171 static int des_ede_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in des_ede_init_key()
195 static int des_ede_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in des_ede_ecb_cipher()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs8/
Dinternal.h88 int pkcs12_pbe_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx, int alg,
104 int (*decrypt_init)(const struct pbe_suite *suite, EVP_CIPHER_CTX *ctx,
111 int PKCS5_pbe2_decrypt_init(const struct pbe_suite *suite, EVP_CIPHER_CTX *ctx,
117 int PKCS5_pbe2_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx,
/external/boringssl/src/crypto/pkcs8/
Dinternal.h95 int pkcs12_pbe_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx, int alg,
111 int (*decrypt_init)(const struct pbe_suite *suite, EVP_CIPHER_CTX *ctx,
118 int PKCS5_pbe2_decrypt_init(const struct pbe_suite *suite, EVP_CIPHER_CTX *ctx,
124 int PKCS5_pbe2_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx,
Dpkcs8.c234 EVP_CIPHER_CTX *ctx, unsigned iterations, in pkcs12_pbe_cipher_init()
258 EVP_CIPHER_CTX *ctx, const char *pass, in pkcs12_pbe_decrypt_init()
333 int pkcs12_pbe_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx, int alg, in pkcs12_pbe_encrypt_init()
365 EVP_CIPHER_CTX ctx; in pkcs8_pbe_decrypt()
453 EVP_CIPHER_CTX ctx; in PKCS8_marshal_encrypted_private_key()
/external/openssh/
Dcipher-ctr.c59 ssh_aes_ctr(EVP_CIPHER_CTX *ctx, u_char *dest, const u_char *src, in ssh_aes_ctr()
83 ssh_aes_ctr_init(EVP_CIPHER_CTX *ctx, const u_char *key, const u_char *iv, in ssh_aes_ctr_init()
101 ssh_aes_ctr_cleanup(EVP_CIPHER_CTX *ctx) in ssh_aes_ctr_cleanup()
114 ssh_aes_ctr_iv(EVP_CIPHER_CTX *evp, int doset, u_char * iv, size_t len) in ssh_aes_ctr_iv()
Dcipher-aes.c50 ssh_rijndael_init(EVP_CIPHER_CTX *ctx, const u_char *key, const u_char *iv, in ssh_rijndael_init()
71 ssh_rijndael_cbc(EVP_CIPHER_CTX *ctx, u_char *dest, const u_char *src, in ssh_rijndael_cbc()
117 ssh_rijndael_cleanup(EVP_CIPHER_CTX *ctx) in ssh_rijndael_cleanup()
130 ssh_rijndael_iv(EVP_CIPHER_CTX *evp, int doset, u_char * iv, u_int len) in ssh_rijndael_iv()
/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/
De_null.c66 static int null_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in null_init_key()
71 static int null_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in null_cipher()
De_rc4.c65 static int rc4_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in rc4_init_key()
73 static int rc4_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in rc4_cipher()
/external/boringssl/src/crypto/cipher_extra/
De_null.c66 static int null_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in null_init_key()
71 static int null_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in null_cipher()
De_rc4.c65 static int rc4_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in rc4_init_key()
73 static int rc4_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in rc4_cipher()
/external/rust/crates/quiche/deps/boringssl/src/decrepit/cfb/
Dcfb.c28 static int aes_cfb_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in aes_cfb_init_key()
38 static int aes_cfb128_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in aes_cfb128_cipher()
/external/rust/crates/quiche/deps/boringssl/src/decrepit/xts/
Dxts.c158 static int aes_xts_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in aes_xts_init_key()
189 static int aes_xts_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in aes_xts_cipher()
203 static int aes_xts_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) { in aes_xts_ctrl()
206 EVP_CIPHER_CTX *out = ptr; in aes_xts_ctrl()
/external/boringssl/src/decrepit/xts/
Dxts.c158 static int aes_xts_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in aes_xts_init_key()
189 static int aes_xts_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in aes_xts_cipher()
203 static int aes_xts_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) { in aes_xts_ctrl()
206 EVP_CIPHER_CTX *out = ptr; in aes_xts_ctrl()
/external/boringssl/src/decrepit/cfb/
Dcfb.c28 static int aes_cfb_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in aes_cfb_init_key()
38 static int aes_cfb128_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in aes_cfb128_cipher()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLEvpCipher.java28 import com.android.org.conscrypt.NativeRef.EVP_CIPHER_CTX;
38 private final EVP_CIPHER_CTX cipherCtx = new EVP_CIPHER_CTX(
DNativeRef.java96 static final class EVP_CIPHER_CTX extends NativeRef { class in NativeRef
97 EVP_CIPHER_CTX(long nativePointer) { in EVP_CIPHER_CTX() method in NativeRef.EVP_CIPHER_CTX
/external/openssh/openbsd-compat/
Dopenssl-compat.h76 void ssh_aes_ctr_iv(EVP_CIPHER_CTX *, int, u_char *, size_t);
116 int EVP_CIPHER_CTX_get_iv(const EVP_CIPHER_CTX *ctx,
121 int EVP_CIPHER_CTX_set_iv(EVP_CIPHER_CTX *ctx,
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLEvpCipher.java27 import org.conscrypt.NativeRef.EVP_CIPHER_CTX;
34 private final EVP_CIPHER_CTX cipherCtx = new EVP_CIPHER_CTX(
DNativeRef.java95 static final class EVP_CIPHER_CTX extends NativeRef { class in NativeRef
96 EVP_CIPHER_CTX(long nativePointer) { in EVP_CIPHER_CTX() method in NativeRef.EVP_CIPHER_CTX
/external/tcpdump/
Dprint-esp.c128 static EVP_CIPHER_CTX *
131 EVP_CIPHER_CTX *ctx; in EVP_CIPHER_CTX_new()
141 EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx) in EVP_CIPHER_CTX_free()
161 set_cipher_parameters(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in set_cipher_parameters()
173 set_cipher_parameters(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in set_cipher_parameters()
193 EVP_CIPHER_CTX *ctx; in esp_print_decrypt_buffer_by_ikev2()
662 EVP_CIPHER_CTX *ctx; in esp_print()

1234