All of lore.kernel.org
 help / color / mirror / Atom feed
* [powerpc][5.13.0-next20210629] Kernel WARN crypto/testmgr.c:5653 during boot
@ 2021-06-30  7:37 ` Sachin Sant
  0 siblings, 0 replies; 15+ messages in thread
From: Sachin Sant @ 2021-06-30  7:37 UTC (permalink / raw)
  To: linux-crypto; +Cc: linuxppc-dev, smueller

While booting 5.13.0-next20210629 on a Power server, following
warning is seen:

[    0.076955] DRBG: could not allocate digest TFM handle: hmac(sha512)
[    0.076960] alg: drbg: Failed to reset rng
[    0.076963] alg: drbg: Test 0 failed for drbg_nopr_hmac_sha512
[    0.076967] ------------[ cut here ]------------
[    0.076970] alg: self-tests for drbg_nopr_hmac_sha512 (stdrng) failed (rc=-22)
[    0.076977] WARNING: CPU: 10 PID: 153 at crypto/testmgr.c:5653 alg_test+0x484/0x860
[    0.076989] Modules linked in:
[    0.076993] CPU: 10 PID: 153 Comm: cryptomgr_test Not tainted 5.13.0-next-20210629 #1
[    0.076998] NIP:  c00000000063ea44 LR: c00000000063ea40 CTR: c000000000730b40
[    0.077003] REGS: c00000000e7ff960 TRAP: 0700   Not tainted  (5.13.0-next-20210629)
[    0.077007] MSR:  8000000000029033 <SF,EE,ME,IR,DR,RI,LE>  CR: 28008222  XER: 20040005
[    0.077018] CFAR: c000000000150a00 IRQMASK: 0 
[    0.077018] GPR00: c00000000063ea40 c00000000e7ffc00 c0000000029bc300 0000000000000042 
[    0.077018] GPR04: 00000000ffff7fff c00000000e7ff8c0 c00000000e7ff8b8 0000000000000000 
[    0.077018] GPR08: 00000009f98e0000 c0000000024f66f0 c0000000024f66f0 c000000002876838 
[    0.077018] GPR12: 0000000000008000 c00000001ec7a280 c00000000018ce88 c000000003b300c0 
[    0.077018] GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
[    0.077018] GPR20: 0000000000000000 0000000000000000 c000000002a9ab20 c000000000fb5278 
[    0.077018] GPR24: c000000010a85200 c000000000d61fa8 c000000010a85280 0000000000000400 
[    0.077018] GPR28: c000000010a85200 000000000000000c c000000002ccf230 ffffffffffffffea 
[    0.077072] NIP [c00000000063ea44] alg_test+0x484/0x860
[    0.077077] LR [c00000000063ea40] alg_test+0x480/0x860
[    0.077082] Call Trace:
[    0.077085] [c00000000e7ffc00] [c00000000063ea40] alg_test+0x480/0x860 (unreliable)
[    0.077091] [c00000000e7ffd70] [c00000000063ca60] cryptomgr_test+0x40/0x70
[    0.077097] [c00000000e7ffda0] [c00000000018d014] kthread+0x194/0x1a0
[    0.077103] [c00000000e7ffe10] [c00000000000c750] ret_from_kernel_thread+0x5c/0x6c
[    0.077110] Instruction dump:
[    0.077113] 409e0298 3d220031 89292f56 2f890000 409e0288 3c62fe63 7f45d378 7f84e378 
[    0.077121] 7fe6fb78 38633260 4bb11f5d 60000000 <0fe00000> e8010180 eb210138 7c0803a6 
[    0.077131] ---[ end trace a1cc3999f90f0962 ]---
[    0.077585] iommu: Default domain type: Translated 

This new self test was introduced with
commit 8833272d876e
         crypto: drbg - self test for HMAC(SHA-512)

Thanks
-Sachin


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [powerpc][5.13.0-next20210629] Kernel WARN crypto/testmgr.c:5653 during boot
@ 2021-06-30  7:37 ` Sachin Sant
  0 siblings, 0 replies; 15+ messages in thread
