/external/boringssl/src/include/openssl/ |
cipher.h | 115 * An |EVP_CIPHER_CTX| represents the state of an encryption or decryption in 118 /* EVP_CIPHER_CTX_init initialises an, already allocated, |EVP_CIPHER_CTX|. */ 119 OPENSSL_EXPORT void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx); 121 /* EVP_CIPHER_CTX_new allocates a fresh |EVP_CIPHER_CTX|, calls 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); 148 OPENSSL_EXPORT int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx [all...] |
base.h | 296 typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
|
/external/boringssl/src/crypto/cipher_extra/ |
e_null.c | 66 static int null_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 71 static int null_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out,
|
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_rc2.c | 369 static int rc2_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 377 static int rc2_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 394 static int rc2_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) {
|
/external/boringssl/src/crypto/fipsmodule/cipher/ |
cipher.c | 70 void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx) { 71 OPENSSL_memset(ctx, 0, sizeof(EVP_CIPHER_CTX)); 74 EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void) { 75 EVP_CIPHER_CTX *ctx = OPENSSL_malloc(sizeof(EVP_CIPHER_CTX)); 82 int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *c) { 91 OPENSSL_memset(c, 0, sizeof(EVP_CIPHER_CTX)); 95 void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx) { 102 int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in) [all...] |
e_des.c | 72 static int des_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 81 static int des_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 103 static int des_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 137 static int des_ede3_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 149 static int des_ede3_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, 171 static int des_ede_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 195 static int des_ede_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out,
|
e_aes.c | 223 static int aes_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 285 static int aes_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 300 static int aes_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 317 static int aes_ctr_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 331 static int aes_ofb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 398 static int aes_gcm_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 429 static void aes_gcm_cleanup(EVP_CIPHER_CTX *c) { 453 static int aes_gcm_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) { 545 EVP_CIPHER_CTX *out = ptr; 564 static int aes_gcm_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in [all...] |
/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 | 62 static void bf_ssh1_init (EVP_CIPHER_CTX * ctx, const unsigned char *key, 74 static int (*orig_bf)(EVP_CIPHER_CTX *, u_char *, 78 bf_ssh1_cipher(EVP_CIPHER_CTX *ctx, u_char *out, const u_char *in,
|
cipher-3des1.c | 47 EVP_CIPHER_CTX k1, k2, k3; 51 int ssh1_3des_iv(EVP_CIPHER_CTX *, int, u_char *, int); 54 ssh1_3des_init(EVP_CIPHER_CTX *ctx, const u_char *key, const u_char *iv, 92 ssh1_3des_cbc(EVP_CIPHER_CTX *ctx, u_char *dest, const u_char *src, size_t len) 106 ssh1_3des_cleanup(EVP_CIPHER_CTX *ctx) 122 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)
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
NativeRef.java | 83 static final class EVP_CIPHER_CTX extends NativeRef { 84 EVP_CIPHER_CTX(long nativePointer) {
|
NativeCrypto.java | 257 static native void EVP_CipherInit_ex(NativeRef.EVP_CIPHER_CTX ctx, long evpCipher, byte[] key, 260 static native int EVP_CipherUpdate(NativeRef.EVP_CIPHER_CTX ctx, byte[] out, int outOffset, 263 static native int EVP_CipherFinal_ex(NativeRef.EVP_CIPHER_CTX ctx, byte[] out, int outOffset) 270 static native int EVP_CIPHER_CTX_block_size(NativeRef.EVP_CIPHER_CTX ctx); 272 static native int get_EVP_CIPHER_CTX_buf_len(NativeRef.EVP_CIPHER_CTX ctx); 274 static native boolean get_EVP_CIPHER_CTX_final_used(NativeRef.EVP_CIPHER_CTX ctx); 277 NativeRef.EVP_CIPHER_CTX ctx, boolean enablePadding); 279 static native void EVP_CIPHER_CTX_set_key_length(NativeRef.EVP_CIPHER_CTX ctx, int keyBitSize); [all...] |
/external/openssh/openbsd-compat/ |
openssl-compat.h | 52 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/tcpdump/ |
print-esp.c | 124 * Allocate an EVP_CIPHER_CTX. 128 static EVP_CIPHER_CTX * 131 EVP_CIPHER_CTX *ctx; 141 EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx) 160 EVP_CIPHER_CTX *ctx; 608 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/boringssl/src/crypto/pem/ |
pem_lib.c | 258 EVP_CIPHER_CTX ctx; 358 EVP_CIPHER_CTX ctx;
|