Home
last modified time | relevance | path

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

/drivers/s390/crypto/
Dzcrypt_cca_key.h289 char key_parts[0]; in zcrypt_type6_crt_key() member
326 if (copy_from_user(key->key_parts, crt->np_prime, long_len) || in zcrypt_type6_crt_key()
327 copy_from_user(key->key_parts + long_len, in zcrypt_type6_crt_key()
329 copy_from_user(key->key_parts + long_len + short_len, in zcrypt_type6_crt_key()
331 copy_from_user(key->key_parts + 2*long_len + short_len, in zcrypt_type6_crt_key()
333 copy_from_user(key->key_parts + 2*long_len + 2*short_len, in zcrypt_type6_crt_key()
336 memset(key->key_parts + 3*long_len + 2*short_len + pad_len, in zcrypt_type6_crt_key()
338 pub = (struct cca_public_sec *)(key->key_parts + key_len); in zcrypt_type6_crt_key()
/drivers/md/
Ddm-crypt.c173 unsigned int key_parts; member
495 if (cc->key_parts == cc->tfms_count) { in crypt_iv_lmk_ctr()
513 int subkey_size = cc->key_size / cc->key_parts; in crypt_iv_lmk_init()
1445 cc->key_parts = cc->tfms_count; in crypt_ctr_cipher()
1537 if (cc->key_size % cc->key_parts) in crypt_ctr_cipher()
1538 cc->key_parts++; in crypt_ctr_cipher()