Home
last modified time | relevance | path

Searched refs:PSA_ERROR_BUFFER_TOO_SMALL (Results 1 – 17 of 17) sorted by relevance

/third_party/mbedtls/tests/src/drivers/
Dtest_driver_key_management.c145 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_test_opaque_wrap_key()
184 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_test_opaque_unwrap_key()
205 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_test_transparent_generate_key()
349 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_test_opaque_import_key()
442 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_test_opaque_export_key()
463 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_test_opaque_export_key()
507 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_test_transparent_export_public_key()
648 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_test_opaque_export_public_key()
688 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_test_opaque_get_builtin_key()
708 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_test_opaque_get_builtin_key()
[all …]
Dtest_driver_cipher.c60 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_test_transparent_cipher_encrypt()
106 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_test_transparent_cipher_decrypt()
247 return PSA_ERROR_BUFFER_TOO_SMALL; in mbedtls_test_transparent_cipher_update()
285 return PSA_ERROR_BUFFER_TOO_SMALL; in mbedtls_test_transparent_cipher_finish()
Dtest_driver_signature.c229 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_test_transparent_signature_sign_message()
362 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_test_transparent_signature_sign_hash()
/third_party/mbedtls/library/
Dpsa_crypto_aead.c164 status = PSA_ERROR_BUFFER_TOO_SMALL; in mbedtls_psa_aead_encrypt()
252 return( PSA_ERROR_BUFFER_TOO_SMALL ); in psa_aead_unpadded_locate_tag()
555 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_psa_aead_update()
569 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_psa_aead_update()
608 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_psa_aead_finish()
626 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_psa_aead_finish()
642 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_psa_aead_finish()
Dpsa_crypto_client.c74 return( PSA_ERROR_BUFFER_TOO_SMALL ); in psa_get_key_domain_parameters()
Dpsa_crypto.c145 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_to_psa_error()
205 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_to_psa_error()
238 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_to_psa_error()
272 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_to_psa_error()
293 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_to_psa_error()
301 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_to_psa_error()
1264 return( PSA_ERROR_BUFFER_TOO_SMALL ); in psa_export_key_buffer_internal()
1309 return( PSA_ERROR_BUFFER_TOO_SMALL ); in psa_export_key()
1414 return( PSA_ERROR_BUFFER_TOO_SMALL ); in psa_export_public_key()
2460 status = PSA_ERROR_BUFFER_TOO_SMALL; in psa_mac_sign_finish()
[all …]
Dpsa_crypto_cipher.c370 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_psa_cipher_update()
425 status = PSA_ERROR_BUFFER_TOO_SMALL; in mbedtls_psa_cipher_finish()
Dpsa_crypto_hash.c339 status = PSA_ERROR_BUFFER_TOO_SMALL; in mbedtls_psa_hash_finish()
Dpsa_crypto_slot_management.c310 if( status != PSA_ERROR_BUFFER_TOO_SMALL ) in psa_load_builtin_key_into_slot()
Dpsa_crypto_ecp.c243 return( PSA_ERROR_BUFFER_TOO_SMALL ); in mbedtls_psa_ecp_export_key()
Dpsa_crypto_rsa.c375 status = PSA_ERROR_BUFFER_TOO_SMALL; in mbedtls_psa_rsa_sign_hash()
Dssl_tls.c7017 case PSA_ERROR_BUFFER_TOO_SMALL: in mbedtls_ssl_get_key_exchange_md_tls1_2()
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto.data11 …ort_export:"2a2b":PSA_KEY_TYPE_RAW_DATA:PSA_KEY_USAGE_EXPORT:0:0:16:-1:PSA_ERROR_BUFFER_TOO_SMALL:1
35 …D_LOCATION( PSA_KEY_PERSISTENCE_VOLATILE, TEST_DRIVER_LOCATION ):16:-1:PSA_ERROR_BUFFER_TOO_SMALL:1
78 …UBLIC_KEY:PSA_KEY_USAGE_EXPORT:PSA_ALG_RSA_PKCS1V15_SIGN_RAW:0:1024:-1:PSA_ERROR_BUFFER_TOO_SMALL:1
102 …_KEY_PAIR:PSA_KEY_USAGE_EXPORT:PSA_ALG_RSA_PKCS1V15_SIGN_RAW:0:1024:-1:PSA_ERROR_BUFFER_TOO_SMALL:1
130 …LOCATION( PSA_KEY_PERSISTENCE_VOLATILE, TEST_DRIVER_LOCATION ):1024:-1:PSA_ERROR_BUFFER_TOO_SMALL:1
154 …LOCATION( PSA_KEY_PERSISTENCE_VOLATILE, TEST_DRIVER_LOCATION ):1024:-1:PSA_ERROR_BUFFER_TOO_SMALL:1
186 …PSA_KEY_TYPE_RSA_PUBLIC_KEY:PSA_ALG_RSA_PKCS1V15_SIGN_RAW:0:-1:PSA_ERROR_BUFFER_TOO_SMALL:"3081890…
190 …":PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_ALG_RSA_PKCS1V15_SIGN_RAW:0:-1:PSA_ERROR_BUFFER_TOO_SMALL:"3081890…
202 …ATION( PSA_KEY_PERSISTENCE_VOLATILE, TEST_DRIVER_LOCATION ):-1:PSA_ERROR_BUFFER_TOO_SMALL:"3081890…
206 …ATION( PSA_KEY_PERSISTENCE_VOLATILE, TEST_DRIVER_LOCATION ):-1:PSA_ERROR_BUFFER_TOO_SMALL:"3081890…
[all …]
Dtest_suite_psa_crypto_se_driver_hal.function357 return( PSA_ERROR_BUFFER_TOO_SMALL );
645 case PSA_ERROR_BUFFER_TOO_SMALL:
Dtest_suite_psa_crypto.function2094 PSA_ERROR_BUFFER_TOO_SMALL );
2425 PSA_ERROR_BUFFER_TOO_SMALL );
/third_party/mbedtls/include/psa/
Dcrypto_values.h86 #define PSA_ERROR_BUFFER_TOO_SMALL ((psa_status_t)-138) macro
/third_party/mbedtls/docs/proposed/
Dpsa-driver-interface.md814 If this function returns `PSA_SUCCESS` or `PSA_ERROR_BUFFER_TOO_SMALL`, it must fill `attributes` w…
825 * `PSA_ERROR_BUFFER_TOO_SMALL`: `key_buffer_size` is insufficient. In this case, the driver must pa…