Searched refs:G_ELI_USERKEYLEN (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/geom/eli/ |
H A D | g_eli_key.c | 63 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 D | pkcs5v2.c | 105 uint8_t key[G_ELI_USERKEYLEN], salt[G_ELI_SALTLEN]; in pkcs5v2_probe()
|
H A D | g_eli_ctl.c | 133 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 D | g_eli.c | 1327 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 D | g_eli.h | 139 #define G_ELI_USERKEYLEN G_ELI_MAXKEYLEN macro
|
/freebsd/stand/libsa/geli/ |
H A D | geliboot.c | 57 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 D | geliboot.h | 58 typedef u_char geli_ukey[G_ELI_USERKEYLEN];
|
/freebsd/lib/geom/eli/ |
H A D | geom_eli.c | 559 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()
|