Lines Matching refs:protection
24 * Calculate protection for given PKImessage according to
28 * returns ASN1_BIT_STRING representing the protection on success, else NULL
57 unsigned char *protection = NULL;
89 &protection, &sig_len))
97 if (!ASN1_BIT_STRING_set(prot, protection, sig_len)) {
103 OPENSSL_free(protection);
138 /* Add first ctx->cert and its chain if using signature-based protection */
185 * Create an X509_ALGOR structure for PasswordBasedMAC protection based on
262 * For the case of re-protection remove pre-existing protection.
266 ASN1_BIT_STRING_free(msg->protection);
267 msg->protection = NULL;
281 * while not needed to validate the protection certificate,
309 && ((msg->protection = ossl_cmp_calc_protection(ctx, msg)) == NULL))
313 * For signature-based protection add ctx->cert followed by its chain.
315 * even if not needed to validate the protection