Searched refs:hmac_ctx (Results 1 - 9 of 9) sorted by relevance
/freebsd-11-stable/crypto/openssh/ |
H A D | mac.h | 39 struct ssh_hmac_ctx *hmac_ctx; member in struct:sshmac
|
H A D | mac.c | 120 if ((mac->hmac_ctx = ssh_hmac_start(macalg->alg)) == NULL) 156 if (mac->hmac_ctx == NULL || 157 ssh_hmac_init(mac->hmac_ctx, mac->key, mac->key_len) < 0) 192 if (ssh_hmac_init(mac->hmac_ctx, NULL, 0) < 0 || 193 ssh_hmac_update(mac->hmac_ctx, b, sizeof(b)) < 0 || 194 ssh_hmac_update(mac->hmac_ctx, data, datalen) < 0 || 195 ssh_hmac_final(mac->hmac_ctx, u.m, sizeof(u.m)) < 0) 246 } else if (mac->hmac_ctx != NULL) 247 ssh_hmac_free(mac->hmac_ctx); 248 mac->hmac_ctx [all...] |
/freebsd-11-stable/sys/geom/eli/ |
H A D | g_eli_hmac.c | 49 g_eli_crypto_hmac_init(struct hmac_ctx *ctx, const uint8_t *hkey, 85 g_eli_crypto_hmac_update(struct hmac_ctx *ctx, const uint8_t *data, 93 g_eli_crypto_hmac_final(struct hmac_ctx *ctx, uint8_t *md, size_t mdsize) 116 struct hmac_ctx ctx;
|
H A D | pkcs5v2.c | 59 struct hmac_ctx startpoint, ctx;
|
H A D | g_eli.h | 703 struct hmac_ctx { struct 708 void g_eli_crypto_hmac_init(struct hmac_ctx *ctx, const uint8_t *hkey, 710 void g_eli_crypto_hmac_update(struct hmac_ctx *ctx, const uint8_t *data, 712 void g_eli_crypto_hmac_final(struct hmac_ctx *ctx, uint8_t *md, size_t mdsize);
|
H A D | g_eli.c | 981 g_eli_keyfiles_load(struct hmac_ctx *ctx, const char *provider) 1053 struct hmac_ctx ctx;
|
/freebsd-11-stable/contrib/unbound/util/ |
H A D | net_help.c | 97 * @param hmac_ctx: the hmac context, function sets this. 107 EVP_MAC_CTX *hmac_ctx, 109 HMAC_CTX* hmac_ctx, 1465 EVP_MAC_CTX *hmac_ctx, variable 1467 HMAC_CTX* hmac_ctx, 1503 EVP_MAC_CTX_set_params(hmac_ctx, params); 1505 EVP_MAC_set_ctx_params(hmac_ctx, params); 1508 if (HMAC_Init_ex(hmac_ctx, ticket_keys->hmac_key, 32, digest, NULL) != 1) { 1513 HMAC_Init_ex(hmac_ctx, ticket_keys->hmac_key, 32, digest, NULL); 1538 EVP_MAC_CTX_set_params(hmac_ctx, param [all...] |
/freebsd-11-stable/stand/libsa/geli/ |
H A D | geliboot.c | 226 struct hmac_ctx ctx;
|
/freebsd-11-stable/sbin/geom/class/eli/ |
H A D | geom_eli.c | 363 struct hmac_ctx *ctxp, char *passbuf, size_t passbufsize) 479 struct hmac_ctx *ctxp) 551 struct hmac_ctx ctx;
|
Completed in 83 milliseconds