diff options
| author | Weili Qian <qianweili@huawei.com> | 2023-07-07 16:18:19 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-07-20 13:16:26 +0300 |
| commit | b0ab0797f7ab74bd6e78ddce7d2ea580e588c60d (patch) | |
| tree | 4b544d65766792a5e087e09de93463b2be12b539 /include/linux/stackprotector.h | |
| parent | b3882fa2a10e28b7642d0c11fcc26caab90e0fa4 (diff) | |
| download | linux-b0ab0797f7ab74bd6e78ddce7d2ea580e588c60d.tar.xz | |
crypto: hisilicon/hpre - ensure private key less than n
The private key of the curve key size generated by stdrng, which maybe
not less than n. Therefore, the private key with the curve key size
minus 1 is generated to ensure that the private key is less than n.
Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
