genode/repos/gems
Martin Stein 7b7851abfb vfs/tresor_trust_anchor: fix alignment faults
Fixes alignment faults that occured in the AES256 implementations while
wrapping or unwrapping keys on imx53_qsb, imx6q_sabrelite, and imx7d_sabre.
The problem was that the unwrap_key/wrap_key functions did reinterpret casts
from unsigned char pointers to uint64_t pointers and then directly used the 64
bit values of referenced by the latter. Most probably this caused the compiler
to optimize operations in the assumption that the pointer is 8-byte aligned
which then created alignment faults.

As a solution, this commit changes the interface of the wrap_key/unwrap_key
functions to take uint64 pointers as arguments instead of unsigned char
pointers and then adapts the function users to ensure that they refer to
appropriately aligned memory regions.

Fixed #4932
2023-07-14 12:06:32 +02:00
..
include file_vault: version 23.05 2023-05-30 12:03:32 +02:00
lib file_vault: version 23.05 2023-05-30 12:03:32 +02:00
recipes sculpt: replace ipxe_nic_drv by pc_nic_drv 2023-07-14 12:06:31 +02:00
run sculpt_image: add MNT Reform2 as target board 2023-07-14 12:06:31 +02:00
sculpt sculpt: replace ipxe_nic_drv by pc_nic_drv 2023-07-14 12:06:31 +02:00
src vfs/tresor_trust_anchor: fix alignment faults 2023-07-14 12:06:32 +02:00
README Update README files 2023-03-13 14:32:53 +01:00

This directory is a source-code repository containing Genode-specific services
and applications. In contrast to the components hosted in the 'os' repository,
programs contained in 'gems' are able to leverage the functionalities provided
by higher-level repositories such as 'libports'. To use the 'gems' repository,
make sure to also add those repositories to your build configuraion.