Home
last modified time | relevance | path

Searched refs:G_ELI_USERKEYLEN (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/geom/eli/
H A Dg_eli_key.c63 g_eli_crypto_hmac(key, G_ELI_USERKEYLEN, "\x00", 1, hmkey, 0); in g_eli_mkey_verify()
92 g_eli_crypto_hmac(key, G_ELI_USERKEYLEN, "\x00", 1, hmkey, 0); in g_eli_mkey_hmac()
121 g_eli_crypto_hmac(key, G_ELI_USERKEYLEN, "\x01", 1, enckey, 0); in g_eli_mkey_decrypt()
195 g_eli_crypto_hmac(key, G_ELI_USERKEYLEN, "\x01", 1, enckey, 0); in g_eli_mkey_encrypt()
H A Dpkcs5v2.c105 uint8_t key[G_ELI_USERKEYLEN], salt[G_ELI_SALTLEN]; in pkcs5v2_probe()
H A Dg_eli_ctl.c133 if (key == NULL || keysize != G_ELI_USERKEYLEN) { in g_eli_ctl_attach()
658 if (key == NULL || keysize != G_ELI_USERKEYLEN) { in g_eli_ctl_setkey()
997 if (key == NULL || keysize != G_ELI_USERKEYLEN) { in g_eli_ctl_resume()
H A Dg_eli.c1327 u_char key[G_ELI_USERKEYLEN], mkey[G_ELI_DATAIVKEYLEN]; in g_eli_taste()
1443 u_char dkey[G_ELI_USERKEYLEN]; in g_eli_taste()
H A Dg_eli.h139 #define G_ELI_USERKEYLEN G_ELI_MAXKEYLEN macro
/freebsd/stand/libsa/geli/
H A Dgeliboot.c57 G_ELI_USERKEYLEN); in geli_export_key_buffer()
74 G_ELI_USERKEYLEN); in geli_import_key_buffer()
76 G_ELI_USERKEYLEN); in geli_import_key_buffer()
92 memcpy(saved_keys[nsaved_keys], key, G_ELI_USERKEYLEN); in geli_add_key()
222 u_char key[G_ELI_USERKEYLEN], mkey[G_ELI_DATAIVKEYLEN], *mkp; in geli_probe()
252 u_char dkey[G_ELI_USERKEYLEN]; in geli_probe()
H A Dgeliboot.h58 typedef u_char geli_ukey[G_ELI_USERKEYLEN];
/freebsd/lib/geom/eli/
H A Dgeom_eli.c559 unsigned char dkey[G_ELI_USERKEYLEN]; in eli_genkey_passphrase()
727 unsigned char key[G_ELI_USERKEYLEN]; in eli_init()
1058 unsigned char key[G_ELI_USERKEYLEN]; in eli_attach()
1319 unsigned char key[G_ELI_USERKEYLEN]; in eli_setkey_attached()
1354 unsigned char key[G_ELI_USERKEYLEN], mkey[G_ELI_DATAIVKEYLEN]; in eli_setkey_detached()
1555 unsigned char key[G_ELI_USERKEYLEN]; in eli_resume()