Searched refs:protectionAlg (Results 1 – 9 of 9) sorted by relevance
| /freebsd/crypto/openssl/crypto/cmp/ |
| H A D | cmp_protect.c | 49 if (msg->header->protectionAlg == NULL) { in ossl_cmp_calc_protection() 53 X509_ALGOR_get0(&algorOID, &pptype, &ppval, msg->header->protectionAlg); in ossl_cmp_calc_protection() 124 msg->header->protectionAlg, /* sets X509_ALGOR */ in ossl_cmp_calc_protection() 242 X509_ALGOR_free(msg->header->protectionAlg); in ossl_cmp_msg_protect() 243 msg->header->protectionAlg = NULL; in ossl_cmp_msg_protect() 252 if ((msg->header->protectionAlg = pbmac_algor(ctx)) == NULL) in ossl_cmp_msg_protect() 271 if ((msg->header->protectionAlg = X509_ALGOR_new()) == NULL) in ossl_cmp_msg_protect()
|
| H A D | cmp_hdr.c | 44 || hdr->protectionAlg == NULL) in ossl_cmp_hdr_get_protection_nid() 46 return OBJ_obj2nid(hdr->protectionAlg->algorithm); in ossl_cmp_hdr_get_protection_nid()
|
| H A D | cmp_vfy.c | 56 msg->header->protectionAlg, msg->protection, in verify_signature() 572 if (msg->header->protectionAlg == NULL /* unprotected message */ in OSSL_CMP_validate_msg() 768 if (hdr->protectionAlg != NULL) in ossl_cmp_msg_check_update() 785 if (hdr->protectionAlg != NULL) in ossl_cmp_msg_check_update()
|
| H A D | cmp_msg.c | 1200 return msg->header->protectionAlg == NULL in OSSL_CMP_MSG_update_transactionID() 1215 return msg->header->protectionAlg == NULL || ossl_cmp_msg_protect(ctx, msg); in OSSL_CMP_MSG_update_recipNonce()
|
| H A D | cmp_local.h | 543 X509_ALGOR *protectionAlg; /* 1 */ member
|
| H A D | cmp_asn.c | 1037 ASN1_EXP_OPT(OSSL_CMP_PKIHEADER, protectionAlg, X509_ALGOR, 1),
|
| /freebsd/crypto/openssl/doc/internal/man3/ |
| H A D | ossl_cmp_msg_protect.pod | 22 according to the algorithm and parameters in the message header's protectionAlg 24 Unless I<msg->header->protectionAlg> is B<PasswordBasedMAC>, 32 It also sets the protectionAlg field in the message header accordingly.
|
| /freebsd/crypto/openssl/test/ |
| H A D | cmp_protect_test.c | 114 msg->header->protectionAlg, protection, in verify_signature() 137 …|| !TEST_ptr(fixture->msg->header->protectionAlg = X509_ALGOR_new() /* no specific alg needed here… in test_cmp_calc_protection_no_key_no_secret()
|
| /freebsd/crypto/openssl/doc/man3/ |
| H A D | OSSL_CMP_CTX_new.pod | 538 This key is used create signature-based protection (protectionAlg = MSG_SIG_ALG) 548 messages that have MAC-based protection (protectionAlg = C<MSG_MAC_ALG>).
|