Home
last modified time | relevance | path

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

/mbedtls-3.6.0/library/
Dpsa_crypto.c116 return PSA_ERROR_BAD_STATE;
190 return PSA_ERROR_BAD_STATE; in mbedtls_to_psa_error()
2164 status = PSA_ERROR_BAD_STATE;
2194 status = PSA_ERROR_BAD_STATE;
2221 return PSA_ERROR_BAD_STATE;
2313 return PSA_ERROR_BAD_STATE;
2410 status = PSA_ERROR_BAD_STATE;
2478 return PSA_ERROR_BAD_STATE;
2505 status = PSA_ERROR_BAD_STATE;
2510 status = PSA_ERROR_BAD_STATE;
[all …]
Dpsa_crypto_mac.c268 return PSA_ERROR_BAD_STATE; in mbedtls_psa_mac_abort()
281 return PSA_ERROR_BAD_STATE; in psa_mac_setup()
347 return PSA_ERROR_BAD_STATE; in mbedtls_psa_mac_update()
368 return PSA_ERROR_BAD_STATE; in mbedtls_psa_mac_update()
399 return PSA_ERROR_BAD_STATE; in psa_mac_finish_internal()
412 return PSA_ERROR_BAD_STATE; in mbedtls_psa_mac_sign_finish()
432 return PSA_ERROR_BAD_STATE; in mbedtls_psa_mac_verify_finish()
Dpsa_crypto_hash.c85 return PSA_ERROR_BAD_STATE; in mbedtls_psa_hash_abort()
99 return PSA_ERROR_BAD_STATE; in mbedtls_psa_hash_setup()
188 return PSA_ERROR_BAD_STATE; in mbedtls_psa_hash_clone()
334 return PSA_ERROR_BAD_STATE; in mbedtls_psa_hash_update()
422 return PSA_ERROR_BAD_STATE; in mbedtls_psa_hash_finish()
Dpsa_util.c69 { PSA_ERROR_BAD_STATE, MBEDTLS_ERR_SSL_INTERNAL_ERROR },
148 case PSA_ERROR_BAD_STATE: in psa_pk_status_to_mbedtls()
Dpsa_crypto_slot_management.c158 status = PSA_ERROR_BAD_STATE; in psa_get_empty_key_slot()
334 return PSA_ERROR_BAD_STATE; in psa_get_and_lock_key_slot()
Dpk_wrap.c71 case PSA_ERROR_BAD_STATE: in mbedtls_pk_error_from_psa()
110 case PSA_ERROR_BAD_STATE: in mbedtls_pk_error_from_psa_rsa()
150 case PSA_ERROR_BAD_STATE: in mbedtls_pk_error_from_psa_ecdsa()
Dpsa_crypto_cipher.c462 return PSA_ERROR_BAD_STATE; in mbedtls_psa_cipher_abort()
Dpsa_crypto_driver_wrappers.h1843 return( PSA_ERROR_BAD_STATE ); in psa_driver_wrapper_hash_clone()
1876 return( PSA_ERROR_BAD_STATE ); in psa_driver_wrapper_hash_update()
1911 return( PSA_ERROR_BAD_STATE ); in psa_driver_wrapper_hash_finish()
1937 return( PSA_ERROR_BAD_STATE ); in psa_driver_wrapper_hash_abort()
Dssl_misc.h2560 case PSA_ERROR_BAD_STATE: in psa_ssl_status_to_mbedtls()
Dssl_tls.c8702 case PSA_ERROR_BAD_STATE: /* Intentional fallthrough */ in mbedtls_ssl_get_key_exchange_md_tls1_2()
/mbedtls-3.6.0/tests/suites/
Dtest_suite_psa_crypto_pake.data3 …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
103 …SECP_R1, 256):PSA_ALG_SHA_256:"client":"server":0:ERR_INJECT_INVALID_FIRST_STEP:PSA_ERROR_BAD_STATE
215 …A_ECC_FAMILY_SECP_R1, 256):PSA_ALG_SHA_256:0:"abcdef":ERR_INJECT_EXTRA_OUTPUT:PSA_ERROR_BAD_STATE:0
219 …SA_ECC_FAMILY_SECP_R1, 256):PSA_ALG_SHA_256:1:"abcdef":ERR_INJECT_EXTRA_INPUT:PSA_ERROR_BAD_STATE:0
223 …AMILY_SECP_R1, 256):PSA_ALG_SHA_256:1:"abcdef":ERR_INJECT_EXTRA_OUTPUT_AT_END:PSA_ERROR_BAD_STATE:1
227 …FAMILY_SECP_R1, 256):PSA_ALG_SHA_256:0:"abcdef":ERR_INJECT_EXTRA_INPUT_AT_END:PSA_ERROR_BAD_STATE:1
Dtest_suite_psa_crypto.function2607 PSA_ERROR_BAD_STATE);
2609 PSA_ERROR_BAD_STATE);
2611 PSA_ERROR_BAD_STATE);
2878 PSA_ERROR_BAD_STATE);
2885 PSA_ERROR_BAD_STATE);
2893 PSA_ERROR_BAD_STATE);
2903 PSA_ERROR_BAD_STATE);
2909 PSA_ERROR_BAD_STATE);
2918 PSA_ERROR_BAD_STATE);
2929 PSA_ERROR_BAD_STATE);
[all …]
Dtest_suite_psa_crypto.data2242 cipher_encrypt_fail:PSA_ALG_ECB_NO_PADDING:PSA_KEY_TYPE_AES:"":"":PSA_ERROR_BAD_STATE
2391 cipher_decrypt_fail:PSA_ALG_ECB_NO_PADDING:PSA_KEY_TYPE_AES:"":"":"":PSA_ERROR_BAD_STATE
4421 …d49c71349a295fee5a1c68507f45a9e1c7b":72:PSA_ERROR_INVALID_ARGUMENT:PSA_ERROR_BAD_STATE:PSA_INTERRU…
4425 …dd0d49c71349a295fee5a1c68507f45a9e1c7b":72:PSA_ERROR_NOT_SUPPORTED:PSA_ERROR_BAD_STATE:PSA_INTERRU…
4429 …b9e29e1b161e5c1fa7425e73043362938b9824":96:PSA_ERROR_NOT_SUPPORTED:PSA_ERROR_BAD_STATE:PSA_INTERRU…
4709 …3573e3c2412534bb4a19b3a7811742f49f50f":PSA_ERROR_INVALID_SIGNATURE:PSA_ERROR_BAD_STATE:PSA_INTERRU…
4721 …49c71349a295fee5a1c68507f45a9e1c7b":"":PSA_ERROR_INVALID_SIGNATURE:PSA_ERROR_BAD_STATE:PSA_INTERRU…
4725 …ec3573e3c2412534bb4a19b3a7811742f49f5":PSA_ERROR_INVALID_SIGNATURE:PSA_ERROR_BAD_STATE:PSA_INTERRU…
4729 …73e3c2412534bb4a19b3a7811742f49f50f21":PSA_ERROR_INVALID_SIGNATURE:PSA_ERROR_BAD_STATE:PSA_INTERRU…
4733 …3573e3c2412534bb4a19b3a7811742f49f50f":PSA_ERROR_INVALID_SIGNATURE:PSA_ERROR_BAD_STATE:PSA_INTERRU…
[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_pake.function896 PSA_ERROR_BAD_STATE);
898 PSA_ERROR_BAD_STATE);
909 PSA_ERROR_BAD_STATE);
911 PSA_ERROR_BAD_STATE);
1010 PSA_ERROR_BAD_STATE);
1013 PSA_ERROR_BAD_STATE);
1060 PSA_ERROR_BAD_STATE);
1107 PSA_ERROR_BAD_STATE);
1110 PSA_ERROR_BAD_STATE);
1170 PSA_ERROR_BAD_STATE);
[all …]
Dtest_suite_psa_crypto_init.function169 TEST_EQUAL(status, PSA_ERROR_BAD_STATE);
189 TEST_EQUAL(status, PSA_ERROR_BAD_STATE);
Dtest_suite_psa_crypto_driver_wrappers.function1507 TEST_EQUAL(status, PSA_ERROR_BAD_STATE);
1517 TEST_EQUAL(status, PSA_ERROR_BAD_STATE);
1538 TEST_EQUAL(status, PSA_ERROR_BAD_STATE);
1573 TEST_EQUAL(status, PSA_ERROR_BAD_STATE);
1603 TEST_EQUAL(status, PSA_ERROR_BAD_STATE);
1641 TEST_EQUAL(status, PSA_ERROR_BAD_STATE);
1931 TEST_EQUAL(PSA_ERROR_BAD_STATE, status);
1949 TEST_EQUAL(PSA_ERROR_BAD_STATE, status);
2097 TEST_EQUAL(PSA_ERROR_BAD_STATE, status);
2115 TEST_EQUAL(PSA_ERROR_BAD_STATE, status);
[all …]
/mbedtls-3.6.0/include/psa/
Dcrypto_values.h126 #define PSA_ERROR_BAD_STATE ((psa_status_t)-137) macro
/mbedtls-3.6.0/programs/psa/
Dpsa_constant_names_generated.c7 case PSA_ERROR_BAD_STATE: return "PSA_ERROR_BAD_STATE"; in psa_strerror()
/mbedtls-3.6.0/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.h.jinja1575 return( PSA_ERROR_BAD_STATE );
1600 return( PSA_ERROR_BAD_STATE );
1627 return( PSA_ERROR_BAD_STATE );
1646 return( PSA_ERROR_BAD_STATE );
/mbedtls-3.6.0/docs/proposed/
Dpsa-driver-interface.md670 * `PSA_ERROR_BAD_STATE`: the inputs are not ready
/mbedtls-3.6.0/
DChangeLog1876 sizes (instead of PSA_ERROR_BAD_STATE in some cases) to make the