Lines Matching refs:propq
36 static EVP_PKEY *get_key(OSSL_LIB_CTX *libctx, const char *propq, int public) in get_key() argument
54 selection, libctx, propq); in get_key()
61 static void set_optional_params(OSSL_PARAM *p, const char *propq) in set_optional_params() argument
78 if (propq != NULL) in set_optional_params()
80 (char *)propq, 0); in set_optional_params()
103 const char *propq = NULL; in do_encrypt() local
109 pub_key = get_key(libctx, propq, public); in do_encrypt()
114 ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pub_key, propq); in do_encrypt()
119 set_optional_params(params, propq); in do_encrypt()
160 const char *propq = NULL; in do_decrypt() local
166 priv_key = get_key(libctx, propq, public); in do_decrypt()
171 ctx = EVP_PKEY_CTX_new_from_pkey(libctx, priv_key, propq); in do_decrypt()
178 set_optional_params(params, propq); in do_decrypt()