Lines Matching refs:crt
274 static inline int zcrypt_type6_crt_key(struct ica_rsa_modexpo_crt *crt, in zcrypt_type6_crt_key() argument
294 short_len = crt->inputdatalength / 2; in zcrypt_type6_crt_key()
297 key_len = 3*long_len + 2*short_len + pad_len + crt->inputdatalength; in zcrypt_type6_crt_key()
320 key->pvt.mod_len = crt->inputdatalength; in zcrypt_type6_crt_key()
324 if (copy_from_user(key->key_parts, crt->np_prime, long_len) || in zcrypt_type6_crt_key()
326 crt->nq_prime, short_len) || in zcrypt_type6_crt_key()
328 crt->bp_key, long_len) || in zcrypt_type6_crt_key()
330 crt->bq_key, short_len) || in zcrypt_type6_crt_key()
332 crt->u_mult_inv, long_len)) in zcrypt_type6_crt_key()
335 0xff, crt->inputdatalength); in zcrypt_type6_crt_key()
338 pub->modulus_bit_len = 8 * crt->inputdatalength; in zcrypt_type6_crt_key()