Home
last modified time | relevance | path

Searched refs:PSA_ERROR_NOT_SUPPORTED (Results 1 – 25 of 32) sorted by relevance

12

/third_party/mbedtls/tests/src/drivers/
Dtest_driver_cipher.c87 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 …]
Dtest_driver_mac.c78 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 …]
Dtest_driver_aead.c72 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 …]
Dhash.c66 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()
Dtest_driver_signature.c128 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()
Dtest_driver_key_management.c239 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/
Dpsa_crypto_driver_wrappers.c142 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 …]
Dpsa_crypto_se.c129 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()
Dpsa_crypto_aead.c62 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 …]
Dpsa_crypto_mac.c62 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()
Dpsa_crypto.c135 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 …]
Dpsa_crypto_rsa.c67 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()
Dpsa_crypto_ecp.c110 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()
Dpsa_crypto_hash.c188 PSA_ERROR_NOT_SUPPORTED : in mbedtls_psa_hash_setup()
251 return( PSA_ERROR_NOT_SUPPORTED ); in mbedtls_psa_hash_clone()
Dpsa_crypto_slot_management.c475 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/
Dtest_suite_psa_crypto_driver_wrappers.data6 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 …]
Dtest_suite_psa_crypto_se_driver_hal_mocks.data11 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
Dtest_suite_psa_crypto_not_supported.function26 PSA_ERROR_NOT_SUPPORTED );
45 PSA_ERROR_NOT_SUPPORTED );
Dtest_suite_psa_crypto_driver_wrappers.function173 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 …]
Dtest_suite_psa_crypto_se_driver_hal.data16 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
Dtest_suite_psa_crypto.data226 …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 …]
Dtest_suite_psa_crypto_slot_management.data164 open_fail:1:PSA_ERROR_NOT_SUPPORTED
168 create_fail:PSA_KEY_LIFETIME_PERSISTENT:1:PSA_ERROR_NOT_SUPPORTED
Dtest_suite_psa_crypto_persistent_key.data37 save_large_persistent_key:PSA_CRYPTO_MAX_STORAGE_SIZE + 1:PSA_ERROR_NOT_SUPPORTED
/third_party/mbedtls/include/mbedtls/
Dpsa_util.h349 case PSA_ERROR_NOT_SUPPORTED: in mbedtls_psa_err_translate_pk()
/third_party/mbedtls/docs/architecture/testing/
Ddriver-interface-test-strategy.md43 … 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…

12