apple / swift-crypto

Open-source implementation of a substantial portion of the API of Apple CryptoKit suitable for use on Linux platforms.
https://apple.github.io/swift-crypto
Apache License 2.0
1.47k stars 166 forks source link

Add support for AES CFB mode in _CryptoExtras #252

Closed simonjbeaumont closed 2 months ago

simonjbeaumont commented 2 months ago

Motivation

We have AES support in _CryptoExtras for CBC, CTR, and GCM-SIV modes; but we do not have support for CFB.

Modifications

Result

New API added to support AES-CFB.

simonjbeaumont commented 2 months ago

Thanks @Lukasa I just push an update that renamed Nonce to IV, throughout. Otherwise no changes since your review. I'll leave it with you to merge whenever it's a good time.