Home
last modified time | relevance | path

Searched refs:G_ELI_DATAIVKEYLEN (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/geom/eli/
H A Dg_eli_key.c65 odhmac = mkey + G_ELI_DATAIVKEYLEN; in g_eli_mkey_verify()
68 g_eli_crypto_hmac(hmkey, sizeof(hmkey), mkey, G_ELI_DATAIVKEYLEN, in g_eli_mkey_verify()
94 odhmac = mkey + G_ELI_DATAIVKEYLEN; in g_eli_mkey_hmac()
96 g_eli_crypto_hmac(hmkey, sizeof(hmkey), mkey, G_ELI_DATAIVKEYLEN, in g_eli_mkey_hmac()
136 bcopy(tmpmkey, mkey, G_ELI_DATAIVKEYLEN); in g_eli_mkey_decrypt()
H A Dg_eli.h144 #define G_ELI_DATAIVKEYLEN (G_ELI_DATAKEYLEN + G_ELI_IVKEYLEN) macro
146 #define G_ELI_MKEYLEN (G_ELI_DATAIVKEYLEN + SHA512_MDLEN)
157 #if (MAX_KEY_BYTES < G_ELI_DATAIVKEYLEN)
186 uint8_t sc_mkey[G_ELI_DATAIVKEYLEN];
H A Dg_eli_ctl.c56 u_char *key, mkey[G_ELI_DATAIVKEYLEN]; in g_eli_ctl_attach()
257 u_char mkey[G_ELI_DATAIVKEYLEN]; in g_eli_ctl_onetime()
975 u_char *key, mkey[G_ELI_DATAIVKEYLEN]; in g_eli_ctl_resume()
H A Dg_eli.c1327 u_char key[G_ELI_USERKEYLEN], mkey[G_ELI_DATAIVKEYLEN]; in g_eli_taste()
/freebsd/stand/libsa/geli/
H A Dgeliboot.c222 u_char key[G_ELI_USERKEYLEN], mkey[G_ELI_DATAIVKEYLEN], *mkp; in geli_probe()
228 memcpy(&mkey, mkeyp, G_ELI_DATAIVKEYLEN); in geli_probe()
229 explicit_bzero(mkeyp, G_ELI_DATAIVKEYLEN); in geli_probe()
363 u_char mkey[G_ELI_DATAIVKEYLEN]; in geli_havekey()
/freebsd/lib/geom/eli/
H A Dgeom_eli.c1354 unsigned char key[G_ELI_USERKEYLEN], mkey[G_ELI_DATAIVKEYLEN]; in eli_setkey_detached()