Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/s390/crypto/
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 …]
/linux-6.12.1/fs/fat/
Ddir.c560 int long_len; member
653 both->long_len = fill_len; in __fat_readdir()
746 int long_len = buf->long_len; \
750 if (long_len >= sizeof(d1->d_name)) \
751 long_len = sizeof(d1->d_name) - 1; \
755 if (copy_to_user(d2->d_name, longname, long_len) || \
756 put_user(0, d2->d_name + long_len) || \
757 put_user(long_len, &d2->d_reclen) || \