Home
last modified time | relevance | path

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

/linux/drivers/s390/crypto/
H A Dzcrypt_cca_key.h174 int short_len, long_len, pad_len, key_len, size; in zcrypt_type6_crt_key() local
188 long_len = short_len + 8; in zcrypt_type6_crt_key()
189 pad_len = -(3 * long_len + 2 * short_len) & 7; in zcrypt_type6_crt_key()
190 key_len = 3 * long_len + 2 * short_len + pad_len + crt->inputdatalength; in zcrypt_type6_crt_key()
206 key->pvt.p_len = key->pvt.dp_len = key->pvt.u_len = long_len; in zcrypt_type6_crt_key()
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()
216 crt->bp_key, long_len) || in zcrypt_type6_crt_key()
217 copy_from_user(key->key_parts + 2 * long_len + short_len, in zcrypt_type6_crt_key()
[all …]