/external/boringssl/src/include/openssl/ |
cipher.h | 114 * An |EVP_CIPHER_CTX| represents the state of an encryption or decryption in 117 /* EVP_CIPHER_CTX_init initialises an, already allocated, |EVP_CIPHER_CTX|. */ 118 OPENSSL_EXPORT void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx); 120 /* EVP_CIPHER_CTX_new allocates a fresh |EVP_CIPHER_CTX|, calls 122 OPENSSL_EXPORT EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void); 126 OPENSSL_EXPORT int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *ctx); 130 OPENSSL_EXPORT void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx); 134 OPENSSL_EXPORT int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, 135 const EVP_CIPHER_CTX *in); 147 OPENSSL_EXPORT int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx [all...] |
base.h | 280 typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
|
/external/boringssl/src/crypto/cipher/ |
e_null.c | 67 static int null_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 72 static int null_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out,
|
cipher.c | 91 void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx) { 92 OPENSSL_memset(ctx, 0, sizeof(EVP_CIPHER_CTX)); 95 EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void) { 96 EVP_CIPHER_CTX *ctx = OPENSSL_malloc(sizeof(EVP_CIPHER_CTX)); 103 int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *c) { 112 OPENSSL_memset(c, 0, sizeof(EVP_CIPHER_CTX)); 116 void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx) { 123 int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in) [all...] |
e_rc4.c | 65 static int rc4_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 73 static int rc4_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in,
|
e_des.c | 71 static int des_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 80 static int des_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 99 static int des_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 131 static int des_ede3_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 143 static int des_ede3_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, 162 static int des_ede_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 183 static int des_ede_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out,
|
e_aes.c | 284 static int aes_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 346 static int aes_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 361 static int aes_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 378 static int aes_ctr_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 392 static int aes_ofb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 459 static int aes_gcm_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 490 static void aes_gcm_cleanup(EVP_CIPHER_CTX *c) { 514 static int aes_gcm_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) { 606 EVP_CIPHER_CTX *out = ptr; 625 static int aes_gcm_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in [all...] |
e_rc2.c | 371 static int rc2_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 379 static int rc2_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 396 static int rc2_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) {
|
/external/boringssl/src/crypto/pkcs8/ |
internal.h | 97 int (*decrypt_init)(const struct pbe_suite *suite, EVP_CIPHER_CTX *ctx, 104 int PKCS5_pbe2_decrypt_init(const struct pbe_suite *suite, EVP_CIPHER_CTX *ctx, 110 int PKCS5_pbe2_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx,
|
p5_pbev2.c | 142 static int pkcs5_pbe2_cipher_init(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, 160 int PKCS5_pbe2_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx, 209 int PKCS5_pbe2_decrypt_init(const struct pbe_suite *suite, EVP_CIPHER_CTX *ctx,
|
pkcs8.c | 230 EVP_CIPHER_CTX *ctx, unsigned iterations, 254 EVP_CIPHER_CTX *ctx, const char *pass, 326 static int pkcs12_pbe_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx, int alg, 358 EVP_CIPHER_CTX ctx; 447 EVP_CIPHER_CTX ctx;
|
/external/openssh/ |
cipher-bf1.c | 61 static void bf_ssh1_init (EVP_CIPHER_CTX * ctx, const unsigned char *key, 73 static int (*orig_bf)(EVP_CIPHER_CTX *, u_char *, 77 bf_ssh1_cipher(EVP_CIPHER_CTX *ctx, u_char *out, const u_char *in,
|
cipher-3des1.c | 45 EVP_CIPHER_CTX k1, k2, k3; 49 int ssh1_3des_iv(EVP_CIPHER_CTX *, int, u_char *, int); 52 ssh1_3des_init(EVP_CIPHER_CTX *ctx, const u_char *key, const u_char *iv, 90 ssh1_3des_cbc(EVP_CIPHER_CTX *ctx, u_char *dest, const u_char *src, size_t len) 104 ssh1_3des_cleanup(EVP_CIPHER_CTX *ctx) 120 ssh1_3des_iv(EVP_CIPHER_CTX *evp, int doset, u_char *iv, int len)
|
cipher-ctr.c | 59 ssh_aes_ctr(EVP_CIPHER_CTX *ctx, u_char *dest, const u_char *src, 83 ssh_aes_ctr_init(EVP_CIPHER_CTX *ctx, const u_char *key, const u_char *iv, 101 ssh_aes_ctr_cleanup(EVP_CIPHER_CTX *ctx) 114 ssh_aes_ctr_iv(EVP_CIPHER_CTX *evp, int doset, u_char * iv, size_t len)
|
cipher-aes.c | 50 ssh_rijndael_init(EVP_CIPHER_CTX *ctx, const u_char *key, const u_char *iv, 71 ssh_rijndael_cbc(EVP_CIPHER_CTX *ctx, u_char *dest, const u_char *src, 117 ssh_rijndael_cleanup(EVP_CIPHER_CTX *ctx) 130 ssh_rijndael_iv(EVP_CIPHER_CTX *evp, int doset, u_char * iv, u_int len)
|
cipher.h | 69 EVP_CIPHER_CTX evp;
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
NativeRef.java | 81 public static class EVP_CIPHER_CTX extends NativeRef { 82 public EVP_CIPHER_CTX(long ctx) {
|
NativeCrypto.java | 263 public static native void EVP_CipherInit_ex(NativeRef.EVP_CIPHER_CTX ctx, long evpCipher, 266 public static native int EVP_CipherUpdate(NativeRef.EVP_CIPHER_CTX ctx, byte[] out, 269 public static native int EVP_CipherFinal_ex(NativeRef.EVP_CIPHER_CTX ctx, byte[] out, 276 public static native int EVP_CIPHER_CTX_block_size(NativeRef.EVP_CIPHER_CTX ctx); 278 public static native int get_EVP_CIPHER_CTX_buf_len(NativeRef.EVP_CIPHER_CTX ctx); 280 public static native boolean get_EVP_CIPHER_CTX_final_used(NativeRef.EVP_CIPHER_CTX ctx); 282 public static native void EVP_CIPHER_CTX_set_padding(NativeRef.EVP_CIPHER_CTX ctx, 285 public static native void EVP_CIPHER_CTX_set_key_length(NativeRef.EVP_CIPHER_CTX ctx, [all...] |
/external/openssh/openbsd-compat/ |
openssl-compat.h | 54 void ssh_aes_ctr_iv(EVP_CIPHER_CTX *, int, u_char *, size_t);
|
/external/boringssl/src/decrepit/xts/ |
xts.c | 178 static int aes_xts_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 209 static int aes_xts_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, 223 static int aes_xts_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) { 226 EVP_CIPHER_CTX *out = ptr;
|
/cts/tests/tests/security/jni/ |
android_security_cts_EncryptionTest.cpp | 90 EVP_CIPHER_CTX ctx;
|
/external/boringssl/src/crypto/cmac/ |
cmac.c | 62 EVP_CIPHER_CTX cipher_ctx;
|
/system/keymaster/ |
aes_operation.h | 93 EVP_CIPHER_CTX ctx_;
|
/external/wpa_supplicant_8/src/crypto/ |
crypto_openssl.c | 192 EVP_CIPHER_CTX *ctx; 276 EVP_CIPHER_CTX *ctx; 300 EVP_CIPHER_CTX *c = ctx; 311 EVP_CIPHER_CTX *c = ctx; 328 EVP_CIPHER_CTX *ctx; 352 EVP_CIPHER_CTX *c = ctx; 363 EVP_CIPHER_CTX *c = ctx; 417 EVP_CIPHER_CTX *ctx; 444 EVP_CIPHER_CTX *ctx; 509 EVP_CIPHER_CTX *enc [all...] |
/external/tcpdump/ |
print-esp.c | 134 EVP_CIPHER_CTX ctx; 578 EVP_CIPHER_CTX ctx;
|