Home
last modified time | relevance | path

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

12

/openssl/crypto/pkcs12/
H A 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()
/openssl/crypto/asn1/
H A Dp5_scrypt.c86 if (EVP_CIPHER_get_iv_length(cipher)) { in PKCS5_pbe2_set_scrypt()
88 memcpy(iv, aiv, EVP_CIPHER_get_iv_length(cipher)); in PKCS5_pbe2_set_scrypt()
89 else if (RAND_bytes(iv, EVP_CIPHER_get_iv_length(cipher)) <= 0) in PKCS5_pbe2_set_scrypt()
H A Dp5_pbev2.c82 ivlen = EVP_CIPHER_get_iv_length(cipher);
/openssl/apps/
H A Denc.c562 int ivlen = EVP_CIPHER_get_iv_length(cipher); in enc_main()
595 int siz = EVP_CIPHER_get_iv_length(cipher); in enc_main()
605 && EVP_CIPHER_get_iv_length(cipher) != 0 in enc_main()
672 if (EVP_CIPHER_get_iv_length(cipher) > 0) { in enc_main()
674 for (i = 0; i < EVP_CIPHER_get_iv_length(cipher); i++) in enc_main()
/openssl/crypto/pem/
H A Dpem_lib.c334 if (objstr == NULL || EVP_CIPHER_get_iv_length(enc) == 0 in PEM_ASN1_write_bio()
335 || EVP_CIPHER_get_iv_length(enc) > (int)sizeof(iv) in PEM_ASN1_write_bio()
340 || strlen(objstr) + 23 + 2 * EVP_CIPHER_get_iv_length(enc) + 13 in PEM_ASN1_write_bio()
377 if (RAND_bytes(iv, EVP_CIPHER_get_iv_length(enc)) <= 0) in PEM_ASN1_write_bio()
391 PEM_dek_info(buf, objstr, EVP_CIPHER_get_iv_length(enc), (char *)iv); in PEM_ASN1_write_bio()
554 ivlen = EVP_CIPHER_get_iv_length(enc); in PEM_get_EVP_CIPHER_INFO()
563 if (!load_iv(&header, cipher->iv, EVP_CIPHER_get_iv_length(enc))) in PEM_get_EVP_CIPHER_INFO()
H A 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()
/openssl/crypto/evp/
H A Devp_key.c89 niv = EVP_CIPHER_get_iv_length(type); in EVP_BytesToKey()
H A Dp5_crpt.c57 ivl = EVP_CIPHER_get_iv_length(cipher); in PKCS5_PBE_keyivgen_ex()
H A Devp_lib.c485 int EVP_CIPHER_get_iv_length(const EVP_CIPHER *cipher) in EVP_CIPHER_get_iv_length() function
496 int rv, len = EVP_CIPHER_get_iv_length(ctx->cipher); in EVP_CIPHER_CTX_get_iv_length()
H A De_aria.c264 gctx->ivlen = EVP_CIPHER_get_iv_length(c->cipher); in aria_gcm_ctrl()
H A De_aes.c1446 ivlen = EVP_CIPHER_get_iv_length(c->cipher); in s390x_aes_gcm_ctrl()
2657 gctx->ivlen = EVP_CIPHER_get_iv_length(c->cipher); in aes_gcm_ctrl()
3857 octx->ivlen = EVP_CIPHER_get_iv_length(c->cipher); in aes_ocb_ctrl()
/openssl/crypto/crmf/
H A Dcrmf_lib.c671 if ((iv = OPENSSL_malloc(EVP_CIPHER_get_iv_length(cipher))) == NULL) in OSSL_CRMF_ENCRYPTEDVALUE_get1_encCert()
674 EVP_CIPHER_get_iv_length(cipher)) in OSSL_CRMF_ENCRYPTEDVALUE_get1_encCert()
675 != EVP_CIPHER_get_iv_length(cipher)) { in OSSL_CRMF_ENCRYPTEDVALUE_get1_encCert()
/openssl/ssl/
H A Ds3_enc.c122 iv_len = EVP_CIPHER_get_iv_length(ciph); in ssl3_change_cipher_state()
194 num = EVP_CIPHER_get_key_length(c) + num + EVP_CIPHER_get_iv_length(c); in ssl3_setup_key_block()
H A Dt1_enc.c112 return EVP_CIPHER_get_iv_length(c); in tls_iv_length_within_key_block()
H A Dtls13_enc.c422 iivlen = EVP_CIPHER_get_iv_length(ciph); in derive_secret_key_and_iv()
H A Dssl_ciph.c2200 out = EVP_CIPHER_get_iv_length(e_ciph); in ssl_cipher_get_overhead()
/openssl/test/
H A Dtls13encryptiontest.c328 ivlen = EVP_CIPHER_get_iv_length(ciph); in test_tls13_encryption()
H A Devp_libctx_test.c502 if (EVP_CIPHER_get_iv_length(cipher) != 0) in test_cipher_reinit_partialupdate()
511 if (EVP_CIPHER_get_iv_length(cipher) != 0) in test_cipher_reinit_partialupdate()
/openssl/doc/man3/
H A DEVP_SealInit.pod38 example) EVP_CIPHER_get_iv_length(type).
H A DEVP_EncryptInit.pod47 EVP_CIPHER_get_iv_length,
181 int EVP_CIPHER_get_iv_length(const EVP_CIPHER *e);
222 #define EVP_CIPHER_iv_length EVP_CIPHER_get_iv_length
532 =item EVP_CIPHER_get_iv_length() and EVP_CIPHER_CTX_get_iv_length()
688 Use EVP_CIPHER_get_iv_length() to retrieve the cached value.
1335 EVP_CIPHER_get_iv_length() and EVP_CIPHER_CTX_get_iv_length() return the IV
H A DPEM_read_bio_PrivateKey.pod450 unsigned int niv = EVP_CIPHER_get_iv_length(cipher);
/openssl/ssl/quic/
H A Dquic_record_shared.c169 if (!ossl_assert(iv_len == (size_t)EVP_CIPHER_get_iv_length(cipher)) in el_setup_keyslot()
/openssl/ssl/record/methods/
H A Dtls1_meth.c207 ivlen = EVP_CIPHER_get_iv_length(enc); in tls1_cipher()
/openssl/crypto/pkcs7/
H A Dpk7_doit.c331 ivlen = EVP_CIPHER_get_iv_length(evp_cipher); in PKCS7_dataInit()
/openssl/include/openssl/
H A Devp.h604 int EVP_CIPHER_get_iv_length(const EVP_CIPHER *cipher);
605 # define EVP_CIPHER_iv_length EVP_CIPHER_get_iv_length

Completed in 118 milliseconds

12