| Subject | Re: [PATCH 02/18] crypto: dh - constify struct dh's pointer members | From | Hannes Reinecke <> | Date | Wed, 1 Dec 2021 08:13:05 +0100 |
| |
On 12/1/21 1:48 AM, Nicolai Stange wrote: > struct dh contains several pointer members corresponding to DH parameters: > ->key, ->p and ->g. A subsequent commit will make the struct dh > deserialization function, crypto_dh_decode_key(), to set these to > constant static storage arrays for some of the well-known safe-prime > groups. > > Turn the struct dh pointer members' types into "pointer to const" in > preparation for this. > > Signed-off-by: Nicolai Stange <nstange@suse.de> > --- > include/crypto/dh.h | 6 +++--- > security/keys/dh.c | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > Reviewed-by: Hannes Reinecke <hare@suse.de>
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
|