Searched refs:PSA_ERROR_BAD_STATE (Results 1 – 21 of 21) sorted by relevance
/third_party/mbedtls/library/ |
D | psa_crypto.c | 127 return PSA_ERROR_BAD_STATE; 174 return PSA_ERROR_BAD_STATE; in mbedtls_to_psa_error() 2190 status = PSA_ERROR_BAD_STATE; in psa_hash_setup() 2220 status = PSA_ERROR_BAD_STATE; in psa_hash_update() 2247 return PSA_ERROR_BAD_STATE; in psa_hash_finish() 2339 return PSA_ERROR_BAD_STATE; in psa_hash_clone() 2436 status = PSA_ERROR_BAD_STATE; in psa_mac_setup() 2501 return PSA_ERROR_BAD_STATE; in psa_mac_update() 2528 status = PSA_ERROR_BAD_STATE; in psa_mac_sign_finish() 2533 status = PSA_ERROR_BAD_STATE; in psa_mac_sign_finish() [all …]
|
D | psa_crypto_mac.c | 279 return PSA_ERROR_BAD_STATE; in mbedtls_psa_mac_abort() 292 return PSA_ERROR_BAD_STATE; in psa_mac_setup() 358 return PSA_ERROR_BAD_STATE; in mbedtls_psa_mac_update() 379 return PSA_ERROR_BAD_STATE; in mbedtls_psa_mac_update() 410 return PSA_ERROR_BAD_STATE; in psa_mac_finish_internal() 423 return PSA_ERROR_BAD_STATE; in mbedtls_psa_mac_sign_finish() 443 return PSA_ERROR_BAD_STATE; in mbedtls_psa_mac_verify_finish()
|
D | psa_crypto_hash.c | 78 return PSA_ERROR_BAD_STATE; in mbedtls_psa_hash_abort() 92 return PSA_ERROR_BAD_STATE; in mbedtls_psa_hash_setup() 157 return PSA_ERROR_BAD_STATE; in mbedtls_psa_hash_clone() 263 return PSA_ERROR_BAD_STATE; in mbedtls_psa_hash_update() 332 return PSA_ERROR_BAD_STATE; in mbedtls_psa_hash_finish()
|
D | psa_util.c | 61 { PSA_ERROR_BAD_STATE, MBEDTLS_ERR_SSL_INTERNAL_ERROR }, 139 case PSA_ERROR_BAD_STATE: in psa_pk_status_to_mbedtls()
|
D | psa_crypto_slot_management.c | 172 status = PSA_ERROR_BAD_STATE; in psa_get_empty_key_slot() 348 return PSA_ERROR_BAD_STATE; in psa_get_and_lock_key_slot()
|
D | pk_wrap.c | 89 case PSA_ERROR_BAD_STATE: in mbedtls_pk_error_from_psa() 128 case PSA_ERROR_BAD_STATE: in mbedtls_pk_error_from_psa_rsa() 168 case PSA_ERROR_BAD_STATE: in mbedtls_pk_error_from_psa_ecdsa()
|
D | psa_crypto_driver_wrappers.c | 1726 return( PSA_ERROR_BAD_STATE ); in psa_driver_wrapper_hash_clone() 1751 return( PSA_ERROR_BAD_STATE ); in psa_driver_wrapper_hash_update() 1778 return( PSA_ERROR_BAD_STATE ); in psa_driver_wrapper_hash_finish() 1797 return( PSA_ERROR_BAD_STATE ); in psa_driver_wrapper_hash_abort()
|
D | psa_crypto_cipher.c | 474 return PSA_ERROR_BAD_STATE; in mbedtls_psa_cipher_abort()
|
D | ssl_misc.h | 2544 case PSA_ERROR_BAD_STATE: in psa_ssl_status_to_mbedtls()
|
D | ssl_tls.c | 8812 case PSA_ERROR_BAD_STATE: /* Intentional fallthrough */ in mbedtls_ssl_get_key_exchange_md_tls1_2()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto.function | 2580 PSA_ERROR_BAD_STATE); 2582 PSA_ERROR_BAD_STATE); 2584 PSA_ERROR_BAD_STATE); 2851 PSA_ERROR_BAD_STATE); 2858 PSA_ERROR_BAD_STATE); 2866 PSA_ERROR_BAD_STATE); 2876 PSA_ERROR_BAD_STATE); 2882 PSA_ERROR_BAD_STATE); 2891 PSA_ERROR_BAD_STATE); 2902 PSA_ERROR_BAD_STATE); [all …]
|
D | test_suite_psa_crypto_pake.data | 3 …CP_R1, 256):PSA_ALG_SHA_256:"client":"server":0:ERR_INJECT_UNINITIALIZED_ACCESS:PSA_ERROR_BAD_STATE 27 …LY_SECP_R1, 256):PSA_ALG_SHA_256:"client":"server":0:ERR_INJECT_DUPLICATE_SETUP:PSA_ERROR_BAD_STATE 59 …FAMILY_SECP_R1, 256):PSA_ALG_SHA_256:"client":"server":0:ERR_DUPLICATE_SET_USER:PSA_ERROR_BAD_STATE 63 …FAMILY_SECP_R1, 256):PSA_ALG_SHA_256:"client":"server":0:ERR_DUPLICATE_SET_PEER:PSA_ERROR_BAD_STATE 83 …SECP_R1, 256):PSA_ALG_SHA_256:"client":"server":1:ERR_INJECT_INVALID_FIRST_STEP:PSA_ERROR_BAD_STATE 99 …SECP_R1, 256):PSA_ALG_SHA_256:"client":"server":0:ERR_INJECT_INVALID_FIRST_STEP:PSA_ERROR_BAD_STATE
|
D | test_suite_psa_crypto_se_driver_hal_mocks.data | 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
|
D | test_suite_psa_crypto_pake.function | 848 PSA_ERROR_BAD_STATE); 850 PSA_ERROR_BAD_STATE); 861 PSA_ERROR_BAD_STATE); 863 PSA_ERROR_BAD_STATE); 962 PSA_ERROR_BAD_STATE); 965 PSA_ERROR_BAD_STATE); 1013 PSA_ERROR_BAD_STATE); 1048 PSA_ERROR_BAD_STATE); 1089 PSA_ERROR_BAD_STATE); 1092 PSA_ERROR_BAD_STATE); [all …]
|
D | test_suite_psa_crypto.data | 2086 cipher_encrypt_fail:PSA_ALG_ECB_NO_PADDING:PSA_KEY_TYPE_AES:"":"":PSA_ERROR_BAD_STATE 2235 cipher_decrypt_fail:PSA_ALG_ECB_NO_PADDING:PSA_KEY_TYPE_AES:"":"":"":PSA_ERROR_BAD_STATE 4265 …d49c71349a295fee5a1c68507f45a9e1c7b":72:PSA_ERROR_INVALID_ARGUMENT:PSA_ERROR_BAD_STATE:PSA_INTERRU… 4269 …dd0d49c71349a295fee5a1c68507f45a9e1c7b":72:PSA_ERROR_NOT_SUPPORTED:PSA_ERROR_BAD_STATE:PSA_INTERRU… 4273 …b9e29e1b161e5c1fa7425e73043362938b9824":96:PSA_ERROR_NOT_SUPPORTED:PSA_ERROR_BAD_STATE:PSA_INTERRU… 4553 …3573e3c2412534bb4a19b3a7811742f49f50f":PSA_ERROR_INVALID_SIGNATURE:PSA_ERROR_BAD_STATE:PSA_INTERRU… 4565 …49c71349a295fee5a1c68507f45a9e1c7b":"":PSA_ERROR_INVALID_SIGNATURE:PSA_ERROR_BAD_STATE:PSA_INTERRU… 4569 …ec3573e3c2412534bb4a19b3a7811742f49f5":PSA_ERROR_INVALID_SIGNATURE:PSA_ERROR_BAD_STATE:PSA_INTERRU… 4573 …73e3c2412534bb4a19b3a7811742f49f50f21":PSA_ERROR_INVALID_SIGNATURE:PSA_ERROR_BAD_STATE:PSA_INTERRU… 4577 …3573e3c2412534bb4a19b3a7811742f49f50f":PSA_ERROR_INVALID_SIGNATURE:PSA_ERROR_BAD_STATE:PSA_INTERRU… [all …]
|
D | test_suite_psa_crypto_init.function | 173 TEST_EQUAL(status, PSA_ERROR_BAD_STATE); 193 TEST_EQUAL(status, PSA_ERROR_BAD_STATE);
|
D | test_suite_psa_crypto_driver_wrappers.function | 1506 TEST_EQUAL(status, PSA_ERROR_BAD_STATE); 1516 TEST_EQUAL(status, PSA_ERROR_BAD_STATE); 1537 TEST_EQUAL(status, PSA_ERROR_BAD_STATE); 1572 TEST_EQUAL(status, PSA_ERROR_BAD_STATE); 1602 TEST_EQUAL(status, PSA_ERROR_BAD_STATE); 1640 TEST_EQUAL(status, PSA_ERROR_BAD_STATE); 1930 TEST_EQUAL(PSA_ERROR_BAD_STATE, status); 1948 TEST_EQUAL(PSA_ERROR_BAD_STATE, status); 2096 TEST_EQUAL(PSA_ERROR_BAD_STATE, status); 2114 TEST_EQUAL(PSA_ERROR_BAD_STATE, status); [all …]
|
/third_party/mbedtls/include/psa/ |
D | crypto_values.h | 138 #define PSA_ERROR_BAD_STATE ((psa_status_t)-137) macro
|
/third_party/mbedtls/scripts/data_files/driver_templates/ |
D | psa_crypto_driver_wrappers.c.jinja | 1711 return( PSA_ERROR_BAD_STATE ); 1736 return( PSA_ERROR_BAD_STATE ); 1763 return( PSA_ERROR_BAD_STATE ); 1782 return( PSA_ERROR_BAD_STATE );
|
/third_party/mbedtls/docs/proposed/ |
D | psa-driver-interface.md | 408 * `PSA_ERROR_BAD_STATE`: the inputs are not ready
|
/third_party/mbedtls/ |
D | ChangeLog | 1563 sizes (instead of PSA_ERROR_BAD_STATE in some cases) to make the
|