Lines Matching refs:test_selection
735 static int test_selection(EVP_PKEY *pkey, int selection) in test_selection() function
809 if (!test_selection(just_params, OSSL_KEYMGMT_SELECT_ALL_PARAMETERS) in test_EVP_PKEY_ffc_priv_pub()
810 || test_selection(just_params, OSSL_KEYMGMT_SELECT_KEYPAIR)) in test_EVP_PKEY_ffc_priv_pub()
830 if (!test_selection(params_and_priv, OSSL_KEYMGMT_SELECT_PRIVATE_KEY) in test_EVP_PKEY_ffc_priv_pub()
831 || test_selection(params_and_priv, OSSL_KEYMGMT_SELECT_PUBLIC_KEY)) in test_EVP_PKEY_ffc_priv_pub()
851 if (!test_selection(params_and_pub, OSSL_KEYMGMT_SELECT_PUBLIC_KEY) in test_EVP_PKEY_ffc_priv_pub()
852 || test_selection(params_and_pub, OSSL_KEYMGMT_SELECT_PRIVATE_KEY)) in test_EVP_PKEY_ffc_priv_pub()
869 if (!test_selection(params_and_keypair, EVP_PKEY_KEYPAIR)) in test_EVP_PKEY_ffc_priv_pub()
945 if (!test_selection(just_params, OSSL_KEYMGMT_SELECT_ALL_PARAMETERS) in test_EC_priv_pub()
946 || test_selection(just_params, OSSL_KEYMGMT_SELECT_KEYPAIR)) in test_EC_priv_pub()
972 if (!test_selection(params_and_priv, OSSL_KEYMGMT_SELECT_ALL_PARAMETERS) in test_EC_priv_pub()
973 || test_selection(params_and_priv, OSSL_KEYMGMT_SELECT_PUBLIC_KEY)) in test_EC_priv_pub()
994 if (!test_selection(params_and_pub, OSSL_KEYMGMT_SELECT_PUBLIC_KEY) in test_EC_priv_pub()
995 || test_selection(params_and_pub, OSSL_KEYMGMT_SELECT_PRIVATE_KEY)) in test_EC_priv_pub()
1013 if (!test_selection(params_and_keypair, EVP_PKEY_KEYPAIR)) in test_EC_priv_pub()