Searched refs:calg (Results 1 – 3 of 3) sorted by relevance
/freebsd/crypto/openssl/crypto/cms/ |
H A D | cms_enc.c | 32 X509_ALGOR *calg = ec->contentEncryptionAlgorithm; in ossl_cms_EncryptedContent_init_bio() local 63 cipher = EVP_get_cipherbyobj(calg->algorithm); in ossl_cms_EncryptedContent_init_bio() 84 calg->algorithm = OBJ_nid2obj(EVP_CIPHER_CTX_get_type(ctx)); in ossl_cms_EncryptedContent_init_bio() 85 if (calg->algorithm == NULL || calg->algorithm->nid == NID_undef) { in ossl_cms_EncryptedContent_init_bio() 102 if (evp_cipher_asn1_to_param_ex(ctx, calg->parameter, &aparams) <= 0) { in ossl_cms_EncryptedContent_init_bio() 169 calg->parameter = ASN1_TYPE_new(); in ossl_cms_EncryptedContent_init_bio() 170 if (calg->parameter == NULL) { 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() 187 if (calg->parameter->type == V_ASN1_UNDEF) { in ossl_cms_EncryptedContent_init_bio() 188 ASN1_TYPE_free(calg->parameter); in ossl_cms_EncryptedContent_init_bio() [all …]
|
H A D | cms_env.c | 560 X509_ALGOR *calg = ec->contentEncryptionAlgorithm; in cms_RecipientInfo_ktri_decrypt() local 563 OBJ_obj2txt(name, sizeof(name), calg->algorithm, 0); in cms_RecipientInfo_ktri_decrypt() 571 cipher = EVP_get_cipherbyobj(calg->algorithm); in cms_RecipientInfo_ktri_decrypt()
|
/freebsd/sys/cam/scsi/ |
H A D | scsi_sa.c | 4392 uint32_t blocksize, uint8_t density, uint32_t calg, in sasetparams() argument 4527 if (calg == 0) { in sasetparams() 4531 if (calg != MT_COMP_ENABLE) { in sasetparams() 4532 dcp->sel_comp_alg = calg; in sasetparams() 4542 if (calg == 0) { in sasetparams() 4562 if (calg != MT_COMP_ENABLE) { in sasetparams() 4563 scsi_ulto4b(calg, dcp->comp_algorithm); in sasetparams() 4564 scsi_ulto4b(calg, dcp->decomp_algorithm); in sasetparams() 4697 softc->comp_algorithm = calg; in sasetparams()
|