/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 | 214 typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
|
/external/boringssl/src/crypto/cipher/ |
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,
|
cipher.c | 90 void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx) { 91 memset(ctx, 0, sizeof(EVP_CIPHER_CTX)); 94 EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void) { 95 EVP_CIPHER_CTX *ctx = OPENSSL_malloc(sizeof(EVP_CIPHER_CTX)); 102 int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *c) { 111 memset(c, 0, sizeof(EVP_CIPHER_CTX)); 115 void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx) { 122 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, 132 static int des_ede3_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 144 static int des_ede3_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, 163 static int des_ede_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 184 static int des_ede_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out,
|
e_aes.c | 290 static int aes_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 353 static int aes_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 368 static int aes_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 385 static int aes_ctr_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 401 static int aes_ofb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 469 static int aes_gcm_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 500 static void aes_gcm_cleanup(EVP_CIPHER_CTX *c) { 524 static int aes_gcm_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) { 616 EVP_CIPHER_CTX *out = ptr; 635 static int aes_gcm_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in [all...] |
e_rc2.c | 366 static int rc2_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, 374 static int rc2_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, 391 static int rc2_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) {
|
/external/boringssl/src/crypto/pkcs8/ |
internal.h | 74 int PKCS5_v2_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const uint8_t *pass_raw,
|
p5_pbev2.c | 103 static int param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type) 122 EVP_CIPHER_CTX ctx; 306 static int PKCS5_v2_PBKDF2_keyivgen(EVP_CIPHER_CTX *ctx, 391 int PKCS5_v2_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const uint8_t *pass_raw,
|
pkcs8.c | 218 static int pkcs12_pbe_keyivgen(EVP_CIPHER_CTX *ctx, const uint8_t *pass_raw, 268 typedef int (*keygen_func)(EVP_CIPHER_CTX *ctx, const uint8_t *pass_raw, 357 EVP_CIPHER_CTX *ctx, int is_encrypt) { 410 EVP_CIPHER_CTX ctx; [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
NativeRef.java | 93 public static class EVP_CIPHER_CTX extends NativeRef { 94 public EVP_CIPHER_CTX(long ctx) {
|
NativeCrypto.java | 282 public static native void EVP_CipherInit_ex(NativeRef.EVP_CIPHER_CTX ctx, long evpCipher, 285 public static native int EVP_CipherUpdate(NativeRef.EVP_CIPHER_CTX ctx, byte[] out, 288 public static native int EVP_CipherFinal_ex(NativeRef.EVP_CIPHER_CTX ctx, byte[] out, 295 public static native int EVP_CIPHER_CTX_block_size(NativeRef.EVP_CIPHER_CTX ctx); 297 public static native int get_EVP_CIPHER_CTX_buf_len(NativeRef.EVP_CIPHER_CTX ctx); 299 public static native boolean get_EVP_CIPHER_CTX_final_used(NativeRef.EVP_CIPHER_CTX ctx); 301 public static native void EVP_CIPHER_CTX_set_padding(NativeRef.EVP_CIPHER_CTX ctx, 304 public static native void EVP_CIPHER_CTX_set_key_length(NativeRef.EVP_CIPHER_CTX ctx, [all...] |
OpenSSLCipher.java | 51 import org.conscrypt.NativeRef.EVP_CIPHER_CTX; 455 private final EVP_CIPHER_CTX cipherCtx = new EVP_CIPHER_CTX( [all...] |
/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;
|
/external/wpa_supplicant_8/src/crypto/ |
crypto_openssl.c | 180 EVP_CIPHER_CTX *ctx; 256 EVP_CIPHER_CTX *ctx; 280 EVP_CIPHER_CTX *c = ctx; 291 EVP_CIPHER_CTX *c = ctx; 308 EVP_CIPHER_CTX *ctx; 332 EVP_CIPHER_CTX *c = ctx; 343 EVP_CIPHER_CTX *c = ctx; 393 EVP_CIPHER_CTX *ctx; 420 EVP_CIPHER_CTX *ctx; 485 EVP_CIPHER_CTX *enc [all...] |
/cts/tests/tests/security/jni/ |
android_security_cts_EncryptionTest.cpp | 154 EVP_CIPHER_CTX ctx;
|
/external/boringssl/src/crypto/cmac/ |
cmac.c | 60 EVP_CIPHER_CTX cipher_ctx;
|
/external/boringssl/src/crypto/test/ |
scoped_types.h | 124 using ScopedEVP_CIPHER_CTX = ScopedOpenSSLContext<EVP_CIPHER_CTX, int,
|
/system/keymaster/ |
aes_operation.h | 93 EVP_CIPHER_CTX ctx_;
|
/external/tcpdump/ |
print-esp.c | 134 EVP_CIPHER_CTX ctx; 578 EVP_CIPHER_CTX ctx;
|
/external/boringssl/src/crypto/pem/ |
pem_lib.c | 288 EVP_CIPHER_CTX ctx; 394 EVP_CIPHER_CTX ctx;
|
pem_info.c | 315 EVP_CIPHER_CTX ctx;
|
/system/tpm/attestation/common/ |
crypto_utility_impl.cc | 334 EVP_CIPHER_CTX encryption_context; 384 EVP_CIPHER_CTX decryption_context;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/data/ |
infinite_recursion.py | 671 EVP_CIPHER_CTX = evp_cipher_ctx_st 678 ('init', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), POINTER(c_ubyte), POINTER(c_ubyte), c_int)), 679 ('do_cipher', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), POINTER(c_ubyte), POINTER(c_ubyte), c_uint)), 680 ('cleanup', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX))), 682 ('set_asn1_parameters', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), POINTER(ASN1_TYPE))), 683 ('get_asn1_parameters', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), POINTER(ASN1_TYPE))), 684 ('ctrl', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), c_int, c_int, c_void_p)), 730 EVP_PBE_KEYGEN = CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), STRING, c_int, POINTER(ASN1_TYPE), POINTER(EVP_CIPHER), POINTER(EVP_MD), c_int) 868 ('cipher', EVP_CIPHER_CTX), [all...] |