Home
last modified time | relevance | path

Searched refs:PSA_ERROR_BAD_STATE (Results 1 – 15 of 15) sorted by relevance

/third_party/mbedtls/library/
Dpsa_crypto.c120 return( PSA_ERROR_BAD_STATE );
162 return( PSA_ERROR_BAD_STATE ); in mbedtls_to_psa_error()
2124 status = PSA_ERROR_BAD_STATE; in psa_hash_setup()
2155 status = PSA_ERROR_BAD_STATE; in psa_hash_update()
2180 return( PSA_ERROR_BAD_STATE ); in psa_hash_finish()
2267 return( PSA_ERROR_BAD_STATE ); in psa_hash_clone()
2350 status = PSA_ERROR_BAD_STATE; in psa_mac_setup()
2415 return( PSA_ERROR_BAD_STATE ); in psa_mac_update()
2440 status = PSA_ERROR_BAD_STATE; in psa_mac_sign_finish()
2446 status = PSA_ERROR_BAD_STATE; in psa_mac_sign_finish()
[all …]
Dpsa_crypto_mac.c272 return( PSA_ERROR_BAD_STATE ); in mbedtls_psa_mac_abort()
285 return( PSA_ERROR_BAD_STATE ); in psa_mac_setup()
352 return( PSA_ERROR_BAD_STATE ); in mbedtls_psa_mac_update()
376 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()
441 return( PSA_ERROR_BAD_STATE ); in mbedtls_psa_mac_verify_finish()
Dpsa_crypto_hash.c124 return( PSA_ERROR_BAD_STATE ); in mbedtls_psa_hash_abort()
139 return( PSA_ERROR_BAD_STATE ); in mbedtls_psa_hash_setup()
205 return( PSA_ERROR_BAD_STATE ); in mbedtls_psa_hash_clone()
312 return( PSA_ERROR_BAD_STATE ); in mbedtls_psa_hash_update()
382 return( PSA_ERROR_BAD_STATE ); in mbedtls_psa_hash_finish()
Dpsa_crypto_slot_management.c180 status = PSA_ERROR_BAD_STATE; in psa_get_empty_key_slot()
355 return( PSA_ERROR_BAD_STATE ); in psa_get_and_lock_key_slot()
Dpsa_crypto_driver_wrappers.c1439 return( PSA_ERROR_BAD_STATE ); in psa_driver_wrapper_hash_clone()
1464 return( PSA_ERROR_BAD_STATE ); in psa_driver_wrapper_hash_update()
1491 return( PSA_ERROR_BAD_STATE ); in psa_driver_wrapper_hash_finish()
1510 return( PSA_ERROR_BAD_STATE ); in psa_driver_wrapper_hash_abort()
Dpsa_crypto_cipher.c440 return( PSA_ERROR_BAD_STATE ); in mbedtls_psa_cipher_abort()
Dssl_tls.c7016 case PSA_ERROR_BAD_STATE: /* Intentional fallthrough */ in mbedtls_ssl_get_key_exchange_md_tls1_2()
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto.function1787 PSA_ERROR_BAD_STATE );
1789 PSA_ERROR_BAD_STATE );
1791 PSA_ERROR_BAD_STATE );
1956 PSA_ERROR_BAD_STATE );
1963 PSA_ERROR_BAD_STATE );
1971 PSA_ERROR_BAD_STATE );
1981 PSA_ERROR_BAD_STATE );
1987 PSA_ERROR_BAD_STATE );
1996 PSA_ERROR_BAD_STATE );
2007 PSA_ERROR_BAD_STATE );
[all …]
Dtest_suite_psa_crypto_se_driver_hal_mocks.data8 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
Dtest_suite_psa_crypto_driver_wrappers.function916 TEST_EQUAL( status, PSA_ERROR_BAD_STATE );
926 TEST_EQUAL( status, PSA_ERROR_BAD_STATE );
947 TEST_EQUAL( status, PSA_ERROR_BAD_STATE );
982 TEST_EQUAL( status, PSA_ERROR_BAD_STATE );
1012 TEST_EQUAL( status, PSA_ERROR_BAD_STATE );
1050 TEST_EQUAL( status, PSA_ERROR_BAD_STATE );
1281 TEST_EQUAL( PSA_ERROR_BAD_STATE, status );
1297 TEST_EQUAL( PSA_ERROR_BAD_STATE, status );
1398 TEST_EQUAL( PSA_ERROR_BAD_STATE, status );
1414 TEST_EQUAL( PSA_ERROR_BAD_STATE, status );
[all …]
Dtest_suite_psa_crypto.data1887 cipher_encrypt_fail:PSA_ALG_ECB_NO_PADDING:PSA_KEY_TYPE_AES:"":"":PSA_ERROR_BAD_STATE
2036 cipher_decrypt_fail:PSA_ALG_ECB_NO_PADDING:PSA_KEY_TYPE_AES:"":"":"":PSA_ERROR_BAD_STATE
4435 …_KEY_DERIVATION_INPUT_INFO:PSA_KEY_TYPE_NONE:"":PSA_ERROR_BAD_STATE:PSA_KEY_TYPE_NONE:PSA_ERROR_BA…
4441 …EY_DERIVATION_INPUT_INFO:PSA_KEY_TYPE_NONE:"":PSA_ERROR_BAD_STATE:PSA_KEY_TYPE_RAW_DATA:PSA_ERROR_…
4473 …0b0b0b0b0b":PSA_ERROR_BAD_STATE:PSA_KEY_DERIVATION_INPUT_INFO:PSA_KEY_TYPE_NONE:"":PSA_ERROR_BAD_S…
4479 …0b0b0b0b":PSA_ERROR_BAD_STATE:PSA_KEY_DERIVATION_INPUT_INFO:PSA_KEY_TYPE_NONE:"":PSA_ERROR_BAD_STA…
4483 …PSA_KEY_TYPE_DERIVE:"4120696e666f":PSA_ERROR_INVALID_ARGUMENT:PSA_KEY_TYPE_NONE:PSA_ERROR_BAD_STATE
4487 …YPE_NONE:"":PSA_ERROR_BAD_STATE:PSA_KEY_DERIVATION_INPUT_INFO:PSA_KEY_TYPE_NONE:"":PSA_ERROR_BAD_S…
4491 …SA_KEY_DERIVATION_INPUT_INFO:PSA_KEY_TYPE_NONE:"":PSA_SUCCESS:PSA_KEY_TYPE_NONE:PSA_ERROR_BAD_STATE
4495 …b0b0b0b0b0b0b0b0b0b0b0b0b0b0b":PSA_SUCCESS:0:UNUSED:"":UNUSED:PSA_KEY_TYPE_NONE:PSA_ERROR_BAD_STATE
[all …]
Dtest_suite_psa_crypto_init.function175 TEST_EQUAL( status, PSA_ERROR_BAD_STATE );
196 TEST_EQUAL( status, PSA_ERROR_BAD_STATE );
/third_party/mbedtls/include/mbedtls/
Dpsa_util.h355 case PSA_ERROR_BAD_STATE: in mbedtls_psa_err_translate_pk()
/third_party/mbedtls/include/psa/
Dcrypto_values.h114 #define PSA_ERROR_BAD_STATE ((psa_status_t)-137) macro
/third_party/mbedtls/
DChangeLog864 sizes (instead of PSA_ERROR_BAD_STATE in some cases) to make the