Home
last modified time | relevance | path

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

/linux/drivers/s390/crypto/
H A Dzcrypt_cca_key.h171 char key_parts[]; in zcrypt_type6_crt_key() member
212 if (copy_from_user(key->key_parts, crt->np_prime, long_len) || in zcrypt_type6_crt_key()
213 copy_from_user(key->key_parts + long_len, in zcrypt_type6_crt_key()
215 copy_from_user(key->key_parts + long_len + short_len, in zcrypt_type6_crt_key()
217 copy_from_user(key->key_parts + 2 * long_len + short_len, in zcrypt_type6_crt_key()
219 copy_from_user(key->key_parts + 2 * long_len + 2 * short_len, in zcrypt_type6_crt_key()
222 memset(key->key_parts + 3 * long_len + 2 * short_len + pad_len, in zcrypt_type6_crt_key()
224 pub = (struct cca_public_sec *)(key->key_parts + key_len); in zcrypt_type6_crt_key()
/linux/drivers/md/
H A Ddm-crypt.c212 unsigned int key_parts; /* independent parts in key buffer */ member
475 if (cc->key_parts == cc->tfms_count) { in crypt_iv_lmk_ctr()
493 int subkey_size = cc->key_size / cc->key_parts; in crypt_iv_lmk_init()
2876 cc->key_parts = 2; in crypt_ctr_ivmode()
2889 if (cc->key_size % cc->key_parts) { in crypt_ctr_ivmode()
2890 cc->key_parts++; in crypt_ctr_ivmode()
2891 cc->key_extra_size = cc->key_size / cc->key_parts; in crypt_ctr_ivmode()
2895 cc->key_parts += 2; /* IV + whitening */ in crypt_ctr_ivmode()
3004 cc->key_parts = cc->tfms_count; in crypt_ctr_cipher_new()
3050 cc->key_parts = cc->tfms_count; in crypt_ctr_cipher_old()
[all …]
/linux/Documentation/admin-guide/device-mapper/
H A 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/drivers/net/ethernet/amazon/ena/
H A Dena_admin_defs.h800 u32 key_parts; member
H A Dena_com.c1058 hash_key->key_parts = ENA_ADMIN_RSS_KEY_PARTS; in ena_com_hash_key_fill_default_key()
2406 hash_key->key_parts = key_len / sizeof(hash_key->key[0]); in ena_com_fill_hash_function()
2455 (size_t)(hash_key->key_parts) * sizeof(hash_key->key[0])); in ena_com_get_hash_key()