Commit Graph

2 Commits

Author SHA1 Message Date
Gustav Simonsson
52a46e61f9 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).
2015-02-11 20:28:42 +01:00
obscuren
6cf6981ed0 init 2014-12-10 00:00:52 +01:00