Re: [EXT] caam test failures with libkcapi

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

 



On Fri, Dec 22, 2023 at 11:50 AM Gaurav Jain <gaurav.jain@xxxxxxx> wrote:
>
> Hi Herbert
>
> tcrypt tests are passing with kernel crypto CAAM driver.

Is that also with CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y ? (We didn't
test that, but we suspect it may be able to trigger the issue.)

> Can you please share the logs for libkcapi test failures.

A log from our kernel CI testing is available here (it is from CentOS
Stream 9, but it fails in the same way on the Fedora's 6.6.6-based
kernel):
https://s3.amazonaws.com/arr-cki-prod-trusted-artifacts/trusted-artifacts/1109180874/test_aarch64/5766414724/artifacts/run.done.03/job.01/recipes/15194733/tasks/31/logs/taskout.log

You should be able to reproduce it on your machine easily:
1. dnf install -y git-core gcc autoconf automake libtool (or an
equivalent for your distribution)
2. git clone https://github.com/smuellerDD/libkcapi/
3. cd libkcapi/
4. autoreconf -i
5. cd test/
6. ./test-invocation.sh

>
> Regards
> Gaurav Jain
>
> > -----Original Message-----
> > From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> > Sent: Friday, December 22, 2023 8:46 AM
> > To: Horia Geanta <horia.geanta@xxxxxxx>; Gaurav Jain
> > <gaurav.jain@xxxxxxx>; Pankaj Gupta <pankaj.gupta@xxxxxxx>; Linux Crypto
> > Mailing List <linux-crypto@xxxxxxxxxxxxxxx>
> > Cc: Ondrej Mosnacek <omosnace@xxxxxxxxxx>
> > Subject: [EXT] caam test failures with libkcapi
> >
> > Caution: This is an external email. Please take care when clicking links or
> > opening attachments. When in doubt, report the message using the 'Report this
> > email' button
> >
> >
> > Hi:
> >
> > It's been brought to my attention that the caam driver fails with libkcapi test
> > suite:
> >
> >
> > https://github.co/
> > m%2FsmuellerDD%2Flibkcapi%2F&data=05%7C02%7Cgaurav.jain%40nxp.com%
> > 7C3dad774d29404c40164908dc029c4da1%7C686ea1d3bc2b4c6fa92cd99c5c30
> > 1635%7C0%7C0%7C638388117546628060%7CUnknown%7CTWFpbGZsb3d8eyJ
> > WIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> > 3000%7C%7C%7C&sdata=aQ2MLvyfioDjh8a1c600f8A5sTMSlaPSckg8QY6RpVs%
> > 3D&reserved=0
> >
> > Can you please have a look into this? It would also be useful to get some
> > confirmation that caam still passes the extra fuzzing tests.
> >
> > Thanks,
> > --
> > Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page:
> > http://gondor.ap/
> > ana.org.au%2F~herbert%2F&data=05%7C02%7Cgaurav.jain%40nxp.com%7C3d
> > ad774d29404c40164908dc029c4da1%7C686ea1d3bc2b4c6fa92cd99c5c301635
> > %7C0%7C0%7C638388117546784331%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi
> > MC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000
> > %7C%7C%7C&sdata=9YTdCRpZOzKmkYlMKhGvBkuvVG9tmg%2FQ4Y1VnLuVGCg
> > %3D&reserved=0
> > PGP Key:
> > http://gondor.ap/
> > ana.org.au%2F~herbert%2Fpubkey.txt&data=05%7C02%7Cgaurav.jain%40nxp.c
> > om%7C3dad774d29404c40164908dc029c4da1%7C686ea1d3bc2b4c6fa92cd99c
> > 5c301635%7C0%7C0%7C638388117546784331%7CUnknown%7CTWFpbGZsb3d
> > 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D
> > %7C3000%7C%7C%7C&sdata=jf80tCyfL65DjtCqNfX%2BYnEKIC%2FG8PL63LiZyP
> > GGgdk%3D&reserved=0
>


--
Ondrej Mosnacek
Senior Software Engineer, Linux Security - SELinux kernel
Red Hat, Inc.






[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux