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 /crypto/mnemonic.go | |
parent | d899334bba7bf4a157cab19d8ad836dcb1de0c34 (diff) | |
download | go-tangerine-52a46e61f948d9c5f4a4e993bc1870bd79a19b56.tar go-tangerine-52a46e61f948d9c5f4a4e993bc1870bd79a19b56.tar.gz go-tangerine-52a46e61f948d9c5f4a4e993bc1870bd79a19b56.tar.bz2 go-tangerine-52a46e61f948d9c5f4a4e993bc1870bd79a19b56.tar.lz go-tangerine-52a46e61f948d9c5f4a4e993bc1870bd79a19b56.tar.xz go-tangerine-52a46e61f948d9c5f4a4e993bc1870bd79a19b56.tar.zst go-tangerine-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 'crypto/mnemonic.go')
0 files changed, 0 insertions, 0 deletions