Lines Matching refs:long_len
186 int short_len, long_len, pad_len, key_len, size; in zcrypt_type6_crt_key() local
200 long_len = short_len + 8; in zcrypt_type6_crt_key()
201 pad_len = -(3 * long_len + 2 * short_len) & 7; in zcrypt_type6_crt_key()
202 key_len = 3 * long_len + 2 * short_len + pad_len + crt->inputdatalength; in zcrypt_type6_crt_key()
218 key->pvt.p_len = key->pvt.dp_len = key->pvt.u_len = long_len; in zcrypt_type6_crt_key()
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()
228 crt->bp_key, long_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()
232 crt->u_mult_inv, long_len)) in zcrypt_type6_crt_key()
234 memset(key->key_parts + 3 * long_len + 2 * short_len + pad_len, in zcrypt_type6_crt_key()