Home
last modified time | relevance | path

Searched refs:EVP_CipherInit (Results 1 – 6 of 6) sorted by relevance

/external/openssh/
Dcipher-3des1.c78 if (EVP_CipherInit(&c->k1, EVP_des_cbc(), k1, NULL, enc) == 0 || in ssh1_3des_init()
79 EVP_CipherInit(&c->k2, EVP_des_cbc(), k2, NULL, !enc) == 0 || in ssh1_3des_init()
80 EVP_CipherInit(&c->k3, EVP_des_cbc(), k3, NULL, enc) == 0) { in ssh1_3des_init()
Dcipher.c334 if (EVP_CipherInit(&cc->evp, type, NULL, (u_char *)iv, in cipher_init()
352 if (EVP_CipherInit(&cc->evp, NULL, (u_char *)key, NULL, -1) == 0) { in cipher_init()
/external/tcpdump/
Dprint-esp.c134 if (EVP_CipherInit(&ctx, sa->evp, sa->secret, NULL, 0) < 0) in esp_print_decrypt_buffer_by_ikev2()
136 EVP_CipherInit(&ctx, NULL, NULL, iv, 0); in esp_print_decrypt_buffer_by_ikev2()
669 if (EVP_CipherInit(&ctx, sa->evp, secret, NULL, 0) < 0) in esp_print()
673 EVP_CipherInit(&ctx, NULL, NULL, p, 0); in esp_print()
/external/boringssl/src/crypto/cipher/
Dcipher.c606 int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit() function
616 return EVP_CipherInit(ctx, cipher, key, iv, 1); in EVP_EncryptInit()
621 return EVP_CipherInit(ctx, cipher, key, iv, 0); in EVP_DecryptInit()
/external/boringssl/src/include/openssl/
Dcipher.h381 OPENSSL_EXPORT int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c1273 if (!EVP_CipherInit(&ctx, e, NULL, NULL, enc)) in evp_crypt()
1291 if (!EVP_CipherInit(&ctx, NULL, (u_char *) key->v, in evp_crypt()
1301 if (!EVP_CipherInit(&ctx, e, (u_char *) key->v, in evp_crypt()