Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xtest regression case 4017 #741

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on May 28, 2024

  1. ta: crypt: fix authenc entries

    Fix the AE cipher entry functions:
    ta_entry_ae_update() - return TEE_AEUpdate() instead of TEE_SUCCESS
    ta_entry_ae_{en,de}crypt_final() - handle NULL buffers
    
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
    Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
    jenswi-linaro committed May 28, 2024
    Configuration menu
    Copy the full SHA
    5b631ef View commit details
    Browse the repository at this point in the history
  2. xtest: return out-buffer sizes unconditionally

    In ta_crypt_cmd_cipher_update(), ta_crypt_cmd_cipher_do_final(),
    ta_crypt_cmd_ae_update(), ta_crypt_cmd_ae_encrypt_final(), and
    ta_crypt_cmd_ae_decrypt_final(), always return out-buffer sizes even if
    the function doesn't return TEEC_SUCCESS.
    
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
    jenswi-linaro committed May 28, 2024
    Configuration menu
    Copy the full SHA
    3c9917a View commit details
    Browse the repository at this point in the history
  3. xtest: regression: add case 4017

    Add case 4017 "Test TEE Internal API Cipher block buffering". This test
    tries to test the corner cases for Cipher and AE buffering.
    
    Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
    Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
    jenswi-linaro committed May 28, 2024
    Configuration menu
    Copy the full SHA
    ccd1288 View commit details
    Browse the repository at this point in the history