Searched refs:senderNonce (Results 1 - 9 of 9) sorted by relevance
/freebsd-current/crypto/openssl/crypto/cmp/ |
H A D | cmp_hdr.c | 63 return hdr->senderNonce; 341 * set random senderNonce 344 * senderNonce present 346 * The senderNonce and recipNonce fields protect the PKIMessage against 347 * replay attacks. The senderNonce will typically be 128 bits of 349 * is copied from the senderNonce of the previous message in the 352 if (!set_random(&hdr->senderNonce, ctx, OSSL_CMP_SENDERNONCE_LENGTH)) 355 /* store senderNonce - for cmp with recipNonce in next outgoing msg */ 356 if (!OSSL_CMP_CTX_set1_senderNonce(ctx, hdr->senderNonce))
|
H A D | cmp_vfy.c | 656 * its recipNonce matches the previous senderNonce stored in the ctx (if any) 659 * learns the senderNonce from the received message, 757 if (ctx->senderNonce != NULL 759 || ASN1_OCTET_STRING_cmp(ctx->senderNonce, 774 * the senderNonce of the previous message in the transaction. 777 if (!ossl_cmp_ctx_set1_recipNonce(ctx, hdr->senderNonce))
|
H A D | cmp_local.h | 93 ASN1_OCTET_STRING *senderNonce; /* last nonce sent */ member in struct:ossl_cmp_ctx_st 467 * senderNonce [5] OCTET STRING OPTIONAL, 469 * -- nonces used to provide replay protection, senderNonce 491 ASN1_OCTET_STRING *senderNonce; /* 5 */ member in struct:ossl_cmp_pkiheader_st
|
H A D | cmp_asn.c | 429 ASN1_EXP_OPT(OSSL_CMP_PKIHEADER, senderNonce, ASN1_OCTET_STRING, 5),
|
H A D | cmp_ctx.c | 216 ASN1_OCTET_STRING_free(ctx->senderNonce); 887 /* Stores the given nonce as the last senderNonce sent out */ 895 return ossl_cmp_asn1_octet_string_set1(&ctx->senderNonce, nonce);
|
H A D | cmp_server.c | 509 /* start of a new transaction, reset transactionID and senderNonce */ 595 (void)ossl_cmp_ctx_set1_recipNonce(ctx, hdr->senderNonce);
|
/freebsd-current/crypto/openssl/test/ |
H A D | cmp_hdr_test.c | 89 if (!TEST_int_eq(ASN1_OCTET_STRING_cmp(fixture->cmp_ctx->senderNonce, sn), 428 fixture->cmp_ctx->senderNonce)))
|
H A D | cmp_ctx_test.c | 101 && ctx->senderNonce == NULL 792 DEFINE_SET_TEST(OSSL_CMP, CTX, 1, 1, senderNonce, ASN1_OCTET_STRING)
|
H A D | cmp_vfy_test.c | 468 && !ossl_cmp_asn1_octet_string_set1_bytes(&ctx->senderNonce,
|
Completed in 282 milliseconds