Home
last modified time | relevance | path

Searched refs:privtag (Results 1 – 1 of 1) sorted by relevance

/openssl/test/
H A Devp_extra_test2.c273 static int pkey_has_private(EVP_PKEY *key, const char *privtag, in pkey_has_private() argument
281 ret = EVP_PKEY_get_octet_string_param(key, privtag, buf, sizeof(buf), in pkey_has_private()
286 ret = EVP_PKEY_get_bn_param(key, privtag, &bn); in pkey_has_private()
298 const char *privtag = strcmp(keytype, "RSA") == 0 ? "d" : "priv"; in do_pkey_tofrom_data_select() local
306 || !TEST_ptr_null(OSSL_PARAM_locate(pub_params, privtag))) in do_pkey_tofrom_data_select()
313 || !TEST_ptr(OSSL_PARAM_locate(keypair_params, privtag))) in do_pkey_tofrom_data_select()
324 || !TEST_false(pkey_has_private(fromkey, privtag, use_octstring))) in do_pkey_tofrom_data_select()
332 || !TEST_true(pkey_has_private(fromkeypair, privtag, use_octstring))) in do_pkey_tofrom_data_select()

Completed in 8 milliseconds