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

samples: drivers: crypto: Align buffers #78692

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Oct 3, 2024

  1. samples: drivers: crypto: Improve memory alignment

    Commit e1e1973 (samples: drivers:
    crypto: Aligned AES key) introduced the alignment for the key. According
    to the commit message, the intention was to align the variable at 32 bit
    boundaries. For this reason, passing 32 to __aligned seems like an
    error, as its argument is denoted in byte and not bits.
    
    Signed-off-by: Reto Schneider <[email protected]>
    rettichschnidi committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    1abc5e2 View commit details
    Browse the repository at this point in the history
  2. samples: drivers: crypto: Align buffers

    This change extends what e1e1973
    (samples: drivers: crypto: Aligned AES key) has started: For certain
    architectures (i.e. Si32), the alignment of the used buffers is
    important as the AES HW engine uses DMA and inherits its restrictions.
    
    Signed-off-by: Reto Schneider <[email protected]>
    rettichschnidi committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    1fca4fb View commit details
    Browse the repository at this point in the history