Home
last modified time | relevance | path

Searched refs:EVP_CIPHER_get_iv_length (Results 1 – 25 of 30) sorted by relevance

12

/third_party/openssl/crypto/pkcs12/
Dp12_crpt.c59 if (EVP_CIPHER_get_iv_length(cipher) > 0) { in PKCS12_PBE_keyivgen_ex()
61 iter, EVP_CIPHER_get_iv_length(cipher), in PKCS12_PBE_keyivgen_ex()
/third_party/openssl/apps/
Denc.c488 int ivlen = EVP_CIPHER_get_iv_length(cipher); in enc_main()
520 int siz = EVP_CIPHER_get_iv_length(cipher); in enc_main()
529 && EVP_CIPHER_get_iv_length(cipher) != 0) { in enc_main()
591 if (EVP_CIPHER_get_iv_length(cipher) > 0) { in enc_main()
593 for (i = 0; i < EVP_CIPHER_get_iv_length(cipher); i++) in enc_main()
/third_party/openssl/crypto/asn1/
Dp5_scrypt.c82 if (EVP_CIPHER_get_iv_length(cipher)) { in PKCS5_pbe2_set_scrypt()
84 memcpy(iv, aiv, EVP_CIPHER_get_iv_length(cipher)); in PKCS5_pbe2_set_scrypt()
85 else if (RAND_bytes(iv, EVP_CIPHER_get_iv_length(cipher)) <= 0) in PKCS5_pbe2_set_scrypt()
Dp5_pbev2.c69 ivlen = EVP_CIPHER_get_iv_length(cipher);
/third_party/openssl/crypto/pem/
Dpem_lib.c327 if (objstr == NULL || EVP_CIPHER_get_iv_length(enc) == 0 in PEM_ASN1_write_bio()
328 || EVP_CIPHER_get_iv_length(enc) > (int)sizeof(iv) in PEM_ASN1_write_bio()
333 || strlen(objstr) + 23 + 2 * EVP_CIPHER_get_iv_length(enc) + 13 in PEM_ASN1_write_bio()
372 if (RAND_bytes(iv, EVP_CIPHER_get_iv_length(enc)) <= 0) in PEM_ASN1_write_bio()
386 PEM_dek_info(buf, objstr, EVP_CIPHER_get_iv_length(enc), (char *)iv); in PEM_ASN1_write_bio()
552 ivlen = EVP_CIPHER_get_iv_length(enc); in PEM_get_EVP_CIPHER_INFO()
561 if (!load_iv(&header, cipher->iv, EVP_CIPHER_get_iv_length(enc))) in PEM_get_EVP_CIPHER_INFO()
Dpem_info.c241 || strlen(objstr) + 23 + 2 * EVP_CIPHER_get_iv_length(enc) + 13 in PEM_X509_INFO_write_bio()
279 PEM_dek_info(buf, objstr, EVP_CIPHER_get_iv_length(enc), in PEM_X509_INFO_write_bio()
/third_party/openssl/crypto/crmf/
Dcrmf_lib.c673 if ((iv = OPENSSL_malloc(EVP_CIPHER_get_iv_length(cipher))) == NULL) in OSSL_CRMF_ENCRYPTEDVALUE_get1_encCert()
676 EVP_CIPHER_get_iv_length(cipher)) in OSSL_CRMF_ENCRYPTEDVALUE_get1_encCert()
677 != EVP_CIPHER_get_iv_length(cipher)) { in OSSL_CRMF_ENCRYPTEDVALUE_get1_encCert()
/third_party/openssl/crypto/evp/
Devp_key.c89 niv = EVP_CIPHER_get_iv_length(type); in EVP_BytesToKey()
Dp5_crpt.c57 ivl = EVP_CIPHER_get_iv_length(cipher); in PKCS5_PBE_keyivgen_ex()
Devp_lib.c500 int EVP_CIPHER_get_iv_length(const EVP_CIPHER *cipher) in EVP_CIPHER_get_iv_length() function
508 int rv, len = EVP_CIPHER_get_iv_length(ctx->cipher); in EVP_CIPHER_CTX_get_iv_length()
De_aria.c264 gctx->ivlen = EVP_CIPHER_get_iv_length(c->cipher); in aria_gcm_ctrl()
De_aes.c1362 ivlen = EVP_CIPHER_get_iv_length(c->cipher); in s390x_aes_gcm_ctrl()
2575 gctx->ivlen = EVP_CIPHER_get_iv_length(c->cipher); in aes_gcm_ctrl()
3752 octx->ivlen = EVP_CIPHER_get_iv_length(c->cipher); in aes_ocb_ctrl()
/third_party/openssl/ssl/
Ds3_enc.c197 k = EVP_CIPHER_get_iv_length(c); in ssl3_change_cipher_state()
273 num = EVP_CIPHER_get_key_length(c) + num + EVP_CIPHER_get_iv_length(c); in ssl3_setup_key_block()
Dktls.c93 crypto_info->iv_len = EVP_CIPHER_get_iv_length(c); in ktls_configure_crypto()
Dtls13_enc.c381 ivlen = EVP_CIPHER_get_iv_length(ciph); in derive_secret_key_and_iv()
Dt1_enc.c183 return EVP_CIPHER_get_iv_length(c); in tls_iv_length_within_key_block()
Dssl_ciph.c2199 out = EVP_CIPHER_get_iv_length(e_ciph); in ssl_cipher_get_overhead()
/third_party/openssl/test/
Dtls13encryptiontest.c350 ivlen = EVP_CIPHER_get_iv_length(ciph); in test_tls13_encryption()
/third_party/rust/crates/rust-openssl/openssl-sys/src/
Devp.rs78 EVP_CIPHER_get_iv_length(cipher)
/third_party/openssl/doc/man3/
DEVP_SealInit.pod38 example) EVP_CIPHER_get_iv_length(type).
DEVP_EncryptInit.pod45 EVP_CIPHER_get_iv_length,
177 int EVP_CIPHER_get_iv_length(const EVP_CIPHER *e);
218 #define EVP_CIPHER_iv_length EVP_CIPHER_get_iv_length
510 =item EVP_CIPHER_get_iv_length() and EVP_CIPHER_CTX_get_iv_length()
661 Use EVP_CIPHER_get_iv_length() to retrieve the cached value.
1218 EVP_CIPHER_get_iv_length() and EVP_CIPHER_CTX_get_iv_length() return the IV
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Devp.rs15 pub fn EVP_CIPHER_get_iv_length(cipher: *const EVP_CIPHER) -> c_int;
/third_party/openssl/crypto/pkcs7/
Dpk7_doit.c304 ivlen = EVP_CIPHER_get_iv_length(evp_cipher); in PKCS7_dataInit()
/third_party/openssl/include/openssl/
Devp.h595 int EVP_CIPHER_get_iv_length(const EVP_CIPHER *cipher);
596 # define EVP_CIPHER_iv_length EVP_CIPHER_get_iv_length
/third_party/openssl/ssl/record/
Dssl3_record.c997 ivlen = EVP_CIPHER_get_iv_length(enc); in tls1_enc()

12