Signal-iOS/SignalServiceKit/tests/Curve25519
Jordan Rose cbaae3fb08 Tighten up checks for PublicKey.init(keyBytes:)
For historical reasons libsignal's PublicKey.init(_:) allows trailing
data, because the type byte specifies how much of the data is relevant
anyway. init(keyBytes:), however, should not be so lax, since it's
assuming the key data is a Curve25519 public point.
2024-05-20 10:18:42 -07:00
..
ECKeyPairTest.swift Tighten up checks for PublicKey.init(keyBytes:) 2024-05-20 10:18:42 -07:00