Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/md/
Ddm-crypt.c461 int subkey_size = cc->key_size / cc->key_parts; in crypt_iv_lmk_init() local
465 memcpy(lmk->seed, cc->key + (cc->tfms_count * subkey_size), in crypt_iv_lmk_init()
2410 unsigned int subkey_size; in crypt_setkey() local
2414 subkey_size = crypt_subkey_size(cc); in crypt_setkey()
2417 if (subkey_size < cc->key_mac_size) in crypt_setkey()
2421 subkey_size - cc->key_mac_size, in crypt_setkey()
2431 cc->key + (i * subkey_size), in crypt_setkey()
2432 subkey_size); in crypt_setkey()
2435 cc->key + (i * subkey_size), in crypt_setkey()
2436 subkey_size); in crypt_setkey()