Updating ECDH test vectors:

Changing incorrect documentation in the header:
The public keys are X509 encoded. Private keys are just integers.

Adding some more edge cases:
These are mostly cases where the y coordinate is a special case.
Such special cases can lead to overflows if the point is normalized
during the ECDH compuation. A normalization is sometimes done in
precomputations.

Somewhat better comments: I.e. explain what the edge case is.

Removing unnecessary notes: Sometimes test vectors with labels are generated,
but not used because encoding can't handle the test vectors. Previously the
label would still end up in the notes section. This has been removed.

NOKEYCHECK=True
PiperOrigin-RevId: 232640195
GitOrigin-RevId: b2bae8ea496a482297ea92f125d7762990015a33
This commit is contained in:
bleichen
2019-02-06 02:19:30 -08:00
committed by Tink Team
parent 8ca57ca2b9
commit 2d2290c28e
16 changed files with 26146 additions and 12116 deletions
File diff suppressed because it is too large Load Diff