Lines Matching refs:long_len
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()
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()
219 copy_from_user(key->key_parts + 2 * long_len + 2 * short_len, in zcrypt_type6_crt_key()
220 crt->u_mult_inv, long_len)) in zcrypt_type6_crt_key()
222 memset(key->key_parts + 3 * long_len + 2 * short_len + pad_len, in zcrypt_type6_crt_key()