From: Sachin Sant @ 2021-06-30  7:37 UTC (permalink / raw)
  To: linux-crypto; +Cc: smueller, linuxppc-dev

While booting 5.13.0-next20210629 on a Power server, following
warning is seen:

[    0.076955] DRBG: could not allocate digest TFM handle: hmac(sha512)
[    0.076960] alg: drbg: Failed to reset rng
[    0.076963] alg: drbg: Test 0 failed for drbg_nopr_hmac_sha512
[    0.076967] ------------[ cut here ]------------
[    0.076970] alg: self-tests for drbg_nopr_hmac_sha512 (stdrng) failed (rc=-22)
[    0.076977] WARNING: CPU: 10 PID: 153 at crypto/testmgr.c:5653 alg_test+0x484/0x860
[    0.076989] Modules linked in:
[    0.076993] CPU: 10 PID: 153 Comm: cryptomgr_test Not tainted 5.13.0-next-20210629 #1
[    0.076998] NIP:  c00000000063ea44 LR: c00000000063ea40 CTR: c000000000730b40
[    0.077003] REGS: c00000000e7ff960 TRAP: 0700   Not tainted  (5.13.0-next-20210629)
[    0.077007] MSR:  8000000000029033 <SF,EE,ME,IR,DR,RI,LE>  CR: 28008222  XER: 20040005
[    0.077018] CFAR: c000000000150a00 IRQMASK: 0 
[    0.077018] GPR00: c00000000063ea40 c00000000e7ffc00 c0000000029bc300 0000000000000042 
[    0.077018] GPR04: 00000000ffff7fff c00000000e7ff8c0 c00000000e7ff8b8 0000000000000000 
[    0.077018] GPR08: 00000009f98e0000 c0000000024f66f0 c0000000024f66f0 c000000002876838 
[    0.077018] GPR12: 0000000000008000 c00000001ec7a280 c00000000018ce88 c000000003b300c0 
[    0.077018] GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
[    0.077018] GPR20: 0000000000000000 0000000000000000 c000000002a9ab20 c000000000fb5278 
[    0.077018] GPR24: c000000010a85200 c000000000d61fa8 c000000010a85280 0000000000000400 
[    0.077018] GPR28: c000000010a85200 000000000000000c c000000002ccf230 ffffffffffffffea 
[    0.077072] NIP [c00000000063ea44] alg_test+0x484/0x860
[    0.077077] LR [c00000000063ea40] alg_test+0x480/0x860
[    0.077082] Call Trace:
[    0.077085] [c00000000e7ffc00] [c00000000063ea40] alg_test+0x480/0x860 (unreliable)
[    0.077091] [c00000000e7ffd70] [c00000000063ca60] cryptomgr_test+0x40/0x70
[    0.077097] [c00000000e7ffda0] [c00000000018d014] kthread+0x194/0x1a0
[    0.077103] [c00000000e7ffe10] [c00000000000c750] ret_from_kernel_thread+0x5c/0x6c
[    0.077110] Instruction dump:
[    0.077113] 409e0298 3d220031 89292f56 2f890000 409e0288 3c62fe63 7f45d378 7f84e378 
[    0.077121] 7fe6fb78 38633260 4bb11f5d 60000000 <0fe00000> e8010180 eb210138 7c0803a6 
[    0.077131] ---[ end trace a1cc3999f90f0962 ]---
[    0.077585] iommu: Default domain type: Translated 

This new self test was introduced with
commit 8833272d876e
         crypto: drbg - self test for HMAC(SHA-512)

Thanks
-Sachin


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH] crypto: DRBG - select SHA512
  2021-06-30  7:37 ` Sachin Sant
  (?)
@ 2021-06-30 10:32 ` Stephan Mueller
  2021-06-30 12:13     ` Sachin Sant
  2021-07-16  8:14     ` Herbert Xu
  -1 siblings, 2 replies; 15+ messages in thread
From: Stephan Mueller @ 2021-06-30 10:32 UTC (permalink / raw)
  To: Sachin Sant, linux-crypto; +Cc: linuxppc-dev

