Lines Matching refs:crt
82 struct ica_rsa_modexpo_crt crt; in s390x_crt() local
102 crt.inputdata = part; in s390x_crt()
103 crt.inputdatalength = 2 * size; in s390x_crt()
105 crt.outputdata = part; in s390x_crt()
106 crt.outputdatalength = 2 * size; in s390x_crt()
108 crt.bp_key = part; in s390x_crt()
110 crt.bq_key = part; in s390x_crt()
112 crt.np_prime = part; in s390x_crt()
114 crt.nq_prime = part; in s390x_crt()
116 crt.u_mult_inv = part; in s390x_crt()
117 if (BN_bn2binpad(i, crt.inputdata, crt.inputdatalength) == -1 in s390x_crt()
118 || BN_bn2binpad(p, crt.np_prime, size + 8) == -1 in s390x_crt()
119 || BN_bn2binpad(q, crt.nq_prime, size) == -1 in s390x_crt()
120 || BN_bn2binpad(dmp, crt.bp_key, size + 8) == -1 in s390x_crt()
121 || BN_bn2binpad(dmq, crt.bq_key, size) == -1 in s390x_crt()
122 || BN_bn2binpad(iqmp, crt.u_mult_inv, size + 8) == -1) in s390x_crt()
124 if (ioctl(OPENSSL_s390xcex, ICARSACRT, &crt) != -1) { in s390x_crt()
125 if (BN_bin2bn(crt.outputdata, crt.outputdatalength, r) != NULL) in s390x_crt()