Lines Matching refs:p

18     const OSSL_PARAM *p, *s;  in ossl_rsa_acvp_test_gen_params_new()  local
33 p = OSSL_PARAM_locate_const(src, settable[0].key); in ossl_rsa_acvp_test_gen_params_new()
34 if (p == NULL) in ossl_rsa_acvp_test_gen_params_new()
45 p = OSSL_PARAM_locate_const(src, s->key); in ossl_rsa_acvp_test_gen_params_new()
46 if (p != NULL) { in ossl_rsa_acvp_test_gen_params_new()
48 d->data_size = p->data_size; in ossl_rsa_acvp_test_gen_params_new()
49 d->data = OPENSSL_memdup(p->data, p->data_size); in ossl_rsa_acvp_test_gen_params_new()
67 OSSL_PARAM *p; in ossl_rsa_acvp_test_gen_params_free() local
72 for (p = dst; p->key != NULL; ++p) { in ossl_rsa_acvp_test_gen_params_free()
73 OPENSSL_free(p->data); in ossl_rsa_acvp_test_gen_params_free()
74 p->data = NULL; in ossl_rsa_acvp_test_gen_params_free()
82 const OSSL_PARAM *p; in ossl_rsa_acvp_test_set_params() local
94 if ((p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_TEST_XP1)) != NULL in ossl_rsa_acvp_test_set_params()
95 && !OSSL_PARAM_get_BN(p, &t->Xp1)) in ossl_rsa_acvp_test_set_params()
97 if ((p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_TEST_XP2)) != NULL in ossl_rsa_acvp_test_set_params()
98 && !OSSL_PARAM_get_BN(p, &t->Xp2)) in ossl_rsa_acvp_test_set_params()
100 if ((p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_TEST_XP)) != NULL in ossl_rsa_acvp_test_set_params()
101 && !OSSL_PARAM_get_BN(p, &t->Xp)) in ossl_rsa_acvp_test_set_params()
103 if ((p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_TEST_XQ1)) != NULL in ossl_rsa_acvp_test_set_params()
104 && !OSSL_PARAM_get_BN(p, &t->Xq1)) in ossl_rsa_acvp_test_set_params()
106 if ((p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_TEST_XQ2)) != NULL in ossl_rsa_acvp_test_set_params()
107 && !OSSL_PARAM_get_BN(p, &t->Xq2)) in ossl_rsa_acvp_test_set_params()
109 if ((p = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_TEST_XQ)) != NULL in ossl_rsa_acvp_test_set_params()
110 && !OSSL_PARAM_get_BN(p, &t->Xq)) in ossl_rsa_acvp_test_set_params()
128 OSSL_PARAM *p; in ossl_rsa_acvp_test_get_params() local
135 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_RSA_TEST_P1)) != NULL in ossl_rsa_acvp_test_get_params()
136 && !OSSL_PARAM_set_BN(p, t->p1)) in ossl_rsa_acvp_test_get_params()
138 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_RSA_TEST_P2)) != NULL in ossl_rsa_acvp_test_get_params()
139 && !OSSL_PARAM_set_BN(p, t->p2)) in ossl_rsa_acvp_test_get_params()
141 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_RSA_TEST_Q1)) != NULL in ossl_rsa_acvp_test_get_params()
142 && !OSSL_PARAM_set_BN(p, t->q1)) in ossl_rsa_acvp_test_get_params()
144 if ((p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_RSA_TEST_Q2)) != NULL in ossl_rsa_acvp_test_get_params()
145 && !OSSL_PARAM_set_BN(p, t->q2)) in ossl_rsa_acvp_test_get_params()