Port-arm archive

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

Re: Re: aes: self-test failed



Thanks for your reply.

> ----- Original Message -----
> 
> From: "Taylor R Campbell" <campbell+netbsd-port-arm%mumble.net@localhost>
> To: "や もり" <yamori813%yahoo.co.jp@localhost>
> Cc: "port-arm%NetBSD.org@localhost" <port-arm%NetBSD.org@localhost>
> Date: 2023/03/19 日 01:38
> Subject: 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
> broken.
> 
> 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
> point.
> 
> 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

My install image don't have that directory. 
I don't familiar NetBSD. sorry.

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

My kernel conf have no crypto and swcrypto then

Boot fail 8 times/success 2 times.

But add that devices then

Boot fail 1 time/success 9 times.

Very strange.

Hiroki Mori



Home | Main Index | Thread Index | Old Index