Lines Matching refs:t
81 RSA_ACVP_TEST *t; in ossl_rsa_acvp_test_set_params() local
89 t = OPENSSL_zalloc(sizeof(*t)); in ossl_rsa_acvp_test_set_params()
90 if (t == NULL) in ossl_rsa_acvp_test_set_params()
95 && !OSSL_PARAM_get_BN(p, &t->Xp1)) in ossl_rsa_acvp_test_set_params()
98 && !OSSL_PARAM_get_BN(p, &t->Xp2)) in ossl_rsa_acvp_test_set_params()
101 && !OSSL_PARAM_get_BN(p, &t->Xp)) in ossl_rsa_acvp_test_set_params()
104 && !OSSL_PARAM_get_BN(p, &t->Xq1)) in ossl_rsa_acvp_test_set_params()
107 && !OSSL_PARAM_get_BN(p, &t->Xq2)) in ossl_rsa_acvp_test_set_params()
110 && !OSSL_PARAM_get_BN(p, &t->Xq)) in ossl_rsa_acvp_test_set_params()
114 t->p1 = BN_new(); in ossl_rsa_acvp_test_set_params()
115 t->p2 = BN_new(); in ossl_rsa_acvp_test_set_params()
116 t->q1 = BN_new(); in ossl_rsa_acvp_test_set_params()
117 t->q2 = BN_new(); in ossl_rsa_acvp_test_set_params()
118 r->acvp_test = t; in ossl_rsa_acvp_test_set_params()
121 ossl_rsa_acvp_test_free(t); in ossl_rsa_acvp_test_set_params()
127 RSA_ACVP_TEST *t; in ossl_rsa_acvp_test_get_params() local
133 t = r->acvp_test; in ossl_rsa_acvp_test_get_params()
134 if (t != NULL) { in ossl_rsa_acvp_test_get_params()
136 && !OSSL_PARAM_set_BN(p, t->p1)) in ossl_rsa_acvp_test_get_params()
139 && !OSSL_PARAM_set_BN(p, t->p2)) in ossl_rsa_acvp_test_get_params()
142 && !OSSL_PARAM_set_BN(p, t->q1)) in ossl_rsa_acvp_test_get_params()
145 && !OSSL_PARAM_set_BN(p, t->q2)) in ossl_rsa_acvp_test_get_params()
151 void ossl_rsa_acvp_test_free(RSA_ACVP_TEST *t) in ossl_rsa_acvp_test_free() argument
153 if (t != NULL) { in ossl_rsa_acvp_test_free()
154 BN_free(t->Xp1); in ossl_rsa_acvp_test_free()
155 BN_free(t->Xp2); in ossl_rsa_acvp_test_free()
156 BN_free(t->Xp); in ossl_rsa_acvp_test_free()
157 BN_free(t->Xq1); in ossl_rsa_acvp_test_free()
158 BN_free(t->Xq2); in ossl_rsa_acvp_test_free()
159 BN_free(t->Xq); in ossl_rsa_acvp_test_free()
160 BN_free(t->p1); in ossl_rsa_acvp_test_free()
161 BN_free(t->p2); in ossl_rsa_acvp_test_free()
162 BN_free(t->q1); in ossl_rsa_acvp_test_free()
163 BN_free(t->q2); in ossl_rsa_acvp_test_free()
164 OPENSSL_free(t); in ossl_rsa_acvp_test_free()