Symbol: hmac_ctx
crypto/libecc/src/sig/ecdsa_common.c
103
ret = hmac_init(&hmac_ctx, K, hsize, hash_type); EG(ret, err);
crypto/libecc/src/sig/ecdsa_common.c
104
ret = hmac_update(&hmac_ctx, V, hsize); EG(ret, err);
crypto/libecc/src/sig/ecdsa_common.c
107
ret = hmac_update(&hmac_ctx, &tmp, 1); EG(ret, err);
crypto/libecc/src/sig/ecdsa_common.c
108
ret = hmac_update(&hmac_ctx, priv_key_buff, q_len); EG(ret, err);
crypto/libecc/src/sig/ecdsa_common.c
111
ret = hmac_update(&hmac_ctx, T, q_len); EG(ret, err);
crypto/libecc/src/sig/ecdsa_common.c
113
ret = hmac_finalize(&hmac_ctx, K, &hmac_size); EG(ret, err);
crypto/libecc/src/sig/ecdsa_common.c
152
ret = hmac_init(&hmac_ctx, K, hsize, hash_type); EG(ret, err);
crypto/libecc/src/sig/ecdsa_common.c
153
ret = hmac_update(&hmac_ctx, V, hsize); EG(ret, err);
crypto/libecc/src/sig/ecdsa_common.c
156
ret = hmac_update(&hmac_ctx, &tmp, 1); EG(ret, err);
crypto/libecc/src/sig/ecdsa_common.c
159
ret = hmac_finalize(&hmac_ctx, K, &hmac_size); EG(ret, err);
crypto/libecc/src/sig/ecdsa_common.c
57
hmac_context hmac_ctx;
crypto/libecc/src/sig/ecdsa_common.c
81
ret = hmac_init(&hmac_ctx, K, hsize, hash_type); EG(ret, err);
crypto/libecc/src/sig/ecdsa_common.c
82
ret = hmac_update(&hmac_ctx, V, hsize); EG(ret, err);
crypto/libecc/src/sig/ecdsa_common.c
85
ret = hmac_update(&hmac_ctx, &tmp, 1); EG(ret, err);
crypto/libecc/src/sig/ecdsa_common.c
86
ret = hmac_update(&hmac_ctx, priv_key_buff, q_len); EG(ret, err);
crypto/libecc/src/sig/ecdsa_common.c
95
ret = hmac_update(&hmac_ctx, T, q_len); EG(ret, err);
crypto/libecc/src/sig/ecdsa_common.c
97
ret = hmac_finalize(&hmac_ctx, K, &hmac_size); EG(ret, err);
crypto/openssh/mac.c
110
if ((mac->hmac_ctx = ssh_hmac_start(macalg->alg)) == NULL)
crypto/openssh/mac.c
146
if (mac->hmac_ctx == NULL ||
crypto/openssh/mac.c
147
ssh_hmac_init(mac->hmac_ctx, mac->key, mac->key_len) < 0)
crypto/openssh/mac.c
182
if (ssh_hmac_init(mac->hmac_ctx, NULL, 0) < 0 ||
crypto/openssh/mac.c
183
ssh_hmac_update(mac->hmac_ctx, b, sizeof(b)) < 0 ||
crypto/openssh/mac.c
184
ssh_hmac_update(mac->hmac_ctx, data, datalen) < 0 ||
crypto/openssh/mac.c
185
ssh_hmac_final(mac->hmac_ctx, u.m, sizeof(u.m)) < 0)
crypto/openssh/mac.c
236
} else if (mac->hmac_ctx != NULL)
crypto/openssh/mac.c
237
ssh_hmac_free(mac->hmac_ctx);
crypto/openssh/mac.c
238
mac->hmac_ctx = NULL;
crypto/openssh/mac.h
39
struct ssh_hmac_ctx *hmac_ctx;
crypto/openssl/crypto/slh_dsa/slh_dsa_hash_ctx.c
111
EVP_MAC_CTX_free(ctx->hmac_ctx);
crypto/openssl/crypto/slh_dsa/slh_dsa_hash_ctx.c
52
ret->hmac_ctx = EVP_MAC_CTX_new(key->hmac);
crypto/openssl/crypto/slh_dsa/slh_dsa_hash_ctx.c
53
if (ret->hmac_ctx == NULL)
crypto/openssl/crypto/slh_dsa/slh_dsa_hash_ctx.c
90
if (src->hmac_ctx != NULL
crypto/openssl/crypto/slh_dsa/slh_dsa_hash_ctx.c
91
&& (ret->hmac_ctx = EVP_MAC_CTX_dup(src->hmac_ctx)) == NULL)
crypto/openssl/crypto/slh_dsa/slh_dsa_local.h
52
EVP_MAC_CTX *hmac_ctx; /* required by SHA algorithms for PRFmsg() */
crypto/openssl/crypto/slh_dsa/slh_hash.c
178
EVP_MAC_CTX *mctx = hctx->hmac_ctx;
lib/geom/eli/geom_eli.c
1050
struct hmac_ctx ctxtemplate;
lib/geom/eli/geom_eli.c
371
struct hmac_ctx *ctxp, char *passbuf, size_t passbufsize)
lib/geom/eli/geom_eli.c
487
struct hmac_ctx *ctxp)
lib/geom/eli/geom_eli.c
572
eli_init_key_hmac_ctx(struct gctl_req *req, struct hmac_ctx *ctx, bool new)
lib/geom/eli/geom_eli.c
593
eli_genkey(struct gctl_req *req, const struct hmac_ctx *ctxtemplate,
lib/geom/eli/geom_eli.c
596
struct hmac_ctx ctx;
lib/geom/eli/geom_eli.c
612
struct hmac_ctx ctx;
lib/geom/eli/geom_eli.c
735
struct hmac_ctx ctxtemplate;
stand/libsa/geli/geliboot.c
224
struct hmac_ctx ctx;
sys/geom/eli/g_eli.c
1253
g_eli_keyfiles_load(struct hmac_ctx *ctx, const char *provider)
sys/geom/eli/g_eli.c
1325
struct hmac_ctx ctx;
sys/geom/eli/g_eli.h
734
void g_eli_crypto_hmac_init(struct hmac_ctx *ctx, const char *hkey,
sys/geom/eli/g_eli.h
736
void g_eli_crypto_hmac_update(struct hmac_ctx *ctx, const uint8_t *data,
sys/geom/eli/g_eli.h
738
void g_eli_crypto_hmac_final(struct hmac_ctx *ctx, uint8_t *md, size_t mdsize);
sys/geom/eli/g_eli_hmac.c
113
struct hmac_ctx ctx;
sys/geom/eli/g_eli_hmac.c
46
g_eli_crypto_hmac_init(struct hmac_ctx *ctx, const char *hkey,
sys/geom/eli/g_eli_hmac.c
82
g_eli_crypto_hmac_update(struct hmac_ctx *ctx, const uint8_t *data,
sys/geom/eli/g_eli_hmac.c
90
g_eli_crypto_hmac_final(struct hmac_ctx *ctx, uint8_t *md, size_t mdsize)
sys/geom/eli/pkcs5v2.c
68
struct hmac_ctx startpoint, ctx;