Lines Matching refs:p
54 const OSSL_PARAM *p; in load_common() local
57 p = OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_PROPERTIES); in load_common()
58 if (p != NULL) { in load_common()
59 if (p->data_type != OSSL_PARAM_UTF8_STRING) in load_common()
61 *propquery = p->data; in load_common()
70 p = OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_ENGINE); in load_common()
71 if (p != NULL) { in load_common()
72 if (p->data_type != OSSL_PARAM_UTF8_STRING) in load_common()
75 *engine = ENGINE_by_id(p->data); in load_common()
95 const OSSL_PARAM *p; in ossl_prov_cipher_load_from_params() local
104 p = OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_CIPHER); in ossl_prov_cipher_load_from_params()
105 if (p == NULL) in ossl_prov_cipher_load_from_params()
107 if (p->data_type != OSSL_PARAM_UTF8_STRING) in ossl_prov_cipher_load_from_params()
112 pc->cipher = pc->alloc_cipher = EVP_CIPHER_fetch(ctx, p->data, propquery); in ossl_prov_cipher_load_from_params()
117 cipher = EVP_get_cipherbyname(p->data); in ossl_prov_cipher_load_from_params()
180 const OSSL_PARAM *p; in ossl_prov_digest_load_from_params() local
189 p = OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_DIGEST); in ossl_prov_digest_load_from_params()
190 if (p == NULL) in ossl_prov_digest_load_from_params()
192 if (p->data_type != OSSL_PARAM_UTF8_STRING) in ossl_prov_digest_load_from_params()
196 ossl_prov_digest_fetch(pd, ctx, p->data, propquery); in ossl_prov_digest_load_from_params()
201 md = EVP_get_digestbyname(p->data); in ossl_prov_digest_load_from_params()
233 const OSSL_PARAM *p; in ossl_prov_set_macctx() local
238 if ((p = OSSL_PARAM_locate_const(params, in ossl_prov_set_macctx()
240 if (p->data_type != OSSL_PARAM_UTF8_STRING) in ossl_prov_set_macctx()
242 mdname = p->data; in ossl_prov_set_macctx()
246 if ((p = OSSL_PARAM_locate_const(params, in ossl_prov_set_macctx()
248 if (p->data_type != OSSL_PARAM_UTF8_STRING) in ossl_prov_set_macctx()
250 ciphername = p->data; in ossl_prov_set_macctx()
254 if ((p = OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_ENGINE)) in ossl_prov_set_macctx()
256 if (p->data_type != OSSL_PARAM_UTF8_STRING) in ossl_prov_set_macctx()
258 engine = p->data; in ossl_prov_set_macctx()
297 const OSSL_PARAM *p; in ossl_prov_macctx_load_from_params() local
301 && (p = OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_MAC)) != NULL) { in ossl_prov_macctx_load_from_params()
302 if (p->data_type != OSSL_PARAM_UTF8_STRING) in ossl_prov_macctx_load_from_params()
304 macname = p->data; in ossl_prov_macctx_load_from_params()
306 if ((p = OSSL_PARAM_locate_const(params, in ossl_prov_macctx_load_from_params()
308 if (p->data_type != OSSL_PARAM_UTF8_STRING) in ossl_prov_macctx_load_from_params()
310 properties = p->data; in ossl_prov_macctx_load_from_params()