Searched refs:long_len (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/s390/crypto/ |
H A D | zcrypt_cca_key.h | 174 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() 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() 220 crt->u_mult_inv, long_len)) in zcrypt_type6_crt_key() [all …]
|
/openbmc/linux/fs/fat/ |
H A D | dir.c | 548 int long_len; member 641 both->long_len = fill_len; in __fat_readdir() 734 int long_len = buf->long_len; \ 738 if (long_len >= sizeof(d1->d_name)) \ 739 long_len = sizeof(d1->d_name) - 1; \ 743 if (copy_to_user(d2->d_name, longname, long_len) || \ 744 put_user(0, d2->d_name + long_len) || \ 745 put_user(long_len, &d2->d_reclen) || \
|