diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-02-12 03:03:52 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-02-12 03:28:42 +0800 |
commit | 52a46e61f948d9c5f4a4e993bc1870bd79a19b56 (patch) | |
tree | 3c54f34f53f0cca44c42069df3bc36f1b8c67fba /_data | |
parent | d899334bba7bf4a157cab19d8ad836dcb1de0c34 (diff) | |
download | dexon-52a46e61f948d9c5f4a4e993bc1870bd79a19b56.tar dexon-52a46e61f948d9c5f4a4e993bc1870bd79a19b56.tar.gz dexon-52a46e61f948d9c5f4a4e993bc1870bd79a19b56.tar.bz2 dexon-52a46e61f948d9c5f4a4e993bc1870bd79a19b56.tar.lz dexon-52a46e61f948d9c5f4a4e993bc1870bd79a19b56.tar.xz dexon-52a46e61f948d9c5f4a4e993bc1870bd79a19b56.tar.zst dexon-52a46e61f948d9c5f4a4e993bc1870bd79a19b56.zip |
Correct ECIES shared key length check
* Ensure the ECIES shared key is padded with zero bytes if it's
smaller than the requested key length.
* Split the ECIES shared key error into two;
one for when the generated key is too big for the params
and one for when it's nil (point of infinity returned by the
curve scalar multiplication).
Diffstat (limited to '_data')
0 files changed, 0 insertions, 0 deletions