Searched refs:secretValue (Results 1 - 6 of 6) sorted by relevance

/freebsd-current/crypto/openssl/crypto/cmp/
H A Dcmp_protect.c62 if (ctx->secretValue == NULL) {
88 ctx->secretValue->data, ctx->secretValue->length,
139 if (!ctx->unprotectedSend && ctx->secretValue == NULL
272 } else if (ctx->secretValue != NULL) {
273 /* use PasswordBasedMac according to 5.1.3.1 if secretValue is given */
H A Dcmp_ctx.c208 if (ctx->secretValue != NULL)
209 OPENSSL_cleanse(ctx->secretValue->data, ctx->secretValue->length);
210 ASN1_OCTET_STRING_free(ctx->secretValue);
463 ASN1_OCTET_STRING *secretValue = NULL; local
468 if (ossl_cmp_asn1_octet_string_set1_bytes(&secretValue, sec, len) != 1)
470 if (ctx->secretValue != NULL) {
471 OPENSSL_cleanse(ctx->secretValue->data, ctx->secretValue->length);
472 ASN1_OCTET_STRING_free(ctx->secretValue);
[all...]
H A Dcmp_server.c474 backup_secret = ctx->secretValue;
526 if (ctx->secretValue != NULL && ctx->pkey != NULL
528 ctx->secretValue = NULL; /* use MSG_SIG_ALG when protecting rsp */
609 ctx->secretValue = backup_secret;
H A Dcmp_local.h82 ASN1_OCTET_STRING *secretValue; /* password/shared secret for MSG_MAC_ALG */ member in struct:ossl_cmp_ctx_st
H A Dcmp_vfy.c570 if (ctx->secretValue == NULL) {
/freebsd-current/crypto/openssl/test/
H A Dcmp_ctx_test.c765 DEFINE_SET_GET1_STR_FN(set1, secretValue)

Completed in 131 milliseconds