Home
last modified time | relevance | path

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

123456

/mbedtls/tests/suites/
A Dtest_suite_psa_crypto_driver_wrappers.data238 generate_ec_key:PSA_SUCCESS:"ab45435712649cb30bbddac49197eebf2740ffc7f874d9244c3460f54f322d3a":PSA_…
241 generate_ec_key:PSA_SUCCESS:"":PSA_SUCCESS
245 generate_ec_key:PSA_ERROR_NOT_SUPPORTED:"":PSA_SUCCESS
256PSA_SUCCESS:PSA_KEY_LOCATION_LOCAL_STORAGE:130:1:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1)…
276PSA_SUCCESS:PSA_CRYPTO_TEST_DRIVER_LOCATION:130:1:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1…
368 …2a2a2a2a2a2a2a2a2a":"396ee84fb75fdbb5c2b13c7fe5a654aa":"d07a6a6e2687feb2":1:PSA_SUCCESS:PSA_SUCCESS
620 …"b0bd69":"4096804221093ddccfbf46831490ea63e9e99414858f8d75ff7f642c7ca61803":PSA_SUCCESS:PSA_SUCCESS
635 …"b0bd69":"4096804221093ddccfbf46831490ea63e9e99414858f8d75ff7f642c7ca61803":PSA_SUCCESS:PSA_SUCCESS
825 pake_operations:"abcd":PSA_ERROR_GENERIC_ERROR:PSA_SUCCESS:"":PSA_ERROR_GENERIC_ERROR:0
828 pake_operations:"abcd":PSA_ERROR_GENERIC_ERROR:PSA_SUCCESS:"":PSA_ERROR_GENERIC_ERROR:1
[all …]
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_generate_key.generated.data5 generate_key:PSA_KEY_TYPE_AES:128:PSA_SUCCESS:
9 generate_key:PSA_KEY_TYPE_AES:192:PSA_SUCCESS:
13 generate_key:PSA_KEY_TYPE_AES:256:PSA_SUCCESS:
17 generate_key:PSA_KEY_TYPE_ARIA:128:PSA_SUCCESS:
21 generate_key:PSA_KEY_TYPE_ARIA:192:PSA_SUCCESS:
25 generate_key:PSA_KEY_TYPE_ARIA:256:PSA_SUCCESS:
53 generate_key:PSA_KEY_TYPE_DES:64:PSA_SUCCESS:
57 generate_key:PSA_KEY_TYPE_DES:128:PSA_SUCCESS:
61 generate_key:PSA_KEY_TYPE_DES:192:PSA_SUCCESS:
65 generate_key:PSA_KEY_TYPE_HMAC:128:PSA_SUCCESS:
[all …]
A Dtest_suite_psa_crypto.pbkdf2.data3 …0":PSA_SUCCESS:PSA_KEY_DERIVATION_INPUT_SALT:"73616c74":PSA_SUCCESS:PSA_KEY_DERIVATION_INPUT_PASSW…
7 …0":PSA_SUCCESS:PSA_KEY_DERIVATION_INPUT_SALT:"4e61436c":PSA_SUCCESS:PSA_KEY_DERIVATION_INPUT_PASSW…
12 …0":PSA_SUCCESS:PSA_KEY_DERIVATION_INPUT_SALT:"73616c74":PSA_SUCCESS:PSA_KEY_DERIVATION_INPUT_PASSW…
16 …0":PSA_SUCCESS:PSA_KEY_DERIVATION_INPUT_SALT:"4e61436c":PSA_SUCCESS:PSA_KEY_DERIVATION_INPUT_PASSW…
A Dtest_suite_psa_crypto.data1606 hash_setup:PSA_ALG_SHA_1:PSA_SUCCESS
1610 hash_setup:PSA_ALG_SHA_224:PSA_SUCCESS
1614 hash_setup:PSA_ALG_SHA_256:PSA_SUCCESS
1618 hash_setup:PSA_ALG_SHA_384:PSA_SUCCESS
1622 hash_setup:PSA_ALG_SHA_512:PSA_SUCCESS
1626 hash_setup:PSA_ALG_MD5:PSA_SUCCESS
1630 hash_setup:PSA_ALG_RIPEMD160:PSA_SUCCESS
5839 …ON_INPUT_LABEL:"abcd":PSA_ERROR_INVALID_ARGUMENT:0:"":PSA_SUCCESS:0:"":PSA_SUCCESS:0:"":PSA_SUCCES…
5843 …INPUT_PASSWORD:"abcd":PSA_ERROR_INVALID_ARGUMENT:0:"":PSA_SUCCESS:0:"":PSA_SUCCESS:0:"":PSA_SUCCES…
5973 …ON_INPUT_LABEL:"abcd":PSA_ERROR_INVALID_ARGUMENT:0:"":PSA_SUCCESS:0:"":PSA_SUCCESS:0:"":PSA_SUCCES…
[all …]
A Dtest_suite_psa_crypto_memory.data2 copy_input:20:20:PSA_SUCCESS
5 copy_input:10:20:PSA_SUCCESS
11 copy_input:0:10:PSA_SUCCESS
14 copy_input:0:0:PSA_SUCCESS
17 copy_output:20:20:PSA_SUCCESS
20 copy_output:10:20:PSA_SUCCESS
26 copy_output:0:10:PSA_SUCCESS
29 copy_output:0:0:PSA_SUCCESS
32 local_input_alloc:200:PSA_SUCCESS
35 local_input_alloc:0:PSA_SUCCESS
[all …]
A Dtest_suite_psa_crypto_low_hash.function38 PSA_SUCCESS);
48 PSA_SUCCESS);
85 PSA_SUCCESS);
87 PSA_SUCCESS);
89 PSA_SUCCESS);
91 PSA_SUCCESS);
93 PSA_SUCCESS);
95 PSA_SUCCESS);
98 PSA_SUCCESS);
104 PSA_SUCCESS);
[all …]
A Dtest_suite_psa_crypto_driver_wrappers.function794 if (actual_status == PSA_SUCCESS) {
930 if (actual_status == PSA_SUCCESS) {
1483 TEST_EQUAL(status, PSA_SUCCESS);
1704 if (status == PSA_SUCCESS) {
1767 if (status == PSA_SUCCESS) {
2829 if (status == PSA_SUCCESS) {
2936 if (status == PSA_SUCCESS) {
3045 PSA_SUCCESS);
3051 PSA_SUCCESS);
3123 PSA_SUCCESS);
[all …]
/mbedtls/library/
A Dpsa_crypto.c662 return PSA_SUCCESS; in psa_validate_unstructured_key_bit_size()
718 return PSA_SUCCESS; in psa_allocate_buffer_to_slot()
732 return PSA_SUCCESS; in psa_copy_key_material_into_slot()
1069 return PSA_SUCCESS; in psa_restrict_key_policy()
1129 return PSA_SUCCESS; in psa_get_and_lock_key_slot_with_policy()
1175 return PSA_SUCCESS; in psa_get_and_lock_transparent_key_slot_with_policy()
1187 return PSA_SUCCESS; in psa_remove_key_data_from_memory()
1450 return PSA_SUCCESS; in psa_export_key_buffer_internal()
1659 return PSA_SUCCESS; in psa_validate_key_policy()
1716 return PSA_SUCCESS; in psa_validate_key_attributes()
[all …]
A Dpsa_crypto_slot_management.c160 return PSA_SUCCESS; in psa_initialize_key_slots()
233 return PSA_SUCCESS; in psa_reserve_free_key_slot()
374 status = PSA_SUCCESS; in psa_get_and_lock_key_slot()
453 return PSA_SUCCESS; in psa_unregister_read()
469 return PSA_SUCCESS; in psa_unregister_read()
490 status = PSA_SUCCESS; in psa_unregister_read_under_mutex()
520 return PSA_SUCCESS; in psa_validate_key_location()
523 return PSA_SUCCESS; in psa_validate_key_location()
531 return PSA_SUCCESS; in psa_validate_key_persistence()
586 status = PSA_SUCCESS; in psa_close_key()
[all …]
A Dpsa_crypto_ecp.c141 if (status != PSA_SUCCESS) { in mbedtls_psa_ecp_load_representation()
155 if (status != PSA_SUCCESS) { in mbedtls_psa_ecp_load_representation()
190 if (status != PSA_SUCCESS) { in mbedtls_psa_ecp_load_representation()
224 if (status != PSA_SUCCESS) { in mbedtls_psa_ecp_import_key()
301 if (status != PSA_SUCCESS) { in mbedtls_psa_ecp_export_public_key()
382 if (status != PSA_SUCCESS) { in mbedtls_psa_ecdsa_sign_hash()
469 if (status != PSA_SUCCESS) { in mbedtls_psa_ecdsa_verify_hash()
485 if (status != PSA_SUCCESS) { in mbedtls_psa_ecdsa_verify_hash()
492 if (status != PSA_SUCCESS) { in mbedtls_psa_ecdsa_verify_hash()
497 if (status != PSA_SUCCESS) { in mbedtls_psa_ecdsa_verify_hash()
[all …]
A Dpsa_crypto_storage.c85 if (status != PSA_SUCCESS) { in psa_crypto_storage_load()
141 if (status != PSA_SUCCESS) { in psa_crypto_storage_store()
146 if (status != PSA_SUCCESS) { in psa_crypto_storage_store()
156 if (status != PSA_SUCCESS) { in psa_crypto_storage_store()
174 return PSA_SUCCESS; in psa_destroy_persistent_key()
186 return PSA_SUCCESS; in psa_destroy_persistent_key()
210 if (status != PSA_SUCCESS) { in psa_crypto_storage_get_data_length()
216 return PSA_SUCCESS; in psa_crypto_storage_get_data_length()
263 return PSA_SUCCESS; in check_magic_header()
314 return PSA_SUCCESS; in psa_parse_key_data_from_storage()
[all …]
A Dlmots.c131 if (status != PSA_SUCCESS) { in create_digit_array_with_checksum()
137 if (status != PSA_SUCCESS) { in create_digit_array_with_checksum()
143 if (status != PSA_SUCCESS) { in create_digit_array_with_checksum()
148 if (status != PSA_SUCCESS) { in create_digit_array_with_checksum()
154 if (status != PSA_SUCCESS) { in create_digit_array_with_checksum()
159 if (status != PSA_SUCCESS) { in create_digit_array_with_checksum()
166 if (status != PSA_SUCCESS) { in create_digit_array_with_checksum()
322 if (status != PSA_SUCCESS) { in public_key_from_hashed_digit_array()
329 if (status != PSA_SUCCESS) { in public_key_from_hashed_digit_array()
335 if (status != PSA_SUCCESS) { in public_key_from_hashed_digit_array()
[all …]
A Dpsa_crypto_mac.c91 if (status != PSA_SUCCESS) { in psa_hmac_setup_internal()
123 if (status != PSA_SUCCESS) { in psa_hmac_finish_internal()
129 if (status != PSA_SUCCESS) { in psa_hmac_finish_internal()
134 if (status != PSA_SUCCESS) { in psa_hmac_finish_internal()
139 if (status != PSA_SUCCESS) { in psa_hmac_finish_internal()
144 if (status != PSA_SUCCESS) { in psa_hmac_finish_internal()
213 status = PSA_SUCCESS; in mac_init()
220 status = PSA_SUCCESS; in mac_init()
228 if (status != PSA_SUCCESS) { in mac_init()
240 return PSA_SUCCESS; in mbedtls_psa_mac_abort()
[all …]
A Dpsa_crypto_cipher.c93 return PSA_SUCCESS; in mbedtls_cipher_validate_values()
103 return PSA_SUCCESS; in mbedtls_cipher_validate_values()
119 return PSA_SUCCESS; in mbedtls_cipher_validate_values()
269 if (status != PSA_SUCCESS) { in mbedtls_cipher_info_from_psa()
432 status = PSA_SUCCESS; in psa_cipher_update_ecb()
492 status = PSA_SUCCESS; in psa_cipher_update_ecb()
538 status = PSA_SUCCESS; in mbedtls_psa_cipher_update()
571 if (status != PSA_SUCCESS) { in mbedtls_psa_cipher_finish()
601 return PSA_SUCCESS; in mbedtls_psa_cipher_abort()
624 if (status != PSA_SUCCESS) { in mbedtls_psa_cipher_encrypt()
[all …]
A Dpsa_crypto_pake.c147 return PSA_SUCCESS; in psa_pake_ecjpake_setup()
165 if (status != PSA_SUCCESS) { in mbedtls_psa_pake_setup()
170 if (status != PSA_SUCCESS) { in mbedtls_psa_pake_setup()
175 if (status != PSA_SUCCESS) { in mbedtls_psa_pake_setup()
180 if (status != PSA_SUCCESS) { in mbedtls_psa_pake_setup()
204 if (status != PSA_SUCCESS) { in mbedtls_psa_pake_setup()
263 return PSA_SUCCESS; in mbedtls_psa_pake_setup()
380 return PSA_SUCCESS; in mbedtls_psa_pake_output_internal()
500 return PSA_SUCCESS; in mbedtls_psa_pake_input_internal()
540 return PSA_SUCCESS; in mbedtls_psa_pake_get_implicit_key()
[all …]
A Dpsa_crypto_aead.c41 if (status != PSA_SUCCESS) { in psa_aead_setup()
114 return PSA_SUCCESS; in psa_aead_setup()
133 if (status != PSA_SUCCESS) { in mbedtls_psa_aead_encrypt()
196 if (status == PSA_SUCCESS) { in mbedtls_psa_aead_encrypt()
226 return PSA_SUCCESS; in psa_aead_unpadded_locate_tag()
245 if (status != PSA_SUCCESS) { in mbedtls_psa_aead_decrypt()
252 if (status != PSA_SUCCESS) { in mbedtls_psa_aead_decrypt()
306 if (status == PSA_SUCCESS) { in mbedtls_psa_aead_decrypt()
313 if (status == PSA_SUCCESS) { in mbedtls_psa_aead_decrypt()
440 return PSA_SUCCESS; in mbedtls_psa_aead_set_lengths()
[all …]
A Dpsa_crypto_rsa.c50 if (status == PSA_SUCCESS) { in psa_check_rsa_key_byte_aligned()
78 if (status != PSA_SUCCESS) { in mbedtls_psa_rsa_load_representation()
91 if (status != PSA_SUCCESS) { in mbedtls_psa_rsa_load_representation()
123 if (status != PSA_SUCCESS) { in mbedtls_psa_rsa_import_key()
187 return PSA_SUCCESS; in mbedtls_psa_rsa_export_key()
200 if (status != PSA_SUCCESS) { in mbedtls_psa_rsa_export_public_key()
239 return PSA_SUCCESS; in psa_rsa_read_exponent()
314 return PSA_SUCCESS; in psa_rsa_decode_md_type()
332 if (status != PSA_SUCCESS) { in mbedtls_psa_rsa_sign_hash()
337 if (status != PSA_SUCCESS) { in mbedtls_psa_rsa_sign_hash()
[all …]
A Dssl_cookie.c127 &ctx->psa_hmac_key)) != PSA_SUCCESS) { in mbedtls_ssl_cookie_setup()
216 if (status != PSA_SUCCESS) { in mbedtls_ssl_cookie_write()
222 if (status != PSA_SUCCESS) { in mbedtls_ssl_cookie_write()
228 if (status != PSA_SUCCESS) { in mbedtls_ssl_cookie_write()
235 if (status != PSA_SUCCESS) { in mbedtls_ssl_cookie_write()
264 if (status != PSA_SUCCESS) { in mbedtls_ssl_cookie_write()
300 if (status != PSA_SUCCESS) { in mbedtls_ssl_cookie_check()
306 if (status != PSA_SUCCESS) { in mbedtls_ssl_cookie_check()
313 if (status != PSA_SUCCESS) { in mbedtls_ssl_cookie_check()
320 if (status != PSA_SUCCESS) { in mbedtls_ssl_cookie_check()
[all …]
A Dpsa_crypto_se.c122 return PSA_SUCCESS; in psa_get_se_driver_its_file_uid()
133 if (status != PSA_SUCCESS) { in psa_load_se_persistent_data()
157 if (status != PSA_SUCCESS) { in psa_save_se_persistent_data()
200 if (psa_get_key_slot_number(attributes, slot_number) == PSA_SUCCESS) { in psa_find_se_slot_for_key()
256 return status == PSA_SUCCESS ? storage_status : status; in psa_destroy_se_key()
273 if (status != PSA_SUCCESS) { in psa_init_all_se_drivers()
277 if (status != PSA_SUCCESS) { in psa_init_all_se_drivers()
282 return PSA_SUCCESS; in psa_init_all_se_drivers()
344 if (status != PSA_SUCCESS && status != PSA_ERROR_DOES_NOT_EXIST) { in psa_register_se_driver()
349 return PSA_SUCCESS; in psa_register_se_driver()
/mbedtls/programs/psa/
A Dcrypto_examples.c77 ASSERT_STATUS(status, PSA_SUCCESS); in cipher_operation()
101 ASSERT_STATUS(status, PSA_SUCCESS); in cipher_encrypt()
104 ASSERT_STATUS(status, PSA_SUCCESS); in cipher_encrypt()
108 ASSERT_STATUS(status, PSA_SUCCESS); in cipher_encrypt()
131 ASSERT_STATUS(status, PSA_SUCCESS); in cipher_decrypt()
134 ASSERT_STATUS(status, PSA_SUCCESS); in cipher_decrypt()
138 ASSERT_STATUS(status, PSA_SUCCESS); in cipher_decrypt()
165 ASSERT_STATUS(status, PSA_SUCCESS); in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
295 if (status == PSA_SUCCESS) { in cipher_examples()
301 if (status == PSA_SUCCESS) { in cipher_examples()
[all …]
A Dpsa_hash.c70 if (status != PSA_SUCCESS) { in main()
80 } else if (status != PSA_SUCCESS) { in main()
86 if (status != PSA_SUCCESS) { in main()
92 if (status != PSA_SUCCESS) { in main()
98 if (status != PSA_SUCCESS) { in main()
113 if (status != PSA_SUCCESS) { in main()
129 if (status != PSA_SUCCESS) { in main()
/mbedtls/tests/src/drivers/
A Dtest_driver_key_management.c61 if (status != PSA_SUCCESS) { in mbedtls_test_transparent_init()
67 return PSA_SUCCESS; in mbedtls_test_transparent_init()
81 return PSA_SUCCESS; in mbedtls_test_opaque_init()
150 return PSA_SUCCESS; in mbedtls_test_opaque_wrap_key()
188 return PSA_SUCCESS; in mbedtls_test_opaque_unwrap_key()
209 return PSA_SUCCESS; in mbedtls_test_transparent_generate_key()
549 return PSA_SUCCESS; in mbedtls_test_transparent_export_public_key()
699 return PSA_SUCCESS; in mbedtls_test_opaque_export_public_key()
739 return PSA_SUCCESS; in mbedtls_test_opaque_get_builtin_key()
760 return PSA_SUCCESS; in mbedtls_test_opaque_get_builtin_key()
[all …]
A Dtest_driver_mac.c35 if (mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_mac_compute()
79 if (mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_mac_sign_setup()
116 if (mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_mac_verify_setup()
151 if (mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_mac_update()
183 if (mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_mac_sign_finish()
215 if (mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_mac_verify_finish()
244 if (mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_mac_abort()
277 if (mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_opaque_mac_compute()
305 if (mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_opaque_mac_sign_setup()
329 if (mbedtls_test_driver_mac_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_opaque_mac_verify_setup()
[all …]
A Dtest_driver_aead.c36 if (mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_aead_encrypt()
92 if (mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_aead_decrypt()
145 if (mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_aead_encrypt_setup()
182 if (mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_aead_decrypt_setup()
217 if (mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_aead_set_nonce()
246 if (mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_aead_set_lengths()
277 if (mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_aead_update_ad()
309 if (mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_aead_update()
348 if (mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_aead_finish()
388 if (mbedtls_test_driver_aead_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_aead_verify()
[all …]

Completed in 733 milliseconds

123456