HomeSort by relevance Sort by last modified time
    Searched refs:EVP_CIPHER_CTX (Results 1 - 25 of 46) sorted by null

1 2

  /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);
140 OPENSSL_EXPORT void EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *ctx)
    [all...]
base.h 302 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 385 static int rc2_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key,
393 static int rc2_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in,
410 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) {
88 OPENSSL_memset(c, 0, sizeof(EVP_CIPHER_CTX));
92 void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx) {
99 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/decrepit/cfb/
cfb.c 28 static int aes_cfb_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key,
38 static int aes_cfb128_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out,
  /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 224 EVP_CIPHER_CTX *ctx, unsigned iterations,
248 EVP_CIPHER_CTX *ctx, const char *pass,
320 static int pkcs12_pbe_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx, int alg,
352 EVP_CIPHER_CTX ctx;
440 EVP_CIPHER_CTX ctx;
  /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 291 static native void EVP_CipherInit_ex(NativeRef.EVP_CIPHER_CTX ctx, long evpCipher, byte[] key,
294 static native int EVP_CipherUpdate(NativeRef.EVP_CIPHER_CTX ctx, byte[] out, int outOffset,
297 static native int EVP_CipherFinal_ex(NativeRef.EVP_CIPHER_CTX ctx, byte[] out, int outOffset)
304 static native int EVP_CIPHER_CTX_block_size(NativeRef.EVP_CIPHER_CTX ctx);
306 static native int get_EVP_CIPHER_CTX_buf_len(NativeRef.EVP_CIPHER_CTX ctx);
308 static native boolean get_EVP_CIPHER_CTX_final_used(NativeRef.EVP_CIPHER_CTX ctx);
311 NativeRef.EVP_CIPHER_CTX ctx, boolean enablePadding);
313 static native void EVP_CIPHER_CTX_set_key_length(NativeRef.EVP_CIPHER_CTX ctx, int keyBitSize);
    [all...]
OpenSSLCipher.java 45 import org.conscrypt.NativeRef.EVP_CIPHER_CTX;
482 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/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)
161 set_cipher_parameters(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
173 set_cipher_parameters(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
193 EVP_CIPHER_CTX *ctx;
662 EVP_CIPHER_CTX *ctx;
  /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/km_openssl/
block_cipher_operation.h 104 EVP_CIPHER_CTX ctx_;
  /external/wpa_supplicant_8/src/crypto/
crypto_openssl.c 193 EVP_CIPHER_CTX *ctx;
287 EVP_CIPHER_CTX *ctx;
311 EVP_CIPHER_CTX *c = ctx;
324 EVP_CIPHER_CTX *c = ctx;
341 EVP_CIPHER_CTX *ctx;
365 EVP_CIPHER_CTX *c = ctx;
378 EVP_CIPHER_CTX *c = ctx;
432 EVP_CIPHER_CTX *ctx;
459 EVP_CIPHER_CTX *ctx;
524 EVP_CIPHER_CTX *enc
    [all...]
  /external/boringssl/src/crypto/pem/
pem_lib.c 258 EVP_CIPHER_CTX ctx;
355 EVP_CIPHER_CTX ctx;
  /system/tpm/attestation/common/
crypto_utility_impl.cc 333 EVP_CIPHER_CTX encryption_context;
383 EVP_CIPHER_CTX decryption_context;
  /system/vold/
KeyStorage.cpp 347 auto ctx = std::unique_ptr<EVP_CIPHER_CTX, decltype(&::EVP_CIPHER_CTX_free)>(
400 auto ctx = std::unique_ptr<EVP_CIPHER_CTX, decltype(&::EVP_CIPHER_CTX_free)>(
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/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...]

Completed in 266 milliseconds

1 2