Home
last modified time | relevance | path

Searched refs:PSA_SUCCESS (Results 1 – 25 of 65) sorted by relevance

123

/mbedtls-development/tests/suites/
A Dtest_suite_psa_crypto_se_driver_hal_mocks.data2 mock_init:1:PSA_SUCCESS:PSA_SUCCESS:PSA_SUCCESS:1
5 mock_init:1:PSA_SUCCESS:PSA_ERROR_HARDWARE_FAILURE:PSA_ERROR_HARDWARE_FAILURE:1
8 mock_init:0:PSA_ERROR_INVALID_ARGUMENT:PSA_ERROR_BAD_STATE:PSA_SUCCESS:0
11 mock_init:INT_MAX:PSA_ERROR_NOT_SUPPORTED:PSA_ERROR_BAD_STATE:PSA_SUCCESS:0
14 mock_import:PSA_SUCCESS:PSA_SUCCESS:0:PSA_SUCCESS
17 mock_import:PSA_SUCCESS:PSA_SUCCESS:PSA_MAX_KEY_BITS:PSA_SUCCESS
29 mock_export:PSA_SUCCESS:PSA_SUCCESS
35 mock_export_public:PSA_SUCCESS:PSA_SUCCESS
41 mock_generate:PSA_SUCCESS:PSA_SUCCESS:PSA_SUCCESS
50 mock_sign:PSA_SUCCESS:PSA_SUCCESS
[all …]
A Dtest_suite_psa_crypto_driver_wrappers.data12PSA_SUCCESS:"ab45435712649cb30bbddac49197eebf2740ffc7f874d9244c3460f54f322d3a":"9ac4335b469bbd7914…
45 …message:PSA_SUCCESS:"ab45435712649cb30bbddac49197eebf2740ffc7f874d9244c3460f54f322d3a":"616263":"0…
68 generate_key:PSA_SUCCESS:"ab45435712649cb30bbddac49197eebf2740ffc7f874d9244c3460f54f322d3a":PSA_SUC…
71 generate_key:PSA_SUCCESS:"":PSA_SUCCESS
75 generate_key:PSA_ERROR_NOT_SUPPORTED:"":PSA_SUCCESS
86 …e_key:PSA_SUCCESS:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):"49c9a8c18c4b885638c431cf1df1c…
158 …a2a2a2a2a2a2a":"6bc1bee22e409f96e93d7e11739317":15:8:0:"d07a6a6e2687feb2":1:PSA_SUCCESS:PSA_SUCCESS
162 …2a":"396ee84fb75fdbb5c2b13c7fe5a654aa":"dd3b5e5319b7591daab1e1a92687feb2":0:PSA_SUCCESS:PSA_SUCCESS
170 …2a2a2a2a2a2a2a2a2a":"396ee84fb75fdbb5c2b13c7fe5a654aa":"d07a6a6e2687feb2":1:PSA_SUCCESS:PSA_SUCCESS
390 …"b0bd69":"4096804221093ddccfbf46831490ea63e9e99414858f8d75ff7f642c7ca61803":PSA_SUCCESS:PSA_SUCCESS
[all …]
A Dtest_suite_psa_crypto_init.data26 custom_entropy_sources:0x0000ffff:PSA_SUCCESS
43 fake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:0:0:0:MBEDTLS_ENTROPY_BLOCK_SIZE:PSA_SUCCESS
47 fake_entropy_source:MBEDTLS_ENTROPY_BLOCK_SIZE:MBEDTLS_ENTROPY_BLOCK_SIZE - 1:1:-1:-1:PSA_SUCCESS
51 …_ENTROPY_BLOCK_SIZE:MBEDTLS_ENTROPY_BLOCK_SIZE - 1:MBEDTLS_ENTROPY_BLOCK_SIZE - 1:-1:-1:PSA_SUCCESS
54 …ce:MBEDTLS_ENTROPY_BLOCK_SIZE:0:MBEDTLS_ENTROPY_BLOCK_SIZE:0:MBEDTLS_ENTROPY_BLOCK_SIZE:PSA_SUCCESS
63 entropy_from_nv_seed:ENTROPY_MIN_NV_SEED_SIZE:PSA_SUCCESS
A Dtest_suite_psa_crypto.data1453 hash_setup:PSA_ALG_SHA_1:PSA_SUCCESS
1457 hash_setup:PSA_ALG_SHA_224:PSA_SUCCESS
1461 hash_setup:PSA_ALG_SHA_256:PSA_SUCCESS
1465 hash_setup:PSA_ALG_SHA_384:PSA_SUCCESS
1469 hash_setup:PSA_ALG_SHA_512:PSA_SUCCESS
1473 hash_setup:PSA_ALG_MD5:PSA_SUCCESS
1477 hash_setup:PSA_ALG_RIPEMD160:PSA_SUCCESS
4992 generate_key_rsa:512:"":PSA_SUCCESS
4995 generate_key_rsa:512:"03":PSA_SUCCESS
4998 generate_key_rsa:512:"010001":PSA_SUCCESS
[all …]
A Dtest_suite_psa_its.data38 get_at:0:"40414243444546474849":10:0:PSA_SUCCESS
41 get_at:0:"40414243444546474849":9:1:PSA_SUCCESS
44 get_at:0:"40414243444546474849":0:0:PSA_SUCCESS
47 get_at:0:"40414243444546474849":0:1:PSA_SUCCESS
50 get_at:0:"40414243444546474849":1:2:PSA_SUCCESS
A Dtest_suite_psa_crypto_driver_wrappers.function52 if( expected_status == PSA_SUCCESS )
166 if( expected_status == PSA_SUCCESS )
286 if( actual_status == PSA_SUCCESS )
410 if( actual_status == PSA_SUCCESS )
1072 if( status == PSA_SUCCESS )
1136 if( status == PSA_SUCCESS )
1225 if( forced_status == PSA_SUCCESS )
1240 if( forced_status == PSA_SUCCESS )
1254 if( forced_status == PSA_SUCCESS )
1259 if( forced_status == PSA_SUCCESS )
[all …]
A Dtest_suite_psa_crypto_entropy.data29 validate_entropy_seed_injection:MBEDTLS_PSA_INJECT_ENTROPY_MIN_SIZE:PSA_SUCCESS:MBEDTLS_PSA_INJECT_…
32 validate_entropy_seed_injection:MBEDTLS_ENTROPY_MAX_SEED_SIZE:PSA_SUCCESS:MBEDTLS_ENTROPY_MAX_SEED_…
35 …_ENTROPY_MAX_SEED_SIZE+1:PSA_ERROR_INVALID_ARGUMENT:MBEDTLS_PSA_INJECT_ENTROPY_MIN_SIZE:PSA_SUCCESS
38 …S_ENTROPY_MIN_PLATFORM-1:PSA_ERROR_INVALID_ARGUMENT:MBEDTLS_PSA_INJECT_ENTROPY_MIN_SIZE:PSA_SUCCESS
41 …TLS_ENTROPY_BLOCK_SIZE-1:PSA_ERROR_INVALID_ARGUMENT:MBEDTLS_PSA_INJECT_ENTROPY_MIN_SIZE:PSA_SUCCESS
/mbedtls-development/programs/psa/
A Dcrypto_examples.c90 ASSERT_STATUS( status, PSA_SUCCESS ); in cipher_operation()
114 ASSERT_STATUS( status, PSA_SUCCESS ); in cipher_encrypt()
117 ASSERT_STATUS( status, PSA_SUCCESS ); in cipher_encrypt()
121 ASSERT_STATUS( status, PSA_SUCCESS ); in cipher_encrypt()
144 ASSERT_STATUS( status, PSA_SUCCESS ); in cipher_decrypt()
147 ASSERT_STATUS( status, PSA_SUCCESS ); in cipher_decrypt()
151 ASSERT_STATUS( status, PSA_SUCCESS ); in cipher_decrypt()
178 ASSERT_STATUS( status, PSA_SUCCESS ); in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
308 if( status == PSA_SUCCESS ) in cipher_examples()
313 if( status == PSA_SUCCESS ) in cipher_examples()
[all …]
/mbedtls-development/library/
A Dpsa_crypto.c481 return( PSA_SUCCESS ); in psa_validate_unstructured_key_bit_size()
536 return( PSA_SUCCESS ); in psa_allocate_buffer_to_slot()
549 return( PSA_SUCCESS ); in psa_copy_key_material_into_slot()
875 return( PSA_SUCCESS ); in psa_restrict_key_policy()
928 return( PSA_SUCCESS ); in psa_get_and_lock_key_slot_with_policy()
968 return( PSA_SUCCESS ); in psa_get_and_lock_transparent_key_slot_with_policy()
982 return( PSA_SUCCESS ); in psa_remove_key_data_from_memory()
1272 return( PSA_SUCCESS ); in psa_export_key_buffer_internal()
1477 return( PSA_SUCCESS ); in psa_validate_key_policy()
1536 return( PSA_SUCCESS ); in psa_validate_key_attributes()
[all …]
A Dpsa_crypto_slot_management.c139 if( status == PSA_SUCCESS ) in psa_get_and_lock_key_slot_in_memory()
155 return( PSA_SUCCESS ); in psa_initialize_key_slots()
225 return( PSA_SUCCESS ); in psa_get_empty_key_slot()
245 if( status != PSA_SUCCESS ) in psa_load_persistent_key_into_slot()
297 if( status != PSA_SUCCESS ) in psa_load_builtin_key_into_slot()
407 return( PSA_SUCCESS ); in psa_unlock_key_slot()
412 return( PSA_SUCCESS ); in psa_unlock_key_slot()
447 return( PSA_SUCCESS ); in psa_validate_key_location()
456 return( PSA_SUCCESS ); in psa_validate_key_location()
464 return( PSA_SUCCESS ); in psa_validate_key_persistence()
[all …]
A Dpsa_crypto_storage.c103 if( status != PSA_SUCCESS ) in psa_crypto_storage_load()
155 if( status != PSA_SUCCESS ) in psa_crypto_storage_store()
161 if( status != PSA_SUCCESS ) in psa_crypto_storage_store()
173 if( status != PSA_SUCCESS ) in psa_crypto_storage_store()
192 return( PSA_SUCCESS ); in psa_destroy_persistent_key()
201 return( PSA_SUCCESS ); in psa_destroy_persistent_key()
225 if( status != PSA_SUCCESS ) in psa_crypto_storage_get_data_length()
230 return( PSA_SUCCESS ); in psa_crypto_storage_get_data_length()
275 return( PSA_SUCCESS ); in check_magic_header()
324 return( PSA_SUCCESS ); in psa_parse_key_data_from_storage()
[all …]
A Dpsa_crypto_aead.c136 return( PSA_SUCCESS ); in psa_aead_setup()
155 if( status != PSA_SUCCESS ) in mbedtls_psa_aead_encrypt()
220 if( status == PSA_SUCCESS ) in mbedtls_psa_aead_encrypt()
247 return( PSA_SUCCESS ); in psa_aead_unpadded_locate_tag()
266 if( status != PSA_SUCCESS ) in mbedtls_psa_aead_decrypt()
272 if( status != PSA_SUCCESS ) in mbedtls_psa_aead_decrypt()
327 if( status == PSA_SUCCESS ) in mbedtls_psa_aead_decrypt()
333 if( status == PSA_SUCCESS ) in mbedtls_psa_aead_decrypt()
359 if( status == PSA_SUCCESS ) in mbedtls_psa_aead_encrypt_setup()
455 return ( PSA_SUCCESS ); in mbedtls_psa_aead_set_lengths()
[all …]
A Dpsa_crypto_mac.c106 if( status != PSA_SUCCESS ) in psa_hmac_setup_internal()
137 if( status != PSA_SUCCESS ) in psa_hmac_finish_internal()
142 if( status != PSA_SUCCESS ) in psa_hmac_finish_internal()
146 if( status != PSA_SUCCESS ) in psa_hmac_finish_internal()
150 if( status != PSA_SUCCESS ) in psa_hmac_finish_internal()
154 if( status != PSA_SUCCESS ) in psa_hmac_finish_internal()
221 status = PSA_SUCCESS; in mac_init()
230 status = PSA_SUCCESS; in mac_init()
238 if( status != PSA_SUCCESS ) in mac_init()
250 return( PSA_SUCCESS ); in mac_abort()
[all …]
A Dpsa_crypto_se.c139 return( PSA_SUCCESS ); in psa_get_se_driver_its_file_uid()
150 if( status != PSA_SUCCESS ) in psa_load_se_persistent_data()
173 if( status != PSA_SUCCESS ) in psa_save_se_persistent_data()
212 if( psa_get_key_slot_number( attributes, slot_number ) == PSA_SUCCESS ) in psa_find_se_slot_for_key()
270 return( status == PSA_SUCCESS ? storage_status : status ); in psa_destroy_se_key()
288 if( status != PSA_SUCCESS ) in psa_init_all_se_drivers()
291 if( status != PSA_SUCCESS ) in psa_init_all_se_drivers()
295 return( PSA_SUCCESS ); in psa_init_all_se_drivers()
355 if( status != PSA_SUCCESS && status != PSA_ERROR_DOES_NOT_EXIST ) in psa_register_se_driver()
359 return( PSA_SUCCESS ); in psa_register_se_driver()
A Dpsa_its_file.c120 return( PSA_SUCCESS ); in psa_its_read_file()
146 if( status != PSA_SUCCESS ) in psa_its_get()
172 status = PSA_SUCCESS; in psa_its_get()
212 status = PSA_SUCCESS; in psa_its_set()
218 if( status == PSA_SUCCESS && ret != 0 ) in psa_its_set()
221 if( status == PSA_SUCCESS ) in psa_its_set()
246 return( PSA_SUCCESS ); in psa_its_remove()
A Dpsa_crypto_cipher.c301 status = PSA_SUCCESS; in psa_cipher_update_ecb()
362 status = PSA_SUCCESS; in psa_cipher_update_ecb()
442 if( status != PSA_SUCCESS ) in cipher_finish()
468 return( PSA_SUCCESS ); in cipher_abort()
487 if( status != PSA_SUCCESS ) in cipher_encrypt()
504 if( status != PSA_SUCCESS ) in cipher_encrypt()
511 if( status != PSA_SUCCESS ) in cipher_encrypt()
517 if( status == PSA_SUCCESS ) in cipher_encrypt()
540 if( status != PSA_SUCCESS ) in cipher_decrypt()
553 if( status != PSA_SUCCESS ) in cipher_decrypt()
[all …]
A Dpsa_crypto_rsa.c90 if( status == PSA_SUCCESS ) in psa_check_rsa_key_byte_aligned()
116 if( status != PSA_SUCCESS ) in mbedtls_psa_rsa_load_representation()
137 if( status != PSA_SUCCESS ) in mbedtls_psa_rsa_load_representation()
173 if( status != PSA_SUCCESS ) in rsa_import_key()
240 return( PSA_SUCCESS ); in mbedtls_psa_rsa_export_key()
261 if( status != PSA_SUCCESS ) in rsa_export_public_key()
290 return( PSA_SUCCESS ); in psa_rsa_read_exponent()
303 return( PSA_SUCCESS ); in psa_rsa_read_exponent()
318 if( status != PSA_SUCCESS ) in rsa_generate_key()
373 return( PSA_SUCCESS ); in psa_rsa_decode_md_type()
[all …]
A Dpsa_crypto_ecp.c142 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_load_representation()
153 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_load_representation()
159 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_load_representation()
170 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_load_representation()
176 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_load_representation()
208 if( status != PSA_SUCCESS ) in ecp_import_key()
261 if( status != PSA_SUCCESS ) in mbedtls_psa_ecp_export_key()
295 if( status != PSA_SUCCESS ) in ecp_export_public_key()
349 if( status == PSA_SUCCESS ) in ecp_generate_key()
379 if( status != PSA_SUCCESS ) in ecdsa_sign_hash()
[all …]
/mbedtls-development/tests/src/drivers/
A Dtest_driver_mac.c43 if( mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_mac_compute()
69 if( mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_mac_sign_setup()
93 if( mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_mac_verify_setup()
115 if( mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_mac_update()
138 if( mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_mac_sign_finish()
160 if( mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_mac_verify_finish()
180 if( mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_mac_abort()
207 if( mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_opaque_mac_compute()
233 if( mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_opaque_mac_sign_setup()
257 if( mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_opaque_mac_verify_setup()
[all …]
A Dtest_driver_aead.c42 if( mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_aead_encrypt()
73 if( mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_aead_decrypt()
101 if( mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_aead_encrypt_setup()
124 if( mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_aead_decrypt_setup()
146 if( mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_aead_set_nonce()
167 if( mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_aead_set_lengths()
189 if( mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_aead_update_ad()
213 if( mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_aead_update()
239 if( mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_aead_finish()
265 if( mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_aead_verify()
[all …]
A Dtest_driver_key_management.c118 return( PSA_SUCCESS ); in mbedtls_test_opaque_wrap_key()
153 return( PSA_SUCCESS ); in mbedtls_test_opaque_unwrap_key()
173 return( PSA_SUCCESS ); in mbedtls_test_transparent_generate_key()
291 if( status != PSA_SUCCESS ) in mbedtls_test_opaque_import_key()
311 if( status != PSA_SUCCESS ) in mbedtls_test_opaque_import_key()
326 if( status != PSA_SUCCESS ) in mbedtls_test_opaque_import_key()
439 return( PSA_SUCCESS ); in mbedtls_test_transparent_export_public_key()
551 return( PSA_SUCCESS ); in mbedtls_test_opaque_export_public_key()
591 return( PSA_SUCCESS ); in mbedtls_test_opaque_get_builtin_key()
611 return( PSA_SUCCESS ); in mbedtls_test_opaque_get_builtin_key()
[all …]
A Dhash.c37 if( mbedtls_test_driver_hash_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_hash_compute()
59 if( mbedtls_test_driver_hash_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_hash_setup()
79 if( mbedtls_test_driver_hash_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_hash_clone()
101 if( mbedtls_test_driver_hash_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_hash_update()
124 if( mbedtls_test_driver_hash_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_hash_finish()
144 if( mbedtls_test_driver_hash_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_hash_abort()
A Dtest_driver_cipher.c64 if( mbedtls_test_driver_cipher_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_cipher_encrypt()
101 if( mbedtls_test_driver_cipher_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_cipher_decrypt()
124 if( mbedtls_test_driver_cipher_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_cipher_encrypt_setup()
139 if( mbedtls_test_driver_cipher_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_cipher_decrypt_setup()
152 return( PSA_SUCCESS ); in mbedtls_test_transparent_cipher_abort()
172 if( mbedtls_test_driver_cipher_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_cipher_set_iv()
202 if( mbedtls_test_driver_cipher_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_cipher_update()
231 if( mbedtls_test_driver_cipher_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_cipher_finish()
A Dtest_driver_signature.c186 if( mbedtls_test_driver_signature_sign_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_signature_sign_message()
198 return( PSA_SUCCESS ); in mbedtls_test_transparent_signature_sign_message()
205 if( status != PSA_SUCCESS ) in mbedtls_test_transparent_signature_sign_message()
253 if( mbedtls_test_driver_signature_verify_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_signature_verify_message()
260 if( status != PSA_SUCCESS ) in mbedtls_test_transparent_signature_verify_message()
299 if( mbedtls_test_driver_signature_sign_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_signature_sign_hash()
309 return( PSA_SUCCESS ); in mbedtls_test_transparent_signature_sign_hash()
346 if( mbedtls_test_driver_signature_verify_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_signature_verify_hash()
/mbedtls-development/docs/
A Dgetting_started.md86 if (status != PSA_SUCCESS) {
99 if (status != PSA_SUCCESS) {
145 if (status != PSA_SUCCESS) {
158 if (status != PSA_SUCCESS) {
168 if (status != PSA_SUCCESS) {
224 if (status != PSA_SUCCESS)
236 if (status != PSA_SUCCESS) {
244 if (status != PSA_SUCCESS) {
249 if (status != PSA_SUCCESS) {
255 if (status != PSA_SUCCESS) {
[all …]

Completed in 63 milliseconds

123