Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/s390/crypto/
Dzcrypt_cca_key.h183 char key_parts[0]; in zcrypt_type6_crt_key() member
224 if (copy_from_user(key->key_parts, crt->np_prime, long_len) || in zcrypt_type6_crt_key()
225 copy_from_user(key->key_parts + long_len, in zcrypt_type6_crt_key()
227 copy_from_user(key->key_parts + long_len + short_len, in zcrypt_type6_crt_key()
229 copy_from_user(key->key_parts + 2 * long_len + short_len, in zcrypt_type6_crt_key()
231 copy_from_user(key->key_parts + 2 * long_len + 2 * short_len, in zcrypt_type6_crt_key()
234 memset(key->key_parts + 3 * long_len + 2 * short_len + pad_len, in zcrypt_type6_crt_key()
236 pub = (struct cca_public_sec *)(key->key_parts + key_len); in zcrypt_type6_crt_key()
/linux-5.19.10/drivers/md/
Ddm-crypt.c203 unsigned int key_parts; /* independent parts in key buffer */ member
439 if (cc->key_parts == cc->tfms_count) { in crypt_iv_lmk_ctr()
457 int subkey_size = cc->key_size / cc->key_parts; in crypt_iv_lmk_init()
2778 cc->key_parts = 2; in crypt_ctr_ivmode()
2791 if (cc->key_size % cc->key_parts) { in crypt_ctr_ivmode()
2792 cc->key_parts++; in crypt_ctr_ivmode()
2793 cc->key_extra_size = cc->key_size / cc->key_parts; in crypt_ctr_ivmode()
2797 cc->key_parts += 2; /* IV + whitening */ in crypt_ctr_ivmode()
2906 cc->key_parts = cc->tfms_count; in crypt_ctr_cipher_new()
2952 cc->key_parts = cc->tfms_count; in crypt_ctr_cipher_old()
[all …]
/linux-5.19.10/Documentation/admin-guide/device-mapper/
Ddm-ima.rst385 [<sector_size> ","] [<cipher_string> ","] <key_size> "," <key_parts> ","
401 key_parts := "key_parts=" <N>
416 …iv_large_sectors=n,cipher_string=aes-xts-plain64,key_size=32,key_parts=1,key_extra_size=0,key_mac_…
/linux-5.19.10/drivers/net/ethernet/amazon/ena/
Dena_admin_defs.h728 u32 key_parts; member
Dena_com.c1097 hash_key->key_parts = ENA_ADMIN_RSS_KEY_PARTS; in ena_com_hash_key_fill_default_key()
2414 hash_key->key_parts = key_len / sizeof(hash_key->key[0]); in ena_com_fill_hash_function()
2471 (size_t)(hash_key->key_parts) * sizeof(hash_key->key[0])); in ena_com_get_hash_key()