Home
last modified time | relevance | path

Searched refs:EVP_CIPHER_iv_length (Results 1 – 15 of 15) sorted by relevance

/external/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c147 if (iv_len != EVP_CIPHER_iv_length(cipher)) { in pkcs5_pbe2_cipher_init()
172 if (!RAND_bytes(iv, EVP_CIPHER_iv_length(cipher))) { in PKCS5_pbe2_encrypt_init()
199 !CBB_add_bytes(&iv_cbb, iv, EVP_CIPHER_iv_length(cipher)) || in PKCS5_pbe2_encrypt_init()
205 salt_len, iv, EVP_CIPHER_iv_length(cipher), in PKCS5_pbe2_encrypt_init()
Dpkcs8.c236 EVP_CIPHER_iv_length(cipher), iv, md)) { in pkcs12_pbe_cipher_init()
/external/boringssl/src/crypto/pem/
Dpem_lib.c268 if (objstr == NULL || EVP_CIPHER_iv_length(enc) == 0) { in PEM_ASN1_write_bio()
290 const unsigned iv_len = EVP_CIPHER_iv_length(enc); in PEM_ASN1_write_bio()
469 if (!load_iv(header_pp, &(cipher->iv[0]), EVP_CIPHER_iv_length(enc))) in PEM_get_EVP_CIPHER_INFO()
Dpem_info.c308 iv_len = EVP_CIPHER_iv_length(enc); in PEM_X509_INFO_write_bio()
/external/boringssl/src/crypto/cipher_extra/
Dcipher_test.cc203 if (EVP_CIPHER_iv_length(cipher) > 0) { in TestCipher()
De_ssl3.c101 assert(mac_key_len + enc_key_len + EVP_CIPHER_iv_length(cipher) == key_len); in aead_ssl3_init()
De_tls.c73 (implicit_iv ? EVP_CIPHER_iv_length(cipher) : 0) == key_len); in aead_tls_init()
/external/boringssl/src/include/openssl/
Dcipher.h312 OPENSSL_EXPORT unsigned EVP_CIPHER_iv_length(const EVP_CIPHER *cipher);
/external/boringssl/src/crypto/fipsmodule/cipher/
Dcipher.c581 unsigned EVP_CIPHER_iv_length(const EVP_CIPHER *cipher) { in EVP_CIPHER_iv_length() function
/external/tcpdump/
Dprint-esp.c375 sa->ivlen = EVP_CIPHER_iv_length(evp); in espprint_decode_encalgo()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c3424 EVP_CIPHER_iv_length(c)); in openssl_get_keyblock_size()
3427 EVP_CIPHER_iv_length(c)); in openssl_get_keyblock_size()
3451 EVP_CIPHER_iv_length(c)); in openssl_get_keyblock_size()
3453 EVP_CIPHER_iv_length(c)); in openssl_get_keyblock_size()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLCipher.java522 final int expectedIvLength = NativeCrypto.EVP_CIPHER_iv_length(cipherType); in engineInitInternal()
DNativeCrypto.java300 static native int EVP_CIPHER_iv_length(long evpCipher); in EVP_CIPHER_iv_length() method in NativeCrypto
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java2946 assertEquals(0, NativeCrypto.EVP_CIPHER_iv_length(aes128ecb)); in test_EVP_CIPHER_iv_length()
2949 assertEquals(16, NativeCrypto.EVP_CIPHER_iv_length(aes128cbc)); in test_EVP_CIPHER_iv_length()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc3299 jint ivLength = static_cast<jint>(EVP_CIPHER_iv_length(evpCipher)); in NativeCrypto_EVP_CIPHER_iv_length()
9829 CONSCRYPT_NATIVE_METHOD(EVP_CIPHER_iv_length, "(J)I"),