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

/freebsd-11-stable/sys/geom/eli/
H A Dg_eli_key.c59 unsigned char hmkey[SHA512_MDLEN]; /* Key for HMAC. */ local
62 * The key for HMAC calculations is: hmkey = HMAC_SHA512(Derived-Key, 0)
64 g_eli_crypto_hmac(key, G_ELI_USERKEYLEN, "\x00", 1, hmkey, 0);
69 g_eli_crypto_hmac(hmkey, sizeof(hmkey), mkey, G_ELI_DATAIVKEYLEN,
72 explicit_bzero(hmkey, sizeof(hmkey));
87 unsigned char hmkey[SHA512_MDLEN]; /* Key for HMAC. */ local
91 * The key for HMAC calculations is: hmkey = HMAC_SHA512(Derived-Key, 0)
93 g_eli_crypto_hmac(key, G_ELI_USERKEYLEN, "\x00", 1, hmkey,
[all...]

Completed in 82 milliseconds