/mbedtls-3.4.0/tests/suites/ |
D | test_suite_psa_crypto_pake.data | 3 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 …]
|
D | test_suite_psa_crypto_storage_format.current.data | 33 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 …]
|
D | test_suite_pk.data | 101 …_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 …]
|
D | test_suite_psa_crypto_storage_format.v0.data | 37 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 …]
|
D | test_suite_psa_crypto.data | 1009 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 …]
|
D | test_suite_psa_crypto_op_fail.function | 352 PSA_KEY_USAGE_DERIVE );
|
D | test_suite_psa_crypto.function | 2336 ( 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 …]
|
D | test_suite_psa_crypto_pake.function | 737 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_DERIVE ); 797 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_DERIVE );
|
D | test_suite_ssl.data | 349 …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/ |
D | ssl_test_lib.c | 282 *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()
|
D | ssl_client2.c | 2086 psa_set_key_usage_flags( &key_attributes, PSA_KEY_USAGE_DERIVE ); in main()
|
D | ssl_server2.c | 1306 psa_set_key_usage_flags( &key_attributes, PSA_KEY_USAGE_DERIVE ); in psa_setup_psk_key_slot()
|
/mbedtls-3.4.0/programs/psa/ |
D | key_ladder_demo.c | 205 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()
|
D | psa_constant_names_generated.c | 406 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/ |
D | psa_exercise_key.c | 491 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/ |
D | psa_crypto_pake.c | 287 if( ( usage & PSA_KEY_USAGE_DERIVE ) == 0 ) { in psa_pake_set_password_key() 296 PSA_KEY_USAGE_DERIVE, in psa_pake_set_password_key()
|
D | pk.c | 253 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()
|
D | ssl_tls13_generic.c | 1533 psa_set_key_usage_flags( &key_attributes, PSA_KEY_USAGE_DERIVE ); in mbedtls_ssl_tls13_generate_and_write_ecdh_key_exchange()
|
D | psa_crypto.c | 1472 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()
|
D | ssl_ciphersuites.c | 1962 return( PSA_KEY_USAGE_DERIVE ); in mbedtls_ssl_get_ciphersuite_sig_pk_psa_usage()
|
D | ssl_tls12_client.c | 2912 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()
|
D | ssl_tls12_server.c | 2712 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()
|
D | ssl_tls.c | 1891 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/ |
D | crypto_values.h | 2598 #define PSA_KEY_USAGE_DERIVE ((psa_key_usage_t)0x00004000) macro
|
/mbedtls-3.4.0/docs/ |
D | getting_started.md | 554 * Usage flags set for key derivation (`PSA_KEY_USAGE_DERIVE`) 610 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DERIVE);
|