/mbedtls-3.5.0/tests/suites/ |
D | test_suite_pk.data | 57 …_FAMILY_SECP_R1):PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_ECDSA(PSA_ALG_ANY_HASH):PSA_ALG_NONE:256:PSA_ALG_… 61 …CP_R1):PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_ECDSA(PSA_ALG_ANY_HASH):PSA_ALG_NONE:256:PSA_ALG_RSA_PKCS1V… 65 …AMILY_SECP_R1):PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_ECDSA(PSA_ALG_ANY_HASH):PSA_ALG_NONE:256:PSA_ALG_RS… 69 …LY_SECP_R1):PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_ECDSA(PSA_ALG_ANY_HASH):PSA_ALG_NONE:256:PSA_ALG_RSA_P… 73 …A_ECC_FAMILY_SECP_R1):PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_ECDSA(PSA_ALG_ANY_HASH):PSA_ALG_NONE:256:PSA… 77 …ILY_SECP_R1):PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_ECDSA(PSA_ALG_ANY_HASH):PSA_ALG_NONE:256:PSA_ALG_ECDS… 81 …ILY_SECP_R1):PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_ECDSA(PSA_ALG_SHA_256):PSA_ALG_NONE:256:PSA_ALG_ECDSA… 85 …ILY_SECP_R1):PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_NONE:PSA_ALG_ECDSA(PSA_ALG_ANY_HASH):256:PSA_ALG_ECDS… 89 …ILY_SECP_R1):PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_NONE:PSA_ALG_ECDSA(PSA_ALG_SHA_256):256:PSA_ALG_ECDSA… 93 …ILY_SECP_R1):PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_ECDSA(PSA_ALG_SHA_256):PSA_ALG_NONE:256:PSA_ALG_ECDSA… [all …]
|
D | test_suite_psa_crypto_storage_format.current.data | 45 key_storage_save:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_SIGN_HASH:0x0000:0x0000:"4b":"5053410… 81 key_storage_save:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH:0x00… 85 key_storage_save:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_SIGN_MESSAG… 105 …EY_USAGE_DERIVE | PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_KEY… 125 key_storage_save:0x0001:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_K… 149 key_storage_save:0x0001:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_K… 169 key_storage_save:0x0001:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_K… 173 key_storage_save:0x0001:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_K… 177 key_storage_save:0x0001:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_K… 181 key_storage_save:0x0001:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_K… [all …]
|
D | test_suite_psa_crypto_storage_format.v0.data | 49 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_SIGN_HASH:0x0000:0x0000:"4b":"5053410… 85 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH:0x00… 89 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_SIGN_MESSAG… 109 …EY_USAGE_DERIVE | PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_KEY… 137 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_SIGN_HASH:0x0000:0x0000:"4b":"5053410… 173 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH:0x00… 177 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_SIGN_MESSAG… 213 key_storage_read:0x0001:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_K… 237 key_storage_read:0x0001:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_K… 257 key_storage_read:0x0001:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_K… [all …]
|
D | test_suite_psa_crypto_slot_management.data | 51 …fecycle:PSA_KEY_LIFETIME_PERSISTENT:132:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_KEY… 55 …fecycle:PSA_KEY_LIFETIME_PERSISTENT:133:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_KEY… 59 …fecycle:PSA_KEY_LIFETIME_PERSISTENT:132:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_KEY… 63 …fecycle:PSA_KEY_LIFETIME_PERSISTENT:134:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_KEY… 67 …fecycle:PSA_KEY_LIFETIME_PERSISTENT:135:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_KEY… 71 …fecycle:PSA_KEY_LIFETIME_PERSISTENT:136:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_KEY… 75 …fecycle:PSA_KEY_LIFETIME_PERSISTENT:135:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_KEY… 79 …fecycle:PSA_KEY_LIFETIME_PERSISTENT:137:1:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_SIGN_HASH | PSA_KEY…
|
D | test_suite_psa_crypto.data | 361 …aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa":PSA_KEY_TYPE_HMAC:PSA_KEY_USAGE_SIGN_HASH | PSA_KEY… 369 …4baf25be5738aae59bbfe1c997781447a2b24":PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_SIGN_HASH | PSA_KEY… 489 …aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa":PSA_KEY_TYPE_HMAC:PSA_KEY_USAGE_SIGN_HASH | PSA_KEY… 497 …4baf25be5738aae59bbfe1c997781447a2b24":PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_SIGN_HASH | PSA_KEY… 621 check_key_policy:PSA_KEY_TYPE_ECC_KEY_PAIR( PSA_ECC_FAMILY_SECP_R1 ):256:PSA_KEY_USAGE_SIGN_HASH:PS… 629 check_key_policy:PSA_KEY_TYPE_ECC_KEY_PAIR( PSA_ECC_FAMILY_SECP_R1 ):256:PSA_KEY_USAGE_SIGN_HASH | … 633 check_key_policy:PSA_KEY_TYPE_ECC_KEY_PAIR( PSA_ECC_FAMILY_SECP_R1 ):256:PSA_KEY_USAGE_SIGN_HASH | … 652 mac_key_policy:PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_HMAC(PSA_ALG_SHA_256):PSA_KEY_TYPE_HMAC:"aaaaaaaaaaa… 660 mac_key_policy:PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH:PSA_ALG_HMAC(PSA_ALG_SHA_256):PS… 664 mac_key_policy:PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH | PSA_KEY_USAGE_SIGN_MESSAGE | P… [all …]
|
D | test_suite_psa_crypto_op_fail.function | 89 PSA_KEY_USAGE_SIGN_HASH | 236 PSA_KEY_USAGE_SIGN_HASH |
|
D | test_suite_psa_crypto_entropy.function | 80 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH);
|
D | test_suite_pk.function | 107 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH); 128 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH); 1260 PSA_KEY_USAGE_SIGN_HASH, 1420 PSA_KEY_USAGE_SIGN_HASH,
|
D | test_suite_psa_crypto_se_driver_hal.function | 462 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH); 1116 PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH | 1234 PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH | 1342 PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH);
|
D | test_suite_ssl.data | 380 …_RSA:"":PSA_ALG_RSA_PKCS1V15_SIGN(PSA_ALG_ANY_HASH):PSA_ALG_NONE:PSA_KEY_USAGE_SIGN_HASH:0:MBEDTLS… 384 …K_RSA:"":PSA_ALG_RSA_PKCS1V15_SIGN(PSA_ALG_SHA_384):PSA_ALG_NONE:PSA_KEY_USAGE_SIGN_HASH:0:MBEDTLS… 388 …K_RSA:"":PSA_ALG_RSA_PKCS1V15_SIGN(PSA_ALG_SHA_256):PSA_ALG_NONE:PSA_KEY_USAGE_SIGN_HASH:MBEDTLS_E… 392 …HA384":MBEDTLS_PK_RSA:"":PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:PSA_KEY_USAGE_SIGN_HASH:MBEDTLS_E… 404 …_RSA:"":PSA_ALG_RSA_PKCS1V15_SIGN(PSA_ALG_ANY_HASH):PSA_ALG_NONE:PSA_KEY_USAGE_SIGN_HASH:0:MBEDTLS… 408 …K_RSA:"":PSA_ALG_RSA_PKCS1V15_SIGN(PSA_ALG_SHA_384):PSA_ALG_NONE:PSA_KEY_USAGE_SIGN_HASH:0:MBEDTLS… 412 …K_RSA:"":PSA_ALG_RSA_PKCS1V15_SIGN(PSA_ALG_SHA_256):PSA_ALG_NONE:PSA_KEY_USAGE_SIGN_HASH:MBEDTLS_E… 416 …MBEDTLS_PK_RSA:"":PSA_ALG_RSA_PSS(PSA_ALG_ANY_HASH):PSA_ALG_NONE:PSA_KEY_USAGE_SIGN_HASH:MBEDTLS_E… 428 …MBEDTLS_PK_ECDSA:"":PSA_ALG_ECDSA(PSA_ALG_ANY_HASH):PSA_ALG_NONE:PSA_KEY_USAGE_SIGN_HASH:0:MBEDTLS… 432 …:MBEDTLS_PK_ECDSA:"":PSA_ALG_ECDSA(PSA_ALG_SHA_256):PSA_ALG_NONE:PSA_KEY_USAGE_SIGN_HASH:0:MBEDTLS… [all …]
|
D | test_suite_x509write.function | 292 PSA_KEY_USAGE_SIGN_HASH, 406 PSA_KEY_USAGE_SIGN_HASH,
|
D | test_suite_psa_crypto_storage_format.function | 183 !(usage & (PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_SIGN_MESSAGE))) {
|
D | test_suite_psa_crypto_se_driver_hal_mocks.function | 590 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH);
|
D | test_suite_psa_crypto.function | 184 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH); 633 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH); 2197 if (compatible_alg && (expected_usage & PSA_KEY_USAGE_SIGN_HASH) != 0) { 3179 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH); 3353 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH); 6451 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH); 6534 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH); 6638 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH); 6718 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH); 6827 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH); [all …]
|
D | test_suite_psa_crypto_driver_wrappers.function | 518 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH); 771 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_EXPORT); 1811 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH); 1886 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH);
|
/mbedtls-3.5.0/programs/ssl/ |
D | ssl_test_lib.c | 246 *usage |= PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage() 249 *usage |= PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage() 252 *usage |= PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage() 255 *usage |= PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage() 258 *usage |= PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage() 264 *usage |= PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage() 276 *usage = PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_DERIVE; in key_opaque_set_alg_usage() 280 *usage = PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage()
|
/mbedtls-3.5.0/tests/src/ |
D | psa_exercise_key.c | 127 if (usage & PSA_KEY_USAGE_SIGN_HASH) { in exercise_mac_key() 138 (usage & PSA_KEY_USAGE_SIGN_HASH ? in exercise_mac_key() 298 if (usage & (PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH)) { in exercise_signature_key() 322 if (usage & PSA_KEY_USAGE_SIGN_HASH) { in exercise_signature_key() 331 (usage & PSA_KEY_USAGE_SIGN_HASH ? in exercise_signature_key() 963 PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH | in mbedtls_test_psa_usage_to_exercise() 974 PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH; in mbedtls_test_psa_usage_to_exercise()
|
D | psa_crypto_helpers.c | 130 if (usage_flags & PSA_KEY_USAGE_SIGN_HASH) { in mbedtls_test_update_key_usage_flags()
|
/mbedtls-3.5.0/library/ |
D | pk.c | 270 (usage & ~(PSA_KEY_USAGE_SIGN_HASH | in mbedtls_pk_can_do_ext() 302 key_usage = PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_DERIVE; in mbedtls_pk_can_do_ext() 306 key_usage = PSA_KEY_USAGE_SIGN_HASH | in mbedtls_pk_can_do_ext()
|
D | pk_wrap.c | 327 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH); in mbedtls_pk_psa_rsa_sign_ext() 947 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH); in ecdsa_sign_wrap()
|
D | ssl_ciphersuites.c | 1994 return PSA_KEY_USAGE_SIGN_HASH; in mbedtls_ssl_get_ciphersuite_sig_pk_psa_usage()
|
/mbedtls-3.5.0/programs/psa/ |
D | psa_constant_names_generated.c | 427 if (usage & PSA_KEY_USAGE_SIGN_HASH) { in psa_snprint_key_usage() 432 usage ^= PSA_KEY_USAGE_SIGN_HASH; in psa_snprint_key_usage()
|
/mbedtls-3.5.0/include/psa/ |
D | crypto_struct.h | 416 if (*usage_flags & PSA_KEY_USAGE_SIGN_HASH) { in psa_extend_key_usage_flags()
|
D | crypto_values.h | 2594 #define PSA_KEY_USAGE_SIGN_HASH ((psa_key_usage_t) 0x00001000) macro
|
/mbedtls-3.5.0/tests/src/drivers/ |
D | test_driver_key_management.c | 711 PSA_KEY_USAGE_SIGN_HASH | in mbedtls_test_opaque_get_builtin_key()
|