signalapp / libsignal

Home to the Signal Protocol as well as other cryptographic primitives which make Signal possible.
GNU Affero General Public License v3.0
3.08k stars 362 forks source link

Swift: Expose AES-GCM and AES-CTR implementations #433

Closed jrose-signal closed 2 years ago

jrose-signal commented 2 years ago

These have been in the Rust layer for a while, but not exposed as public API to Swift, though Android does use them.

Additionally, clean up the existing AES-GCM-SIV API a little. This is technically a breaking change, but the iOS app isn't actually using SignalClient's Aes256GcmSiv for anything at the moment.

jrose-signal commented 2 years ago

Closing for now. We may come back to this later though.