With the swtich to use HMAC(SHA-512) as the default DRBG type, the
configuration must now also select SHA-512.

Fixes: 9b7b94683a9b "crypto: DRBG - switch to HMAC SHA512 DRBG as default
DRBG"
Reported-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
Signed-off-by: Stephan Mueller <smueller@chronox.com>
---
 crypto/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/Kconfig b/crypto/Kconfig
index ca3b02dcbbfa..64b772c5d1c9 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1768,7 +1768,7 @@ config CRYPTO_DRBG_HMAC
 	bool
 	default y
 	select CRYPTO_HMAC
-	select CRYPTO_SHA256
+	select CRYPTO_SHA512
 
 config CRYPTO_DRBG_HASH
 	bool "Enable Hash DRBG"
-- 
2.31.1




^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [PATCH] crypto: DRBG - select SHA512
  2021-06-30 10:32 ` [PATCH] crypto: DRBG - select SHA512 Stephan Mueller
@ 2021-06-30 12:13     ` Sachin Sant
  2021-07-16  8:14     ` Herbert Xu
  1 sibling, 0 replies; 15+ messages in thread
From: Sachin Sant @ 2021-06-30 12:13 UTC (permalink / raw)
  To: Stephan Mueller; +Cc: linux-crypto, linuxppc-dev


> On 30-Jun-2021, at 4:02 PM, Stephan Mueller <smueller@chronox.de> wrote:
> 
> With the swtich to use HMAC(SHA-512) as the default DRBG type, the
> configuration must now also select SHA-512.
> 
> Fixes: 9b7b94683a9b "crypto: DRBG - switch to HMAC SHA512 DRBG as default
> DRBG"
> Reported-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
> Signed-off-by: Stephan Mueller <smueller@chronox.com>
> ---

Thanks Stephan. This patch fixes the reported problem.

Tested-by: Sachin Sant <sachinp@linux.vnet.ibm.com>

-Sachin


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] crypto: DRBG - select SHA512
@ 2021-06-30 12:13     ` Sachin Sant
  0 siblings, 0 replies; 15+ messages in thread
From: Sachin Sant @ 2021-06-30 12:13 UTC (permalink / raw)
  To: Stephan Mueller; +Cc: linuxppc-dev, linux-crypto


> On 30-Jun-2021, at 4:02 PM, Stephan Mueller <smueller@chronox.de> wrote:
> 
> With the swtich to use HMAC(SHA-512) as the default DRBG type, the
> configuration must now also select SHA-512.
> 
> Fixes: 9b7b94683a9b "crypto: DRBG - switch to HMAC SHA512 DRBG as default
> DRBG"
> Reported-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
> Signed-off-by: Stephan Mueller <smueller@chronox.com>
> ---

Thanks Stephan. This patch fixes the reported problem.

Tested-by: Sachin Sant <sachinp@linux.vnet.ibm.com>

-Sachin


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] crypto: DRBG - select SHA512
  2021-06-30 10:32 ` [PATCH] crypto: DRBG - select SHA512 Stephan Mueller
@ 2021-07-16  8:14     ` Herbert Xu
  2021-07-16  8:14     ` Herbert Xu
  1 sibling, 0 replies; 15+ messages in thread
From: Herbert Xu @ 2021-07-16  8:14 UTC (permalink / raw)
  To: Stephan Mueller; +Cc: sachinp, linux-crypto, linuxppc-dev

Stephan Mueller <smueller@chronox.de> wrote:
> With the swtich to use HMAC(SHA-512) as the default DRBG type, the
> configuration must now also select SHA-512.
> 
> Fixes: 9b7b94683a9b "crypto: DRBG - switch to HMAC SHA512 DRBG as default
> DRBG"
> Reported-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
> Signed-off-by: Stephan Mueller <smueller@chronox.com>
> ---
> crypto/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] crypto: DRBG - select SHA512
@ 2021-07-16  8:14     ` Herbert Xu
  0 siblings, 0 replies; 15+ messages in thread
