Signal-iOS/SignalServiceKit/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
..
ECKeyPair.swift Replace Curve25519Kit with LibSignal 2023-10-31 14:18:22 -05:00
PublicKey.swift Tighten up checks for PublicKey.init(keyBytes:) 2024-05-20 10:18:42 -07:00