diff options
author | Nicolai Stange <nstange@suse.de> | 2022-02-21 15:10:50 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-03-03 01:47:50 +0300 |
commit | 215bebc8c6ac438c382a6a56bd2764a2d4e1da72 (patch) | |
tree | f24676861334158d8da04cdfb4a2af794bdad62e /.mailmap | |
parent | 48c6d8b878c1d811015cfba1a302d8474a9aace6 (diff) | |
download | linux-215bebc8c6ac438c382a6a56bd2764a2d4e1da72.tar.xz |
crypto: dh - constify struct dh's pointer members
struct dh contains several pointer members corresponding to DH parameters:
->key, ->p and ->g. A subsequent commit will introduce "dh" wrapping
templates of the form "ffdhe2048(dh)", "ffdhe3072(dh)" and so on in order
to provide built-in support for the well-known safe-prime ffdhe group
parameters specified in RFC 7919. These templates will need to set the
group parameter related members of the (serialized) struct dh instance
passed to the inner "dh" kpp_alg instance, i.e. ->p and ->g, to some
constant, static storage arrays.
Turn the struct dh pointer members' types into "pointer to const" in
preparation for this.
Signed-off-by: Nicolai Stange <nstange@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions