/third_party/mbedtls/tests/src/drivers/ |
D | test_driver_cipher.c | 87 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_transparent_cipher_encrypt() 133 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_transparent_cipher_decrypt() 164 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_transparent_cipher_encrypt_setup() 189 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_transparent_cipher_decrypt_setup() 231 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_transparent_cipher_set_iv() 271 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_transparent_cipher_update() 307 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_transparent_cipher_finish() 332 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_opaque_cipher_encrypt() 351 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_opaque_cipher_decrypt() 365 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_opaque_cipher_encrypt_setup() [all …]
|
D | test_driver_mac.c | 78 mbedtls_test_driver_mac_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_mac_compute() 118 mbedtls_test_driver_mac_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_mac_sign_setup() 158 mbedtls_test_driver_mac_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_mac_verify_setup() 192 mbedtls_test_driver_mac_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_mac_update() 228 mbedtls_test_driver_mac_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_mac_sign_finish() 262 mbedtls_test_driver_mac_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_mac_verify_finish() 290 mbedtls_test_driver_mac_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_mac_abort() 326 mbedtls_test_driver_mac_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_opaque_mac_compute() 353 mbedtls_test_driver_mac_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_opaque_mac_sign_setup() 380 mbedtls_test_driver_mac_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_opaque_mac_verify_setup() [all …]
|
D | test_driver_aead.c | 72 mbedtls_test_driver_aead_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_aead_encrypt() 120 mbedtls_test_driver_aead_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_aead_decrypt() 152 mbedtls_test_driver_aead_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_aead_encrypt_setup() 184 mbedtls_test_driver_aead_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_aead_decrypt_setup() 212 mbedtls_test_driver_aead_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_aead_set_nonce() 241 mbedtls_test_driver_aead_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_aead_set_lengths() 269 mbedtls_test_driver_aead_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_aead_update_ad() 304 mbedtls_test_driver_aead_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_aead_update() 342 mbedtls_test_driver_aead_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_aead_finish() 383 mbedtls_test_driver_aead_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_aead_verify() [all …]
|
D | hash.c | 66 mbedtls_test_driver_hash_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_hash_compute() 96 mbedtls_test_driver_hash_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_hash_setup() 127 mbedtls_test_driver_hash_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_hash_clone() 160 mbedtls_test_driver_hash_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_hash_update() 195 mbedtls_test_driver_hash_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_hash_finish() 223 mbedtls_test_driver_hash_hooks.driver_status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_hash_abort()
|
D | test_driver_signature.c | 128 return( PSA_ERROR_NOT_SUPPORTED ); in sign_hash() 203 return( PSA_ERROR_NOT_SUPPORTED ); in verify_hash() 250 status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_signature_sign_message() 281 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_opaque_signature_sign_message() 315 status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_transparent_signature_verify_message() 344 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_opaque_signature_verify_message() 391 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_opaque_signature_sign_hash() 426 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_opaque_signature_verify_hash()
|
D | test_driver_key_management.c | 239 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_transparent_generate_key() 250 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_opaque_generate_key() 316 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_transparent_import_key() 373 status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_opaque_import_key() 396 status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_opaque_import_key() 490 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_opaque_export_key() 555 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_test_transparent_export_public_key() 593 status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_opaque_export_public_key() 617 status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_opaque_export_public_key() 623 status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_test_opaque_export_public_key()
|
/third_party/mbedtls/library/ |
D | psa_crypto_driver_wrappers.c | 142 if( status != PSA_ERROR_NOT_SUPPORTED ) in psa_driver_wrapper_sign_message() 162 if( status != PSA_ERROR_NOT_SUPPORTED ) in psa_driver_wrapper_sign_message() 215 if( status != PSA_ERROR_NOT_SUPPORTED ) in psa_driver_wrapper_verify_message() 234 if( status != PSA_ERROR_NOT_SUPPORTED ) in psa_driver_wrapper_verify_message() 272 return( PSA_ERROR_NOT_SUPPORTED ); in psa_driver_wrapper_sign_hash() 302 if( status != PSA_ERROR_NOT_SUPPORTED ) in psa_driver_wrapper_sign_hash() 356 return( PSA_ERROR_NOT_SUPPORTED ); in psa_driver_wrapper_verify_hash() 386 if( status != PSA_ERROR_NOT_SUPPORTED ) in psa_driver_wrapper_verify_hash() 451 PSA_SUCCESS : PSA_ERROR_NOT_SUPPORTED ); in psa_driver_wrapper_get_key_buffer_size_from_key_data() 503 PSA_SUCCESS : PSA_ERROR_NOT_SUPPORTED ); in psa_driver_wrapper_get_key_buffer_size() [all …]
|
D | psa_crypto_se.c | 129 return( PSA_ERROR_NOT_SUPPORTED ); in psa_get_se_driver_its_file_uid() 134 return( PSA_ERROR_NOT_SUPPORTED ); in psa_get_se_driver_its_file_uid() 189 return( PSA_ERROR_NOT_SUPPORTED ); in psa_destroy_se_persistent_data() 210 return( PSA_ERROR_NOT_SUPPORTED ); in psa_find_se_slot_for_key() 221 return( PSA_ERROR_NOT_SUPPORTED ); in psa_find_se_slot_for_key() 240 return( PSA_ERROR_NOT_SUPPORTED ); in psa_find_se_slot_for_key() 312 return( PSA_ERROR_NOT_SUPPORTED ); in psa_register_se_driver() 322 return( PSA_ERROR_NOT_SUPPORTED ); in psa_register_se_driver()
|
D | psa_crypto_aead.c | 62 return( PSA_ERROR_NOT_SUPPORTED ); in psa_aead_setup() 110 return( PSA_ERROR_NOT_SUPPORTED ); in psa_aead_setup() 124 return( PSA_ERROR_NOT_SUPPORTED ); in psa_aead_setup() 202 status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_psa_aead_encrypt() 224 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_psa_aead_encrypt() 315 status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_psa_aead_decrypt() 336 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_psa_aead_decrypt() 449 return ( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_psa_aead_set_nonce() 519 return ( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_psa_aead_update_ad() 585 return ( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_psa_aead_update() [all …]
|
D | psa_crypto_mac.c | 62 return( PSA_ERROR_NOT_SUPPORTED ); in psa_hmac_setup_internal() 64 return( PSA_ERROR_NOT_SUPPORTED ); in psa_hmac_setup_internal() 66 return( PSA_ERROR_NOT_SUPPORTED ); in psa_hmac_setup_internal() 167 return( PSA_ERROR_NOT_SUPPORTED ); in cmac_setup() 178 return( PSA_ERROR_NOT_SUPPORTED ); in cmac_setup() 224 status = PSA_ERROR_NOT_SUPPORTED; in mac_init() 315 status = PSA_ERROR_NOT_SUPPORTED; in psa_mac_setup()
|
D | psa_crypto.c | 135 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_to_psa_error() 151 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_to_psa_error() 167 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_to_psa_error() 189 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_to_psa_error() 195 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_to_psa_error() 217 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_to_psa_error() 223 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_to_psa_error() 259 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_to_psa_error() 268 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_to_psa_error() 277 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_to_psa_error() [all …]
|
D | psa_crypto_rsa.c | 67 status = PSA_ERROR_NOT_SUPPORTED; in psa_check_rsa_key_byte_aligned() 107 status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_psa_rsa_load_representation() 221 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_psa_rsa_export_key() 271 return( PSA_ERROR_NOT_SUPPORTED ); in psa_rsa_read_exponent() 275 return( PSA_ERROR_NOT_SUPPORTED ); in psa_rsa_read_exponent() 343 return( PSA_ERROR_NOT_SUPPORTED ); in psa_rsa_decode_md_type()
|
D | psa_crypto_ecp.c | 110 status = PSA_ERROR_NOT_SUPPORTED; in mbedtls_psa_ecp_load_representation() 303 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_psa_ecp_generate_key() 306 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_psa_ecp_generate_key()
|
D | psa_crypto_hash.c | 188 PSA_ERROR_NOT_SUPPORTED : in mbedtls_psa_hash_setup() 251 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_psa_hash_clone()
|
D | psa_crypto_slot_management.c | 475 return( PSA_ERROR_NOT_SUPPORTED ); in psa_validate_key_persistence() 504 return( PSA_ERROR_NOT_SUPPORTED ); in psa_open_key()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_driver_wrappers.data | 6 ecdsa_sign_hash:PSA_ERROR_NOT_SUPPORTED:"ab45435712649cb30bbddac49197eebf2740ffc7f874d9244c3460f54f… 19 ecdsa_verify_hash:PSA_ERROR_NOT_SUPPORTED:0:"ab45435712649cb30bbddac49197eebf2740ffc7f874d9244c3460… 29 ecdsa_verify_hash:PSA_ERROR_NOT_SUPPORTED:1:"04dea5e45d0ea37fc566232a508f4ad20ea13d47e4bf5fa4d54a57… 39 ecdsa_sign_message:PSA_ERROR_NOT_SUPPORTED:"ab45435712649cb30bbddac49197eebf2740ffc7f874d9244c3460f… 52 ecdsa_verify_message:PSA_ERROR_NOT_SUPPORTED:0:"ab45435712649cb30bbddac49197eebf2740ffc7f874d9244c3… 62 ecdsa_verify_message:PSA_ERROR_NOT_SUPPORTED:1:"04dea5e45d0ea37fc566232a508f4ad20ea13d47e4bf5fa4d54… 75 generate_key:PSA_ERROR_NOT_SUPPORTED:"":PSA_SUCCESS 79 generate_key:PSA_ERROR_NOT_SUPPORTED:"":PSA_ERROR_NOT_SUPPORTED 94 validate_key:PSA_ERROR_NOT_SUPPORTED:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):"49c9a8c18c4… 98 validate_key:PSA_ERROR_NOT_SUPPORTED:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECP_R1):"04dea5e45… [all …]
|
D | test_suite_psa_crypto_se_driver_hal_mocks.data | 11 mock_init:INT_MAX:PSA_ERROR_NOT_SUPPORTED:PSA_ERROR_BAD_STATE:PSA_SUCCESS:0 20 mock_import:PSA_SUCCESS:PSA_ERROR_NOT_SUPPORTED:PSA_MAX_KEY_BITS+1:PSA_ERROR_NOT_SUPPORTED
|
D | test_suite_psa_crypto_not_supported.function | 26 PSA_ERROR_NOT_SUPPORTED ); 45 PSA_ERROR_NOT_SUPPORTED );
|
D | test_suite_psa_crypto_driver_wrappers.function | 173 force_status == PSA_ERROR_NOT_SUPPORTED ? 2 : 1 ); 231 force_status == PSA_ERROR_NOT_SUPPORTED ? 2 : 1 ); 1115 TEST_EQUAL( status, ( forced_status == PSA_ERROR_NOT_SUPPORTED ) ? 1179 TEST_EQUAL( status, ( forced_status == PSA_ERROR_NOT_SUPPORTED ) ? 1243 forced_status == PSA_ERROR_NOT_SUPPORTED ) 1262 forced_status == PSA_ERROR_NOT_SUPPORTED ) 1276 forced_status == PSA_ERROR_NOT_SUPPORTED ) 1292 forced_status == PSA_ERROR_NOT_SUPPORTED ) 1361 forced_status == PSA_ERROR_NOT_SUPPORTED ) 1378 forced_status == PSA_ERROR_NOT_SUPPORTED ) [all …]
|
D | test_suite_psa_crypto_se_driver_hal.data | 16 register_one:2:0x00000003:PSA_ERROR_NOT_SUPPORTED 19 register_one:2:PSA_DRV_SE_HAL_VERSION + 1:PSA_ERROR_NOT_SUPPORTED 163 register_key_smoke_test:TEST_SE_PERSISTENT_LIFETIME:7:1:-1:PSA_ERROR_NOT_SUPPORTED
|
D | test_suite_psa_crypto.data | 226 …1020421fdd3c6974cc445a78dd134450230203010001":PSA_KEY_TYPE_RSA_PUBLIC_KEY:0:PSA_ERROR_NOT_SUPPORTED 230 …438e949a41e92bc9d9136c3e6563904151a578a2f4fc1b":PSA_KEY_TYPE_RSA_KEY_PAIR:0:PSA_ERROR_NOT_SUPPORTED 234 …4a41180a91e535bd5b55d4dce2c17419870203010001":PSA_KEY_TYPE_RSA_PUBLIC_KEY:0:PSA_ERROR_NOT_SUPPORTED 238 …8062fc8592ebf25b7950f918d39018e82b8acccc8f7e7a":PSA_KEY_TYPE_RSA_KEY_PAIR:0:PSA_ERROR_NOT_SUPPORTED 520 …fd43a0cab17db2f13eee":PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):255:PSA_ERROR_NOT_SUPPORTED 528 …6d19ff95df3ad9685aae":PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):528:PSA_ERROR_NOT_SUPPORTED 552 …abcdef0123456789abcdef":PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):0:PSA_ERROR_NOT_SUPPORTED 598 import_large_key:PSA_KEY_TYPE_RAW_DATA:8192:PSA_ERROR_NOT_SUPPORTED 602 import_rsa_made_up:PSA_VENDOR_RSA_MAX_KEY_BITS+8:1:PSA_ERROR_NOT_SUPPORTED 606 import_rsa_made_up:PSA_VENDOR_RSA_MAX_KEY_BITS+8:0:PSA_ERROR_NOT_SUPPORTED [all …]
|
D | test_suite_psa_crypto_slot_management.data | 164 open_fail:1:PSA_ERROR_NOT_SUPPORTED 168 create_fail:PSA_KEY_LIFETIME_PERSISTENT:1:PSA_ERROR_NOT_SUPPORTED
|
D | test_suite_psa_crypto_persistent_key.data | 37 save_large_persistent_key:PSA_CRYPTO_MAX_STORAGE_SIZE + 1:PSA_ERROR_NOT_SUPPORTED
|
/third_party/mbedtls/include/mbedtls/ |
D | psa_util.h | 349 case PSA_ERROR_NOT_SUPPORTED: in mbedtls_psa_err_translate_pk()
|
/third_party/mbedtls/docs/architecture/testing/ |
D | driver-interface-test-strategy.md | 43 … substructure containing that method, and check that the return value is `PSA_ERROR_NOT_SUPPORTED`. 44 …inter to the substructure is `NULL`), and check that the return value is `PSA_ERROR_NOT_SUPPORTED`. 129 …with one run where A returns `PSA_SUCCESS`, one where A returns `PSA_ERROR_NOT_SUPPORTED` and B is…
|