HomeSort by relevance Sort by last modified time
    Searched refs:EVP_CIPHER_CTX (Results 1 - 25 of 50) 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...]
  /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/pkcs8/
internal.h 88 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,
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 234 EVP_CIPHER_CTX *ctx, unsigned iterations,
258 EVP_CIPHER_CTX *ctx, const char *pass,
333 int pkcs12_pbe_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx, int alg,
365 EVP_CIPHER_CTX ctx;
453 EVP_CIPHER_CTX ctx;
  /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 98 static int aes_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key,
176 static int aes_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in,
191 static int aes_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in,
208 static int aes_ctr_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in,
222 static int aes_ofb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in,
287 static EVP_AES_GCM_CTX *aes_gcm_from_cipher_ctx(EVP_CIPHER_CTX *ctx) {
309 static int aes_gcm_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key,
341 static void aes_gcm_cleanup(EVP_CIPHER_CTX *c) {
365 static int aes_gcm_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) {
457 EVP_CIPHER_CTX *out = ptr
    [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/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 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...]
  /external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
NativeRef.java 84 static final class EVP_CIPHER_CTX extends NativeRef {
85 EVP_CIPHER_CTX(long nativePointer) {
NativeCrypto.java 304 static native void EVP_CipherInit_ex(NativeRef.EVP_CIPHER_CTX ctx, long evpCipher, byte[] key,
307 static native int EVP_CipherUpdate(NativeRef.EVP_CIPHER_CTX ctx, byte[] out, int outOffset,
310 static native int EVP_CipherFinal_ex(NativeRef.EVP_CIPHER_CTX ctx, byte[] out, int outOffset)
319 static native int EVP_CIPHER_CTX_block_size(NativeRef.EVP_CIPHER_CTX ctx);
321 static native int get_EVP_CIPHER_CTX_buf_len(NativeRef.EVP_CIPHER_CTX ctx);
323 static native boolean get_EVP_CIPHER_CTX_final_used(NativeRef.EVP_CIPHER_CTX ctx);
326 NativeRef.EVP_CIPHER_CTX ctx, boolean enablePadding);
328 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 158 static int aes_xts_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key,
189 static int aes_xts_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out,
203 static int aes_xts_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) {
206 EVP_CIPHER_CTX *out = ptr;
  /cts/tests/tests/security/jni/
android_security_cts_EncryptionTest.cpp 48 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)
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;
  /external/boringssl/src/decrepit/cast/
cast.c 415 static int cast_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key,
422 static int cast_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in,
437 static int cast_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in,
  /external/wpa_supplicant_8/src/crypto/
crypto_openssl.c 224 EVP_CIPHER_CTX *ctx;
316 EVP_CIPHER_CTX *ctx;
343 EVP_CIPHER_CTX *c = ctx;
356 EVP_CIPHER_CTX *c = ctx;
373 EVP_CIPHER_CTX *ctx;
400 EVP_CIPHER_CTX *c = ctx;
413 EVP_CIPHER_CTX *c = ctx;
467 EVP_CIPHER_CTX *ctx;
494 EVP_CIPHER_CTX *ctx;
629 EVP_CIPHER_CTX *enc
    [all...]

Completed in 527 milliseconds

1 2