| /mbedtls/tests/suites/ |
| A D | test_suite_psa_crypto_driver_wrappers.data | 238 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 256 …PSA_SUCCESS:PSA_KEY_LOCATION_LOCAL_STORAGE:130:1:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1)… 276 …PSA_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 D | test_suite_psa_crypto_se_driver_hal_mocks.data | 2 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 D | test_suite_psa_crypto_generate_key.generated.data | 5 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 D | test_suite_psa_crypto.pbkdf2.data | 3 …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 D | test_suite_psa_crypto.data | 1606 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 D | test_suite_psa_crypto_memory.data | 2 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 D | test_suite_psa_crypto_low_hash.function | 38 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 D | test_suite_psa_crypto_driver_wrappers.function | 794 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 D | psa_crypto.c | 662 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 D | psa_crypto_slot_management.c | 160 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 D | psa_crypto_ecp.c | 141 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 D | psa_crypto_storage.c | 85 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 D | lmots.c | 131 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 D | psa_crypto_mac.c | 91 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 D | psa_crypto_cipher.c | 93 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 D | psa_crypto_pake.c | 147 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 D | psa_crypto_aead.c | 41 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 D | psa_crypto_rsa.c | 50 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 D | ssl_cookie.c | 127 &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 D | psa_crypto_se.c | 122 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 D | crypto_examples.c | 77 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 D | psa_hash.c | 70 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 D | test_driver_key_management.c | 61 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 D | test_driver_mac.c | 35 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 D | test_driver_aead.c | 36 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 …]
|