Thread (75 messages) 75 messages, 7 authors, 2021-07-24

Re: [PATCH 03/11] crypto/ffdhe: Finite Field DH Ephemeral Parameters

From: Hannes Reinecke <hare@suse.de>
Date: 2021-07-18 12:22:31
Also in: linux-nvme

On 7/17/21 5:03 PM, Stephan Müller wrote:
Am Freitag, 16. Juli 2021, 13:04:20 CEST schrieb Hannes Reinecke:

Hi Hannes,
quoted
+#include <linux/module.h>
+#include <crypto/internal/kpp.h>
+#include <crypto/kpp.h>
+#include <crypto/dh.h>
+#include <linux/mpi.h>
+
+/*
+ * ffdhe2048 generator (g), modulus (p) and group size (q)
+ */
+const u8 ffdhe2048_g[] = { 0x02 };
What about using static const here (and for all the following groups)?
Yes, of course. Will be fixing it.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare@suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help