From: Herbert Xu @ 2021-07-16  8:14 UTC (permalink / raw)
  To: Stephan Mueller; +Cc: sachinp, linuxppc-dev, linux-crypto

Stephan Mueller <smueller@chronox.de> wrote:
> With the swtich to use HMAC(SHA-512) as the default DRBG type, the
> configuration must now also select SHA-512.
> 
> Fixes: 9b7b94683a9b "crypto: DRBG - switch to HMAC SHA512 DRBG as default
> DRBG"
> Reported-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
> Signed-off-by: Stephan Mueller <smueller@chronox.com>
> ---
> crypto/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] crypto: DRBG - select SHA512
  2021-07-16  8:14     ` Herbert Xu
@ 2021-08-14 16:23       ` Borislav Petkov
  -1 siblings, 0 replies; 15+ messages in thread
From: Borislav Petkov @ 2021-08-14 16:23 UTC (permalink / raw)
  To: Herbert Xu; +Cc: Stephan Mueller, sachinp, linux-crypto, linuxppc-dev, lkml

On Fri, Jul 16, 2021 at 04:14:12PM +0800, Herbert Xu wrote:
> Stephan Mueller <smueller@chronox.de> wrote:
> > With the swtich to use HMAC(SHA-512) as the default DRBG type, the
> > configuration must now also select SHA-512.
> > 
> > Fixes: 9b7b94683a9b "crypto: DRBG - switch to HMAC SHA512 DRBG as default
> > DRBG"
> > Reported-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
> > Signed-off-by: Stephan Mueller <smueller@chronox.com>
> > ---
> > crypto/Kconfig | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Patch applied.  Thanks.

Is that patch going to Linus anytime soon?

I still see it on latest rc5+:

DRBG: could not allocate digest TFM handle: hmac(sha512)
alg: drbg: Failed to reset rng
alg: drbg: Test 0 failed for drbg_nopr_hmac_sha512
------------[ cut here ]------------
alg: self-tests for drbg_nopr_hmac_sha512 (stdrng) failed (rc=-22)
WARNING: CPU: 3 PID: 76 at crypto/testmgr.c:5652 alg_test.part.0+0x132/0x3c0
Modules linked in:
CPU: 3 PID: 76 Comm: cryptomgr_test Not tainted 5.14.0-rc5+ #1
Hardware name: LENOVO 2320CTO/2320CTO, BIOS G2ET86WW (2.06 ) 11/13/2012
RIP: 0010:alg_test.part.0+0x132/0x3c0
Code: c0 74 2e 80 3d 7f 61 ad 02 00 0f 85 c0 64 5f 00 44 89 c1 4c 89 f2 4c 89 ee 44 89 44 24 04 48 c7 c7 f8 0a 11 82 e8 8c 57 5e 00 <0f> 0b 44 8b 44 24 04 48 8b 84 24 98 00 00 00 65 48 2b 04 25 28 00
RSP: 0000:ffffc9000078fe38 EFLAGS: 00010292
RAX: 0000000000000042 RBX: 00000000ffffffff RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffffff810f520f RDI: ffffffff810f520f
RBP: 0000000000000053 R08: 0000000000000001 R09: 0000000000000001
R10: ffff888219df9000 R11: 3fffffffffffffff R12: 0000000000000053
R13: ffff888100c0ee00 R14: ffff888100c0ee80 R15: 00000000000014c0
FS:  0000000000000000(0000) GS:ffff888211f80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000002412001 CR4: 00000000001706e0
Call Trace:
 ? lock_is_held_type+0xd5/0x130
 ? find_held_lock+0x2b/0x80
 ? preempt_count_sub+0x9b/0xd0
 ? crypto_acomp_scomp_free_ctx+0x30/0x30
 cryptomgr_test+0x27/0x50
 kthread+0x144/0x170
 ? set_kthread_struct+0x40/0x40
 ret_from_fork+0x22/0x30
