Home
last modified time | relevance | path

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

/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()
/drivers/md/
Ddm-crypt.c201 unsigned int key_parts; /* independent parts in key buffer */ member
437 if (cc->key_parts == cc->tfms_count) { in crypt_iv_lmk_ctr()
455 int subkey_size = cc->key_size / cc->key_parts; in crypt_iv_lmk_init()
2768 cc->key_parts = 2; in crypt_ctr_ivmode()
2781 if (cc->key_size % cc->key_parts) { in crypt_ctr_ivmode()
2782 cc->key_parts++; in crypt_ctr_ivmode()
2783 cc->key_extra_size = cc->key_size / cc->key_parts; in crypt_ctr_ivmode()
2787 cc->key_parts += 2; /* IV + whitening */ in crypt_ctr_ivmode()
2896 cc->key_parts = cc->tfms_count; in crypt_ctr_cipher_new()
2942 cc->key_parts = cc->tfms_count; in crypt_ctr_cipher_old()
/drivers/net/ethernet/amazon/ena/
Dena_admin_defs.h720 u32 key_parts; member
Dena_com.c1066 hash_key->key_parts = ENA_ADMIN_RSS_KEY_PARTS; in ena_com_hash_key_fill_default_key()
2342 hash_key->key_parts = key_len / sizeof(hash_key->key[0]); in ena_com_fill_hash_function()
2398 (size_t)(hash_key->key_parts) * sizeof(hash_key->key[0])); in ena_com_get_hash_key()