Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: aes: self-test failed

> Date: Sat, 18 Mar 2023 08:16:07 +0900 (JST)
> From: Mori Hiroki <yamori813%yahoo.co.jp@localhost>
> I have as flow error sometime at boot.
> [...]
> [   1.0300028] BearSSL aes_ct AES-192-CBC enc: self-test failed

This sounds likely to be a hardware error.  We run the same tests of
the same code on many different architectures including arm32, and we
probably would have noticed by now if the BearSSL aes_ct code were

Another possibility is that there is a bug in restoring registers on
interrupt or context switch in armv6.  But I think we can rule out
this possibility because interrupts should still be blocked by this

You say `sometime at boot' -- do you mean that this doesn't happen
every time?  Does it sometimes boot up correctly?  Can you run the atf
tests for this code when it does boot up correctly?

cd /usr/tests/sys/crypto/aes
atf-run | atf-report

Can you run any kind of memory test on this machine?

Home | Main Index | Thread Index | Old Index