diff options
| author | Eric Biggers <[email protected]> | 2018-07-27 22:36:11 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2018-08-03 10:06:06 +0000 |
| commit | d6e43798b3d9cb8c59e1fccfaeec7cb396dc0699 (patch) | |
| tree | 555f72d96ffaceafe726c15b10f529eed89bf54b /lib/mpi/mpi-pow.c | |
| parent | crypto: dh - fix calculating encoded key size (diff) | |
| download | kernel-d6e43798b3d9cb8c59e1fccfaeec7cb396dc0699.tar.gz kernel-d6e43798b3d9cb8c59e1fccfaeec7cb396dc0699.zip | |
crypto: dh - make crypto_dh_encode_key() make robust
Make it return -EINVAL if crypto_dh_key_len() is incorrect rather than
overflowing the buffer.
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions
