ec_key_data.cpp |
Older versions had a bug which caused secret keys to not be encoded to
the full byte length of the order if there were leading zero bytes. This
was particularly a problem for P-521, where on average half of keys do
not have their high bit set and so can be encoded in 65 bytes, vs 66
bytes for the full order.
To accomodate this, zero prefix the key if we see such a short input
|
3045 |
ec_key_data.h |
|
1975 |
ecc_key.cpp |
strong |
8015 |
ecc_key.h |
This class represents abstract ECC public keys. When encoding a key
via an encoder that can be accessed via the corresponding member
functions, the key will decide upon its internally stored encoding
information whether to encode itself with or without domain
parameters, or using the domain parameter oid. Furthermore, a public
key without domain parameters can be decoded. In that case, it
cannot be used for verification until its domain parameters are set
by calling the corresponding member function.
|
7780 |
info.txt |
|
336 |