irq event stamp: 411
hardirqs last  enabled at (419): [<ffffffff810f6972>] console_unlock+0x332/0x570
hardirqs last disabled at (426): [<ffffffff810f6a1f>] console_unlock+0x3df/0x570
softirqs last  enabled at (234): [<ffffffff81c00329>] __do_softirq+0x329/0x496
softirqs last disabled at (151): [<ffffffff8108248d>] irq_exit_rcu+0xdd/0x130
---[ end trace edfdfd51982deb2d ]---

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] crypto: DRBG - select SHA512
@ 2021-08-14 16:23       ` Borislav Petkov
  0 siblings, 0 replies; 15+ messages in thread
From: Borislav Petkov @ 2021-08-14 16:23 UTC (permalink / raw)
  To: Herbert Xu; +Cc: Stephan Mueller, sachinp, linuxppc-dev, linux-crypto, lkml

On Fri, Jul 16, 2021 at 04:14:12PM +0800, Herbert Xu wrote:
> Stephan Mueller <smueller@chronox.de> wrote:
> > With the swtich to use HMAC(SHA-512) as the default DRBG type, the
> > configuration must now also select SHA-512.
> > 
> > Fixes: 9b7b94683a9b "crypto: DRBG - switch to HMAC SHA512 DRBG as default
> > DRBG"
> > Reported-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
> > Signed-off-by: Stephan Mueller <smueller@chronox.com>
> > ---
> > crypto/Kconfig | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Patch applied.  Thanks.

Is that patch going to Linus anytime soon?

I still see it on latest rc5+:

DRBG: could not allocate digest TFM handle: hmac(sha512)
alg: drbg: Failed to reset rng
alg: drbg: Test 0 failed for drbg_nopr_hmac_sha512
------------[ cut here ]------------
alg: self-tests for drbg_nopr_hmac_sha512 (stdrng) failed (rc=-22)
WARNING: CPU: 3 PID: 76 at crypto/testmgr.c:5652 alg_test.part.0+0x132/0x3c0
Modules linked in:
CPU: 3 PID: 76 Comm: cryptomgr_test Not tainted 5.14.0-rc5+ #1
Hardware name: LENOVO 2320CTO/2320CTO, BIOS G2ET86WW (2.06 ) 11/13/2012
RIP: 0010:alg_test.part.0+0x132/0x3c0
Code: c0 74 2e 80 3d 7f 61 ad 02 00 0f 85 c0 64 5f 00 44 89 c1 4c 89 f2 4c 89 ee 44 89 44 24 04 48 c7 c7 f8 0a 11 82 e8 8c 57 5e 00 <0f> 0b 44 8b 44 24 04 48 8b 84 24 98 00 00 00 65 48 2b 04 25 28 00
RSP: 0000:ffffc9000078fe38 EFLAGS: 00010292
RAX: 0000000000000042 RBX: 00000000ffffffff RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffffff810f520f RDI: ffffffff810f520f
RBP: 0000000000000053 R08: 0000000000000001 R09: 0000000000000001
R10: ffff888219df9000 R11: 3fffffffffffffff R12: 0000000000000053
R13: ffff888100c0ee00 R14: ffff888100c0ee80 R15: 00000000000014c0
FS:  0000000000000000(0000) GS:ffff888211f80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000002412001 CR4: 00000000001706e0
Call Trace:
 ? lock_is_held_type+0xd5/0x130
 ? find_held_lock+0x2b/0x80
 ? preempt_count_sub+0x9b/0xd0
 ? crypto_acomp_scomp_free_ctx+0x30/0x30
 cryptomgr_test+0x27/0x50
 kthread+0x144/0x170
 ? set_kthread_struct+0x40/0x40
 ret_from_fork+0x22/0x30
irq event stamp: 411
hardirqs last  enabled at (419): [<ffffffff810f6972>] console_unlock+0x332/0x570
hardirqs last disabled at (426): [<ffffffff810f6a1f>] console_unlock+0x3df/0x570
softirqs last  enabled at (234): [<ffffffff81c00329>] __do_softirq+0x329/0x496
softirqs last disabled at (151): [<ffffffff8108248d>] irq_exit_rcu+0xdd/0x130
---[ end trace edfdfd51982deb2d ]---

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] crypto: DRBG - select SHA512
  2021-08-14 16:23       ` Borislav Petkov
