Lines Matching refs:keys
246 * Predefined keys used for the setup are taken from "test/src/test_keys.h"
252 * \param curve_or_keybits - For RSA keys, the key size in bits.
253 * - For EC keys, the curve (\c MBEDTLS_ECP_DP_xxx).
273 TEST_FAIL("RSA keys not supported.");
297 TEST_FAIL("EC keys not supported.");
311 * - For RSA and EC keys predefined key data is used (as in the pk_setup() above).
319 * \param persistent_key_id PSA key ID for persistent keys. Set to PSA_KEY_ID_NULL
320 * for volatile keys.
344 /* For EC and RSA keys we use predefined keys in order to:
347 * For other keys (ex: DH) psa_generate_key() is used instead. */
356 TEST_FAIL("EC keys are not supported");
1045 * Note: opaque EC keys support check_pair(), whereas RSA ones do not. */
1828 * - sign with opaque context for both EC and RSA keys;
1830 * - verify that public keys of opaque and non-opaque contexts match;
1904 /* Only opaque EC keys support verification. */
1924 /* Check that the public keys of opaque and non-opaque PK contexts match. */
2588 /* Create 4 PK contexts starting from the PSA keys we just created. */
2594 /* Destroy both PSA keys to prove that generated PK contexts are independent
2624 /* Check consistency between copied PSA keys and generated PK contexts. */
2630 /* Test that the keys from mbedtls_pk_copy_public_from_psa() are identical
2631 * to the public keys from mbedtls_pk_copy_from_psa(). */