Home
last modified time | relevance | path

Searched refs:recipNonce (Results 1 - 15 of 15) sorted by relevance

/third_party/node/deps/openssl/openssl/crypto/cmp/
H A Dcmp_hdr.c72 return hdr->recipNonce; in OSSL_CMP_HDR_get0_recipNonce()
332 if (ctx->recipNonce != NULL in ossl_cmp_hdr_init()
333 && !ossl_cmp_asn1_octet_string_set1(&hdr->recipNonce, in ossl_cmp_hdr_init()
334 ctx->recipNonce)) in ossl_cmp_hdr_init()
346 * The senderNonce and recipNonce fields protect the PKIMessage against in ossl_cmp_hdr_init()
348 * (pseudo-) random data generated by the sender, whereas the recipNonce in ossl_cmp_hdr_init()
355 /* store senderNonce - for cmp with recipNonce in next outgoing msg */ in ossl_cmp_hdr_init()
H A Dcmp_local.h94 ASN1_OCTET_STRING *recipNonce; /* last nonce received */ member
468 * recipNonce [6] OCTET STRING OPTIONAL,
470 * -- is inserted by the creator of this message; recipNonce
492 ASN1_OCTET_STRING *recipNonce; /* 6 */ member
H A Dcmp_vfy.c656 * its recipNonce matches the previous senderNonce stored in the ctx (if any)
758 && (msg->header->recipNonce == NULL in ossl_cmp_msg_check_update()
760 hdr->recipNonce) != 0)) { in ossl_cmp_msg_check_update()
773 * RFC 4210 section 5.1.1 states: the recipNonce is copied from in ossl_cmp_msg_check_update()
H A Dcmp_msg.c1089 if (ctx->recipNonce == NULL) /* nothing to do for 1st msg in transaction */ in OSSL_CMP_MSG_update_recipNonce()
1091 if (!ossl_cmp_asn1_octet_string_set1(&msg->header->recipNonce, in OSSL_CMP_MSG_update_recipNonce()
1092 ctx->recipNonce)) in OSSL_CMP_MSG_update_recipNonce()
H A Dcmp_ctx.c217 ASN1_OCTET_STRING_free(ctx->recipNonce); in OSSL_CMP_CTX_free()
878 /* Set the nonce to be used for the recipNonce in the message created next */
884 return ossl_cmp_asn1_octet_string_set1(&ctx->recipNonce, nonce); in ossl_cmp_ctx_set1_recipNonce()
H A Dcmp_asn.c430 ASN1_EXP_OPT(OSSL_CMP_PKIHEADER, recipNonce, ASN1_OCTET_STRING, 6),
/third_party/openssl/crypto/cmp/
H A Dcmp_hdr.c72 return hdr->recipNonce; in OSSL_CMP_HDR_get0_recipNonce()
332 if (ctx->recipNonce != NULL in ossl_cmp_hdr_init()
333 && !ossl_cmp_asn1_octet_string_set1(&hdr->recipNonce, in ossl_cmp_hdr_init()
334 ctx->recipNonce)) in ossl_cmp_hdr_init()
346 * The senderNonce and recipNonce fields protect the PKIMessage against in ossl_cmp_hdr_init()
348 * (pseudo-) random data generated by the sender, whereas the recipNonce in ossl_cmp_hdr_init()
355 /* store senderNonce - for cmp with recipNonce in next outgoing msg */ in ossl_cmp_hdr_init()
H A Dcmp_local.h94 ASN1_OCTET_STRING *recipNonce; /* last nonce received */ member
468 * recipNonce [6] OCTET STRING OPTIONAL,
470 * -- is inserted by the creator of this message; recipNonce
492 ASN1_OCTET_STRING *recipNonce; /* 6 */ member
H A Dcmp_vfy.c656 * its recipNonce matches the previous senderNonce stored in the ctx (if any)
758 && (msg->header->recipNonce == NULL in ossl_cmp_msg_check_update()
760 hdr->recipNonce) != 0)) { in ossl_cmp_msg_check_update()
773 * RFC 4210 section 5.1.1 states: the recipNonce is copied from in ossl_cmp_msg_check_update()
H A Dcmp_msg.c1089 if (ctx->recipNonce == NULL) /* nothing to do for 1st msg in transaction */ in OSSL_CMP_MSG_update_recipNonce()
1091 if (!ossl_cmp_asn1_octet_string_set1(&msg->header->recipNonce, in OSSL_CMP_MSG_update_recipNonce()
1092 ctx->recipNonce)) in OSSL_CMP_MSG_update_recipNonce()
H A Dcmp_ctx.c217 ASN1_OCTET_STRING_free(ctx->recipNonce); in OSSL_CMP_CTX_free()
878 /* Set the nonce to be used for the recipNonce in the message created next */
884 return ossl_cmp_asn1_octet_string_set1(&ctx->recipNonce, nonce); in ossl_cmp_ctx_set1_recipNonce()
H A Dcmp_asn.c430 ASN1_EXP_OPT(OSSL_CMP_PKIHEADER, recipNonce, ASN1_OCTET_STRING, 6),
/third_party/openssl/test/
H A Dcmp_ctx_test.c102 && ctx->recipNonce == NULL)) in execute_CTX_reinit_test()
790 DEFINE_SET_TEST(ossl_cmp, ctx, 1, 1, recipNonce, ASN1_OCTET_STRING) in DEFINE_SET_CB_TEST()
H A Dcmp_hdr_test.c421 ctx_nonce = fixture->cmp_ctx->recipNonce; in execute_HDR_init_test()
H A Dcmp_vfy_test.c442 fixture->cmp_ctx->recipNonce)) in execute_msg_check_test()

Completed in 17 milliseconds