@ 2021-08-16  2:07         ` Herbert Xu
  -1 siblings, 0 replies; 15+ messages in thread
From: Herbert Xu @ 2021-08-16  2:07 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: Stephan Mueller, sachinp, linux-crypto, linuxppc-dev, lkml

On Sat, Aug 14, 2021 at 06:23:26PM +0200, Borislav Petkov wrote:
> On Fri, Jul 16, 2021 at 04:14:12PM +0800, Herbert Xu wrote:
> > Stephan Mueller <smueller@chronox.de> wrote:
> > > With the swtich to use HMAC(SHA-512) as the default DRBG type, the
> > > configuration must now also select SHA-512.
> > > 
> > > Fixes: 9b7b94683a9b "crypto: DRBG - switch to HMAC SHA512 DRBG as default
> > > DRBG"
> > > Reported-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
> > > Signed-off-by: Stephan Mueller <smueller@chronox.com>
> > > ---
> > > crypto/Kconfig | 2 +-
> > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > Patch applied.  Thanks.
> 
> Is that patch going to Linus anytime soon?
> 
> I still see it on latest rc5+:

I'll push it up this week.

Thanks,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] crypto: DRBG - select SHA512
@ 2021-08-16  2:07         ` Herbert Xu
  0 siblings, 0 replies; 15+ messages in thread
From: Herbert Xu @ 2021-08-16  2:07 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: Stephan Mueller, sachinp, linuxppc-dev, linux-crypto, lkml

On Sat, Aug 14, 2021 at 06:23:26PM +0200, Borislav Petkov wrote:
> On Fri, Jul 16, 2021 at 04:14:12PM +0800, Herbert Xu wrote:
> > Stephan Mueller <smueller@chronox.de> wrote:
> > > With the swtich to use HMAC(SHA-512) as the default DRBG type, the
> > > configuration must now also select SHA-512.
> > > 
> > > Fixes: 9b7b94683a9b "crypto: DRBG - switch to HMAC SHA512 DRBG as default
> > > DRBG"
> > > Reported-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
> > > Signed-off-by: Stephan Mueller <smueller@chronox.com>
> > > ---
> > > crypto/Kconfig | 2 +-
> > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > Patch applied.  Thanks.
> 
> Is that patch going to Linus anytime soon?
> 
> I still see it on latest rc5+:

I'll push it up this week.

Thanks,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] crypto: DRBG - select SHA512
  2021-08-16  2:45           ` Christophe Leroy
@ 2021-08-16  2:44             ` Herbert Xu
  -1 siblings, 0 replies; 15+ messages in thread
From: Herbert Xu @ 2021-08-16  2:44 UTC (permalink / raw)
  To: Christophe Leroy
  Cc: lkml, linux-crypto, linuxppc-dev, sachinp, Stephan Mueller,
	Borislav Petkov

On Mon, Aug 16, 2021 at 04:45:14AM +0200, Christophe Leroy wrote:
>
> The fixes tag has a problem it seems. Should be corrected before pushing.

It's too late for that.  This commit is at the base of many other
subsequent changes.

Cheers,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] crypto: DRBG - select SHA512
@ 2021-08-16  2:44             ` Herbert Xu
  0 siblings, 0 replies; 15+ messages in thread
From: Herbert Xu @ 2021-08-16  2:44 UTC (permalink / raw)
  To: Christophe Leroy
  Cc: sachinp, Stephan Mueller, lkml, Borislav Petkov, linux-crypto,
	linuxppc-dev

On Mon, Aug 16, 2021 at 04:45:14AM +0200, Christophe Leroy wrote:
>
> The fixes tag has a problem it seems. Should be corrected before pushing.

It's too late for that.  This commit is at the base of many other
subsequent changes.

Cheers,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] crypto: DRBG - select SHA512
  2021-08-16  2:07         ` Herbert Xu
