Re: [PATCH 5/5] Update Kconfig and Makefile.

2023-04-25 Thread Danny Tsen
I was not sure at the time when I use IS_REACHABLE.  Will fix it in init code. Thanks. -Danny On 4/25/23 12:46 AM, Herbert Xu wrote: On Mon, Apr 24, 2023 at 02:47:26PM -0400, Danny Tsen wrote: +config CRYPTO_CHACHA20_P10 + tristate "Ciphers: ChaCha20, XChacha20, XChacha12 (P10 or later

Re: [PATCH 5/5] Update Kconfig and Makefile.

2023-04-24 Thread Herbert Xu
On Mon, Apr 24, 2023 at 02:47:26PM -0400, Danny Tsen wrote: > > +config CRYPTO_CHACHA20_P10 > + tristate "Ciphers: ChaCha20, XChacha20, XChacha12 (P10 or later)" > + depends on PPC64 && CPU_LITTLE_ENDIAN > + select CRYPTO_SKCIPHER I thought your IS_REACHABLE test was so that you could

[PATCH 5/5] Update Kconfig and Makefile.

2023-04-24 Thread Danny Tsen
Defined CRYPTO_CHACHA20_P10 and CRYPTO POLY1305_P10 in Kconfig to support optimized implementation for Power10 and later CPU. Added new module driver chacha-p10-crypto and poly1305-p10-crypto. Signed-off-by: Danny Tsen --- arch/powerpc/crypto/Kconfig | 26 ++ arch/power