Searched refs:aparams (Results 1 – 2 of 2) sorted by relevance
/third_party/openssl/crypto/cms/ |
D | cms_enc.c | 32 evp_cipher_aead_asn1_params aparams; in ossl_cms_EncryptedContent_init_bio() local 101 if (evp_cipher_asn1_to_param_ex(ctx, calg->parameter, &aparams) <= 0) { in ossl_cms_EncryptedContent_init_bio() 106 piv = aparams.iv; in ossl_cms_EncryptedContent_init_bio() 174 memcpy(aparams.iv, piv, ivlen); in ossl_cms_EncryptedContent_init_bio() 175 aparams.iv_len = ivlen; in ossl_cms_EncryptedContent_init_bio() 176 aparams.tag_len = EVP_CIPHER_CTX_get_tag_length(ctx); in ossl_cms_EncryptedContent_init_bio() 177 if (aparams.tag_len <= 0) in ossl_cms_EncryptedContent_init_bio() 181 if (evp_cipher_param_to_asn1_ex(ctx, calg->parameter, &aparams) <= 0) { in ossl_cms_EncryptedContent_init_bio()
|
/third_party/node/deps/openssl/openssl/crypto/cms/ |
D | cms_enc.c | 33 evp_cipher_aead_asn1_params aparams; in ossl_cms_EncryptedContent_init_bio() local 102 if (evp_cipher_asn1_to_param_ex(ctx, calg->parameter, &aparams) <= 0) { in ossl_cms_EncryptedContent_init_bio() 107 piv = aparams.iv; in ossl_cms_EncryptedContent_init_bio() 175 memcpy(aparams.iv, piv, ivlen); in ossl_cms_EncryptedContent_init_bio() 176 aparams.iv_len = ivlen; in ossl_cms_EncryptedContent_init_bio() 177 aparams.tag_len = EVP_CIPHER_CTX_get_tag_length(ctx); in ossl_cms_EncryptedContent_init_bio() 178 if (aparams.tag_len <= 0) in ossl_cms_EncryptedContent_init_bio() 182 if (evp_cipher_param_to_asn1_ex(ctx, calg->parameter, &aparams) <= 0) { in ossl_cms_EncryptedContent_init_bio()
|