@ 2021-08-16  2:45           ` Christophe Leroy
  -1 siblings, 0 replies; 15+ messages in thread
From: Christophe Leroy @ 2021-08-16  2:45 UTC (permalink / raw)
  To: Herbert Xu
  Cc: lkml, linux-crypto, linuxppc-dev, sachinp, Stephan Mueller,
	Borislav Petkov

Herbert Xu <herbert@gondor.apana.org.au> a écrit :

> On Sat, Aug 14, 2021 at 06:23:26PM +0200, Borislav Petkov wrote:
>> On Fri, Jul 16, 2021 at 04:14:12PM +0800, Herbert Xu wrote:
>> > Stephan Mueller <smueller@chronox.de> wrote:
>> > > With the swtich to use HMAC(SHA-512) as the default DRBG type, the
>> > > configuration must now also select SHA-512.
>> > >
>> > > Fixes: 9b7b94683a9b "crypto: DRBG - switch to HMAC SHA512 DRBG  
>> as default
>> > > DRBG"
>> > > Reported-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
>> > > Signed-off-by: Stephan Mueller <smueller@chronox.com>
>> > > ---
>> > > crypto/Kconfig | 2 +-
>> > > 1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> > Patch applied.  Thanks.
>>
>> Is that patch going to Linus anytime soon?
>>
>> I still see it on latest rc5+:
>
> I'll push it up this week.

The fixes tag has a problem it seems. Should be corrected before pushing.

Christophe

>
> Thanks,
> --
> Email: Herbert Xu <herbert@gondor.apana.org.au>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH] crypto: DRBG - select SHA512
@ 2021-08-16  2:45           ` Christophe Leroy
  0 siblings, 0 replies; 15+ messages in thread
From: Christophe Leroy @ 2021-08-16  2:45 UTC (permalink / raw)
  To: Herbert Xu
  Cc: sachinp, Stephan Mueller, lkml, Borislav Petkov, linux-crypto,
	linuxppc-dev

Herbert Xu <herbert@gondor.apana.org.au> a écrit :

> On Sat, Aug 14, 2021 at 06:23:26PM +0200, Borislav Petkov wrote:
>> On Fri, Jul 16, 2021 at 04:14:12PM +0800, Herbert Xu wrote:
>> > Stephan Mueller <smueller@chronox.de> wrote:
>> > > With the swtich to use HMAC(SHA-512) as the default DRBG type, the
>> > > configuration must now also select SHA-512.
>> > >
>> > > Fixes: 9b7b94683a9b "crypto: DRBG - switch to HMAC SHA512 DRBG  
>> as default
>> > > DRBG"
>> > > Reported-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
>> > > Signed-off-by: Stephan Mueller <smueller@chronox.com>
>> > > ---
>> > > crypto/Kconfig | 2 +-
>> > > 1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> > Patch applied.  Thanks.
>>
>> Is that patch going to Linus anytime soon?
>>
>> I still see it on latest rc5+:
>
> I'll push it up this week.

The fixes tag has a problem it seems. Should be corrected before pushing.

Christophe

>
> Thanks,
> --
> Email: Herbert Xu <herbert@gondor.apana.org.au>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2021-08-16  2:44 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-30  7:37 [powerpc][5.13.0-next20210629] Kernel WARN crypto/testmgr.c:5653 during boot Sachin Sant
2021-06-30  7:37 ` Sachin Sant
2021-06-30 10:32 ` [PATCH] crypto: DRBG - select SHA512 Stephan Mueller
2021-06-30 12:13   ` Sachin Sant
2021-06-30 12:13     ` Sachin Sant
2021-07-16  8:14   ` Herbert Xu
2021-07-16  8:14     ` Herbert Xu
2021-08-14 16:23     ` Borislav Petkov
2021-08-14 16:23       ` Borislav Petkov
2021-08-16  2:07       ` Herbert Xu
2021-08-16  2:07         ` Herbert Xu
2021-08-16  2:45         ` Christophe Leroy
2021-08-16  2:45           ` Christophe Leroy
2021-08-16  2:44           ` Herbert Xu
2021-08-16  2:44             ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.