Searched refs:hmac_ctx (Results 1 - 6 of 6) sorted by relevance
/freebsd-10.1-release/crypto/openssh/ |
H A D | mac.c | 118 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) 188 if (ssh_hmac_init(mac->hmac_ctx, NULL, 0) < 0 || 189 ssh_hmac_update(mac->hmac_ctx, b, sizeof(b)) < 0 || 190 ssh_hmac_update(mac->hmac_ctx, data, datalen) < 0 || 191 ssh_hmac_final(mac->hmac_ctx, u.m, sizeof(u.m)) < 0) 219 } else if (mac->hmac_ctx != NULL) 220 ssh_hmac_free(mac->hmac_ctx); 221 mac->hmac_ctx [all...] |
H A D | kex.h | 109 struct ssh_hmac_ctx *hmac_ctx; member in struct:Mac
|
/freebsd-10.1-release/sys/geom/eli/ |
H A D | g_eli_crypto.c | 240 g_eli_crypto_hmac_init(struct hmac_ctx *ctx, const uint8_t *hkey, 272 g_eli_crypto_hmac_update(struct hmac_ctx *ctx, const uint8_t *data, 280 g_eli_crypto_hmac_final(struct hmac_ctx *ctx, uint8_t *md, size_t mdsize) 304 struct hmac_ctx ctx;
|
H A D | g_eli.h | 607 struct hmac_ctx { struct 612 void g_eli_crypto_hmac_init(struct hmac_ctx *ctx, const uint8_t *hkey, 614 void g_eli_crypto_hmac_update(struct hmac_ctx *ctx, const uint8_t *data, 616 void g_eli_crypto_hmac_final(struct hmac_ctx *ctx, uint8_t *md, size_t mdsize);
|
H A D | g_eli.c | 978 g_eli_keyfiles_load(struct hmac_ctx *ctx, const char *provider) 1043 struct hmac_ctx ctx;
|
/freebsd-10.1-release/sbin/geom/class/eli/ |
H A D | geom_eli.c | 347 struct hmac_ctx *ctxp, char *passbuf, size_t passbufsize) 463 struct hmac_ctx *ctxp) 535 struct hmac_ctx ctx;
|
Completed in 153 milliseconds