| 4e946126 | 03-Jul-2015 |
Cedric Chaumont <cedric.chaumont@st.com> |
GP11 : TEE Arithmetical API fix/panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@l
GP11 : TEE Arithmetical API fix/panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (STM boards) Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (ARM Juno board)
show more ...
|
| b64d6909 | 02-Jul-2015 |
Cedric Chaumont <cedric.chaumont@st.com> |
GP11 : Time functions fix/panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.
GP11 : Time functions fix/panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (STM boards) Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (ARM Juno board)
show more ...
|
| 4a9bd0a7 | 09-Jul-2015 |
Paul Swan <Paul.Swan@microsoft.com> |
Remove the duplicate definition of ssize_t to instead use a single definition. Building OpenSSL as part of a TA resulted in both being included causing a build break.
Signed-off-by: Paul Swan <paswa
Remove the duplicate definition of ssize_t to instead use a single definition. Building OpenSSL as part of a TA resulted in both being included causing a build break.
Signed-off-by: Paul Swan <paswan@microsoft.com> Reviewed-by: Youssef Esmat <Youssef.Esmat@microsoft.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 764307b8 | 08-Jul-2015 |
James Kung <james.kung@linaro.org> |
Updating setup_mtk_optee.sh to use public optee_test repository
Signed-off-by: James Kung <james.kung@linaro.org> Tested-by: James Kung <james.kung@linaro.org> (MT8173 EVB) Reviewed-by: Pascal Brand
Updating setup_mtk_optee.sh to use public optee_test repository
Signed-off-by: James Kung <james.kung@linaro.org> Tested-by: James Kung <james.kung@linaro.org> (MT8173 EVB) Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| bf494894 | 02-Jul-2015 |
Pascal Brand <pascal.brand@st.com> |
ECC: DH implementation and self tests
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jerome Forissier <jerome.forissie
ECC: DH implementation and self tests
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey 32 & 64-bit) Tested-by: Pascal Brand <pascal.brand@linaro.org> (QEMU) Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 1d8052f0 | 02-Jul-2015 |
SY Chiu <sy.chiu@linaro.org> |
SE API: Use tee_svc_copy_kaddr_to_user32() to avoid buffer overflow
Note: buffer overflow is supposed to happen when we have 64-bit kernel and 32-bit TA, but SE API can only be tested on QEMU which
SE API: Use tee_svc_copy_kaddr_to_user32() to avoid buffer overflow
Note: buffer overflow is supposed to happen when we have 64-bit kernel and 32-bit TA, but SE API can only be tested on QEMU which cannot hosts 64-bit kernel for now. Thus, the test is just make sure the change doesn't corrupt SE API implementation.
Signed-off-by: SY Chiu <sy.chiu@linaro.org> Tested-by: SY Chiu <sy.chiu@linaro.org> (QEMU+jcardsim) Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| a75f2e14 | 07-Jul-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
Build for PLATFORM=vexpress-qemu_virt by default
Also, for STM platforms, set CROSS_COMPILE=arm-linux-gnueabihf- by default (which is a more standard prefix for the 32-bit compiler).
Signed-off-by:
Build for PLATFORM=vexpress-qemu_virt by default
Also, for STM platforms, set CROSS_COMPILE=arm-linux-gnueabihf- by default (which is a more standard prefix for the 32-bit compiler).
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 84fa9467 | 02-Jul-2015 |
Cedric Chaumont <cedric.chaumont@st.com> |
GP11 : Key derivation function fix
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (
GP11 : Key derivation function fix
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (STM boards) Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (ARM Juno board)
show more ...
|
| 12e66b6f | 02-Jul-2015 |
Cedric Chaumont <cedric.chaumont@st.com> |
GP11 : Asymmetric functions fix/panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.
GP11 : Asymmetric functions fix/panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (STM boards) Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (ARM Juno board)
show more ...
|
| e1d75590 | 26-Jun-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
arm64: AES XTS using ARMv8-A cryptographic extensions
This completes the work started with commit: 7e8f94166c6f ("arm64: AES using ARMv8-A cryptographic extensions").
The ltc_cipher_descriptor stru
arm64: AES XTS using ARMv8-A cryptographic extensions
This completes the work started with commit: 7e8f94166c6f ("arm64: AES using ARMv8-A cryptographic extensions").
The ltc_cipher_descriptor structure of LibTomCrypt is updated to include pointers to accelerated XTS routines, which can handle multiple blocks of data. The actual processing is done in assembly by ce_aes_xts_encrypt() and ce_aes_xts_decrypt().
aes-perf results on HiKey are now on par with other AES modes. In the table below, XTS is non-accelerated (CFG_CRYPTO_AES_ARM64_CE=n), XTS+ is commit 7e8f94166c6f, and XTS++ is this commit.
Average encryption speed (MiB/s):
Size | Mode (KiB) | XTS XTS+ XTS++ ------+------------------ 1 | 9.2 13.0 21.3 2 | 11.7 18.3 41.4 4 | 13.6 23.0 78.3 8 | 14.7 26.3 141.4 16 | 15.4 28.4 236.6 32 | 15.8 29.6 362.2 64 | 16.0 30.3 495.3 128 | 16.1 30.6 605.8
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
show more ...
|
| b418dfe6 | 07-Jul-2015 |
Xiaoqiang Du <xiaoqiang.du@linaro.org> |
arm32 core_mmu_v7.c: bugfix map_page_memarea()
Fixes the problem that some page entries can not be mapped in map_page_memarea().
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by
arm32 core_mmu_v7.c: bugfix map_page_memarea()
Fixes the problem that some page entries can not be mapped in map_page_memarea().
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Signed-off-by: Xiaoqiang Du <xiaoqiang.du@linaro.org>
show more ...
|
| 50bb2262 | 02-Jul-2015 |
Joakim Bech <joakim.bech@linaro.org> |
qemu: Updating script to use the public optee_test
setup_qemu_optee.sh now uses the official optee_test git that also are using ta-dev-kit built by optee_os.
Signed-off-by: Joakim Bech <joakim.bech
qemu: Updating script to use the public optee_test
setup_qemu_optee.sh now uses the official optee_test git that also are using ta-dev-kit built by optee_os.
Signed-off-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU) Tested-by: Pascal Brand <pascal.brand@linaro.org> (QEMU) (standard and extended tests)
show more ...
|
| 81551ee9 | 02-Jul-2015 |
Joakim Bech <joakim.bech@linaro.org> |
fvp: Updating script to use the public optee_test
setup_fvp_optee.sh now uses the official optee_test git that also are using ta-dev-kit built by optee_os.
Signed-off-by: Joakim Bech <joakim.bech@l
fvp: Updating script to use the public optee_test
setup_fvp_optee.sh now uses the official optee_test git that also are using ta-dev-kit built by optee_os.
Signed-off-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (FVP) Tested-by: Pascal Brand <pascal.brand@linaro.org> (FVP platform - standard tests)
show more ...
|
| b5816c88 | 01-Jul-2015 |
Cedric Chaumont <cedric.chaumont@st.com> |
GP11 : AE functions fix/panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.or
GP11 : AE functions fix/panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (STM boards) Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (ARM Juno board)
show more ...
|
| 87d626cc | 06-Jul-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
Align __start_ta_head_section on 8-byte boundary
Fixes an issue on 64-bit HiKey when running the self-tests of https://github.com/OP-TEE/optee_os/pull/371. The tests would pass when CFG_TEE_CORE_LOG
Align __start_ta_head_section on 8-byte boundary
Fixes an issue on 64-bit HiKey when running the self-tests of https://github.com/OP-TEE/optee_os/pull/371. The tests would pass when CFG_TEE_CORE_LOG_LEVEL=2 but fail with static TA not found when log level is 3.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 3b75106b | 26-Jun-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
core pl011: enable RT interrupt
Enables Receive Timeout interrupt when initializing a PL011 uart. This will generate an interrupt very soon after each key press in the terminal.
Signed-off-by: Jens
core pl011: enable RT interrupt
Enables Receive Timeout interrupt when initializing a PL011 uart. This will generate an interrupt very soon after each key press in the terminal.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (FVP) Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
show more ...
|
| 9977404e | 25-Jun-2015 |
Pascal Brand <pascal.brand@st.com> |
ECC: sign and self tests, at crypto_ops level
Note that in case of pager, the emulated esram size has been increased from 200KB to 256KB.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Rev
ECC: sign and self tests, at crypto_ops level
Note that in case of pager, the emulated esram size has been increased from 200KB to 256KB.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey 32 & 64-bit) Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey with pager) Tested-by: Pascal Brand <pascal.brand@linaro.org> (QEMU platform) Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 28e0efc6 | 01-Jul-2015 |
Cedric Chaumont <cedric.chaumont@st.com> |
GP11 : MAC functions fix/panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Cedric Chaumont <cedric.chaumont@linaro.o
GP11 : MAC functions fix/panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (STM boards) Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (ARM Juno board)
show more ...
|
| dea1f2b6 | 30-Jun-2015 |
Cedric Chaumont <cedric.chaumont@st.com> |
GP11 : Symmetric cipher functions panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Cedric Chaumont <cedric.chaumont
GP11 : Symmetric cipher functions panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (STM boards) Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (ARM Juno board)
show more ...
|
| 87c2f6b6 | 29-Jun-2015 |
Cedric Chaumont <cedric.chaumont@st.com> |
GP11 : Message digest functions panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.
GP11 : Message digest functions panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (STM boards) Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (ARM Juno board)
show more ...
|
| 8707ec0f | 29-Jun-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
arm64: fix buffer overflows when copying kernel addresses to user space
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by:
arm64: fix buffer overflows when copying kernel addresses to user space
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
show more ...
|
| a57c1e2e | 29-Jun-2015 |
Cedric Chaumont <cedric.chaumont@st.com> |
GP11 : TEE_SetOperationKey/2 panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org
GP11 : TEE_SetOperationKey/2 panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (STM boards) Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (ARM Juno board)
show more ...
|
| 37071687 | 30-Jun-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
Fix buffer length test in tee_svc_cryp_obj_populate_type()
Make sure attribute is of reference type before checking its ref.length. Fixes failure of xtest 4007 (TEE_ATTR_DH_X_BITS attribute) on HiKe
Fix buffer length test in tee_svc_cryp_obj_populate_type()
Make sure attribute is of reference type before checking its ref.length. Fixes failure of xtest 4007 (TEE_ATTR_DH_X_BITS attribute) on HiKey and FVP with 64-bit TEE core. Tested on HiKey and FVP (32 and 64-bit).
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Cedric Chaumont <cedric.chaumont@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| bf80076a | 26-Jun-2015 |
Cedric Chaumont <cedric.chaumont@st.com> |
GP11 : TEE_ResetOperation panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Cedric Chaumont <cedric.chaumont@linaro.or
GP11 : TEE_ResetOperation panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (STM boards) Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (ARM Juno board)
show more ...
|
| e889e80b | 25-Jun-2015 |
Cedric Chaumont <cedric.chaumont@st.com> |
GP11 : TEE_FreeOperation panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.o
GP11 : TEE_FreeOperation panic reason
Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (STM boards) Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (ARM Juno board)
show more ...
|