Home
last modified time | relevance | path

Searched refs:PSA_KEY_USAGE_DERIVE (Results 1 – 25 of 26) sorted by relevance

12

/mbedtls-3.4.0/tests/suites/
Dtest_suite_psa_crypto_pake.data3 ecjpake_setup:PSA_ALG_JPAKE:PSA_KEY_TYPE_PASSWORD:PSA_KEY_USAGE_DERIVE:PSA_PAKE_PRIMITIVE(PSA_PAKE_…
7 ecjpake_setup:PSA_ALG_SHA_256:PSA_KEY_TYPE_PASSWORD:PSA_KEY_USAGE_DERIVE:PSA_PAKE_PRIMITIVE(PSA_PAK…
11 ecjpake_setup:PSA_ALG_JPAKE:PSA_KEY_TYPE_PASSWORD:PSA_KEY_USAGE_DERIVE:PSA_PAKE_PRIMITIVE(PSA_PAKE_…
15 ecjpake_setup:PSA_ALG_JPAKE:PSA_KEY_TYPE_PASSWORD:PSA_KEY_USAGE_DERIVE:PSA_PAKE_PRIMITIVE(PSA_PAKE_…
19 ecjpake_setup:PSA_ALG_JPAKE:PSA_KEY_TYPE_PASSWORD:PSA_KEY_USAGE_DERIVE:PSA_PAKE_PRIMITIVE(PSA_PAKE_…
23 ecjpake_setup:PSA_ALG_JPAKE:PSA_KEY_TYPE_PASSWORD:PSA_KEY_USAGE_DERIVE:PSA_PAKE_PRIMITIVE(PSA_PAKE_…
27 ecjpake_setup:PSA_ALG_JPAKE:PSA_KEY_TYPE_PASSWORD:PSA_KEY_USAGE_DERIVE:PSA_PAKE_PRIMITIVE(PSA_PAKE_…
31 ecjpake_setup:PSA_ALG_JPAKE:PSA_KEY_TYPE_PASSWORD:PSA_KEY_USAGE_DERIVE:PSA_PAKE_PRIMITIVE(PSA_PAKE_…
35 ecjpake_setup:PSA_ALG_JPAKE:PSA_KEY_TYPE_HMAC:PSA_KEY_USAGE_DERIVE:PSA_PAKE_PRIMITIVE(PSA_PAKE_PRIM…
43 ecjpake_setup:PSA_ALG_JPAKE:PSA_KEY_TYPE_PASSWORD:PSA_KEY_USAGE_DERIVE:PSA_PAKE_PRIMITIVE(PSA_PAKE_…
[all …]
Dtest_suite_psa_crypto_storage_format.current.data33 key_storage_save:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_DERIVE:0x0000:0x0000:"4b":"505341004b…
69 key_storage_save:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_DERIVE:0x0000…
73 key_storage_save:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_DERIVE | PSA_KEY_USAGE_ENCRYPT:0x0000…
105 …_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_COPY | PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_DERIVE | PSA_KEY_U…
881 …0001:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_BRAINPOOL_P_R1):160:PSA_KEY_USAGE_DERIVE | PSA_KEY_U…
917 …0001:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_BRAINPOOL_P_R1):160:PSA_KEY_USAGE_DERIVE | PSA_KEY_U…
921 …0001:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_BRAINPOOL_P_R1):160:PSA_KEY_USAGE_DERIVE | PSA_KEY_U…
925 …0001:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_BRAINPOOL_P_R1):160:PSA_KEY_USAGE_DERIVE | PSA_KEY_U…
929 …0001:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_BRAINPOOL_P_R1):160:PSA_KEY_USAGE_DERIVE | PSA_KEY_U…
933 …0001:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_BRAINPOOL_P_R1):160:PSA_KEY_USAGE_DERIVE | PSA_KEY_U…
[all …]
Dtest_suite_pk.data101 …_PAIR(PSA_ECC_FAMILY_SECP_R1):PSA_KEY_USAGE_DERIVE:PSA_ALG_ECDH:PSA_ALG_NONE:256:PSA_ALG_STREAM_CI…
105 …CC_FAMILY_SECP_R1):PSA_KEY_USAGE_DERIVE:PSA_ALG_ECDH:PSA_ALG_NONE:256:PSA_ALG_RSA_PKCS1V15_SIGN(PS…
109 …IR(PSA_ECC_FAMILY_SECP_R1):PSA_KEY_USAGE_DERIVE:PSA_ALG_ECDH:PSA_ALG_NONE:256:PSA_ALG_RSA_PKCS1V15…
113 …PSA_ECC_FAMILY_SECP_R1):PSA_KEY_USAGE_DERIVE:PSA_ALG_ECDH:PSA_ALG_NONE:256:PSA_ALG_RSA_PSS(PSA_ALG…
117 …(PSA_ECC_FAMILY_SECP_R1):PSA_KEY_USAGE_DERIVE:PSA_ALG_ECDH:PSA_ALG_NONE:256:PSA_ALG_ECDSA(PSA_ALG_…
121 …_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):PSA_KEY_USAGE_DERIVE:PSA_ALG_ECDH:PSA_ALG_NONE:256:PSA_ALG_ECDH:
125 pk_can_do_ext:1:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):PSA_KEY_USAGE_DERIVE|PSA_KEY_USAG…
129 …ILY_SECP_R1):PSA_KEY_USAGE_DERIVE|PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_ECDH:PSA_ALG_ECDSA(PSA_ALG_ANY_H…
133 …ILY_SECP_R1):PSA_KEY_USAGE_DERIVE|PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_ECDH:PSA_ALG_ECDSA(PSA_ALG_ANY_H…
137 …R1):PSA_KEY_USAGE_DERIVE|PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_ECDH:PSA_ALG_ECDSA(PSA_ALG_ANY_HASH):256:…
[all …]
Dtest_suite_psa_crypto_storage_format.v0.data37 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_DERIVE:0x0000:0x0000:"4b":"505341004b…
73 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_DERIVE:0x0000…
77 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_DERIVE | PSA_KEY_USAGE_ENCRYPT:0x0000…
109 …_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_COPY | PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_DERIVE | PSA_KEY_U…
125 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_DERIVE:0x0000:0x0000:"4b":"505341004b…
161 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_DERIVE:0x0000…
165 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_DERIVE | PSA_KEY_USAGE_ENCRYPT:0x0000…
969 …0001:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_BRAINPOOL_P_R1):160:PSA_KEY_USAGE_DERIVE | PSA_KEY_U…
1005 …0001:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_BRAINPOOL_P_R1):160:PSA_KEY_USAGE_DERIVE | PSA_KEY_U…
1009 …0001:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_BRAINPOOL_P_R1):160:PSA_KEY_USAGE_DERIVE | PSA_KEY_U…
[all …]
Dtest_suite_psa_crypto.data1009 derive_key_policy:PSA_KEY_USAGE_DERIVE:PSA_ALG_HKDF(PSA_ALG_SHA_256):PSA_KEY_TYPE_DERIVE:"aaaaaaaaa…
1013 derive_key_policy:PSA_KEY_USAGE_DERIVE:PSA_ALG_TLS12_PRF(PSA_ALG_SHA_256):PSA_KEY_TYPE_DERIVE:"aaaa…
1025 derive_key_policy:PSA_KEY_USAGE_DERIVE:PSA_ALG_HKDF(PSA_ALG_SHA_256):PSA_KEY_TYPE_DERIVE:"aaaaaaaaa…
1029 derive_key_policy:PSA_KEY_USAGE_DERIVE:PSA_ALG_TLS12_PRF(PSA_ALG_SHA_256):PSA_KEY_TYPE_DERIVE:"aaaa…
1033 agreement_key_policy:PSA_KEY_USAGE_DERIVE:PSA_ALG_KEY_AGREEMENT(PSA_ALG_ECDH, PSA_ALG_HKDF(PSA_ALG_…
1041 agreement_key_policy:PSA_KEY_USAGE_DERIVE:PSA_ALG_KEY_AGREEMENT(PSA_ALG_ECDH, PSA_ALG_HKDF(PSA_ALG_…
1045 agreement_key_policy:PSA_KEY_USAGE_DERIVE:PSA_ALG_KEY_AGREEMENT(PSA_ALG_ECDH, PSA_ALG_HKDF(PSA_ALG_…
1049 agreement_key_policy:PSA_KEY_USAGE_DERIVE:PSA_ALG_ECDH:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SEC…
1053 raw_agreement_key_policy:PSA_KEY_USAGE_DERIVE:PSA_ALG_ECDH:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY…
1061 raw_agreement_key_policy:PSA_KEY_USAGE_DERIVE:PSA_ALG_ECDH:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY…
[all …]
Dtest_suite_psa_crypto_op_fail.function352 PSA_KEY_USAGE_DERIVE );
Dtest_suite_psa_crypto.function2336 ( policy_usage & PSA_KEY_USAGE_DERIVE ) != 0 )
7425 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_DERIVE );
7515 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_DERIVE );
7649 psa_set_key_usage_flags( &attributes1, PSA_KEY_USAGE_DERIVE );
7685 psa_set_key_usage_flags( &attributes2, PSA_KEY_USAGE_DERIVE );
7703 psa_set_key_usage_flags( &attributes3, PSA_KEY_USAGE_DERIVE );
7823 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_DERIVE );
7937 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_DERIVE );
8005 psa_set_key_usage_flags( &base_attributes, PSA_KEY_USAGE_DERIVE );
8087 psa_set_key_usage_flags( &base_attributes, PSA_KEY_USAGE_DERIVE );
[all …]
Dtest_suite_psa_crypto_pake.function737 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_DERIVE );
797 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_DERIVE );
Dtest_suite_ssl.data349 …SHA256":MBEDTLS_PK_RSA:"":PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:PSA_KEY_USAGE_DERIVE:MBEDTLS_ERR…
365 …":MBEDTLS_PK_RSA:"abc123":PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:PSA_KEY_USAGE_DERIVE:MBEDTLS_ERR…
393 …K_RSA:"":PSA_ALG_RSA_PKCS1V15_SIGN(PSA_ALG_ANY_HASH):PSA_ALG_NONE:PSA_KEY_USAGE_DERIVE:MBEDTLS_ERR…
417 …K_RSA:"":PSA_ALG_RSA_PKCS1V15_SIGN(PSA_ALG_ANY_HASH):PSA_ALG_NONE:PSA_KEY_USAGE_DERIVE:MBEDTLS_ERR…
437 …:MBEDTLS_PK_ECDSA:"":PSA_ALG_ECDSA(PSA_ALG_ANY_HASH):PSA_ALG_NONE:PSA_KEY_USAGE_DERIVE:MBEDTLS_ERR…
445 …AES-256-CBC-SHA384":MBEDTLS_PK_ECDSA:"":PSA_ALG_ECDH:PSA_ALG_NONE:PSA_KEY_USAGE_DERIVE:0:MBEDTLS_T…
449 …:MBEDTLS_PK_ECDSA:"":PSA_ALG_ECDSA(PSA_ALG_ANY_HASH):PSA_ALG_NONE:PSA_KEY_USAGE_DERIVE:MBEDTLS_ERR…
461 …_ALG_ECDSA(PSA_ALG_ANY_HASH):PSA_ALG_ECDH:PSA_KEY_USAGE_SIGN_HASH|PSA_KEY_USAGE_DERIVE:0:MBEDTLS_T…
465 …A_ALG_ECDSA(PSA_ALG_SHA_384):PSA_ALG_ECDH:PSA_KEY_USAGE_SIGN_HASH|PSA_KEY_USAGE_DERIVE:0:MBEDTLS_T…
469 …_ALG_ECDSA(PSA_ALG_ANY_HASH):PSA_ALG_NONE:PSA_KEY_USAGE_SIGN_HASH|PSA_KEY_USAGE_DERIVE:MBEDTLS_ERR…
/mbedtls-3.4.0/programs/ssl/
Dssl_test_lib.c282 *usage |= PSA_KEY_USAGE_DERIVE; in key_opaque_set_alg_usage()
296 *usage = PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_DERIVE; in key_opaque_set_alg_usage()
Dssl_client2.c2086 psa_set_key_usage_flags( &key_attributes, PSA_KEY_USAGE_DERIVE ); in main()
Dssl_server2.c1306 psa_set_key_usage_flags( &key_attributes, PSA_KEY_USAGE_DERIVE ); in psa_setup_psk_key_slot()
/mbedtls-3.4.0/programs/psa/
Dkey_ladder_demo.c205 PSA_KEY_USAGE_DERIVE | PSA_KEY_USAGE_EXPORT ); in generate()
285 PSA_KEY_USAGE_DERIVE | PSA_KEY_USAGE_EXPORT ); in derive_key_ladder()
559 PSA_CHECK( import_key_from_file( PSA_KEY_USAGE_DERIVE | PSA_KEY_USAGE_EXPORT, in run()
Dpsa_constant_names_generated.c406 if (usage & PSA_KEY_USAGE_DERIVE) { in psa_snprint_key_usage()
411 usage ^= PSA_KEY_USAGE_DERIVE; in psa_snprint_key_usage()
/mbedtls-3.4.0/tests/src/
Dpsa_exercise_key.c491 if( usage & PSA_KEY_USAGE_DERIVE ) in exercise_key_derivation_key()
609 if( usage & PSA_KEY_USAGE_DERIVE ) in exercise_raw_key_agreement_key()
632 if( usage & PSA_KEY_USAGE_DERIVE ) in exercise_key_agreement_key()
1017 return( PSA_KEY_USAGE_DERIVE ); in mbedtls_test_psa_usage_to_exercise()
/mbedtls-3.4.0/library/
Dpsa_crypto_pake.c287 if( ( usage & PSA_KEY_USAGE_DERIVE ) == 0 ) { in psa_pake_set_password_key()
296 PSA_KEY_USAGE_DERIVE, in psa_pake_set_password_key()
Dpk.c253 PSA_KEY_USAGE_DERIVE ) ) != 0 ) in mbedtls_pk_can_do_ext()
281 key_usage = PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_DERIVE; in mbedtls_pk_can_do_ext()
Dssl_tls13_generic.c1533 psa_set_key_usage_flags( &key_attributes, PSA_KEY_USAGE_DERIVE ); in mbedtls_ssl_tls13_generate_and_write_ecdh_key_exchange()
Dpsa_crypto.c1472 PSA_KEY_USAGE_DERIVE ) ) != 0 ) in psa_validate_key_policy()
5707 key, &slot, PSA_KEY_USAGE_DERIVE, operation->alg ); in psa_key_derivation_input_key()
5849 private_key, &slot, PSA_KEY_USAGE_DERIVE, operation->alg ); in psa_key_derivation_key_agreement()
5888 private_key, &slot, PSA_KEY_USAGE_DERIVE, alg ); in psa_raw_key_agreement()
Dssl_ciphersuites.c1962 return( PSA_KEY_USAGE_DERIVE ); in mbedtls_ssl_get_ciphersuite_sig_pk_psa_usage()
Dssl_tls12_client.c2912 psa_set_key_usage_flags( &key_attributes, PSA_KEY_USAGE_DERIVE ); in ssl_write_client_key_exchange()
3085 psa_set_key_usage_flags( &key_attributes, PSA_KEY_USAGE_DERIVE ); in ssl_write_client_key_exchange()
Dssl_tls12_server.c2712 psa_set_key_usage_flags( &key_attributes, PSA_KEY_USAGE_DERIVE ); in ssl_get_ecdh_params_from_cert()
3035 psa_set_key_usage_flags( &key_attributes, PSA_KEY_USAGE_DERIVE ); in ssl_prepare_server_key_exchange()
Dssl_tls.c1891 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_DERIVE ); in mbedtls_ssl_set_hs_ecjpake_password()
2118 psa_set_key_usage_flags( &key_attributes, PSA_KEY_USAGE_DERIVE ); in mbedtls_ssl_set_hs_psk()
2127 PSA_KEY_USAGE_DERIVE | PSA_KEY_USAGE_EXPORT ); in mbedtls_ssl_set_hs_psk()
5873 psa_set_key_usage_flags( &key_attributes, PSA_KEY_USAGE_DERIVE ); in tls_prf_generic()
/mbedtls-3.4.0/include/psa/
Dcrypto_values.h2598 #define PSA_KEY_USAGE_DERIVE ((psa_key_usage_t)0x00004000) macro
/mbedtls-3.4.0/docs/
Dgetting_started.md554 * Usage flags set for key derivation (`PSA_KEY_USAGE_DERIVE`)
610 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DERIVE);

12