Lines Matching refs:calg
31 X509_ALGOR *calg = ec->contentEncryptionAlgorithm; in ossl_cms_EncryptedContent_init_bio() local
62 cipher = EVP_get_cipherbyobj(calg->algorithm); in ossl_cms_EncryptedContent_init_bio()
83 calg->algorithm = OBJ_nid2obj(EVP_CIPHER_CTX_get_type(ctx)); in ossl_cms_EncryptedContent_init_bio()
84 if (calg->algorithm == NULL) { in ossl_cms_EncryptedContent_init_bio()
101 if (evp_cipher_asn1_to_param_ex(ctx, calg->parameter, &aparams) <= 0) { in ossl_cms_EncryptedContent_init_bio()
168 calg->parameter = ASN1_TYPE_new(); in ossl_cms_EncryptedContent_init_bio()
169 if (calg->parameter == NULL) { 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()
186 if (calg->parameter->type == V_ASN1_UNDEF) { in ossl_cms_EncryptedContent_init_bio()
187 ASN1_TYPE_free(calg->parameter); in ossl_cms_EncryptedContent_init_bio()
188 calg->parameter = NULL; in ossl_cms_EncryptedContent_init_bio()