You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, we support three different crypto providers: OpenSSL 1.1, OpenSSL 3, and BoringSSL. These providers have largely the same API, so we have a slightly hairy mess of #ifdefs to account for the differences. If we were to try to add support for CryptoKit, X-CUBE-CRYPTOLIB or liboqs, we would need things to look substantially different.
We should consider introducing a stronger interface/implementation separation, and segregating the implementation code according to the underlying crypto provider.
Right now, we support three different crypto providers: OpenSSL 1.1, OpenSSL 3, and BoringSSL. These providers have largely the same API, so we have a slightly hairy mess of
#ifdef
s to account for the differences. If we were to try to add support for CryptoKit, X-CUBE-CRYPTOLIB or liboqs, we would need things to look substantially different.We should consider introducing a stronger interface/implementation separation, and segregating the implementation code according to the underlying crypto provider.
Prior art in
mls-rs
:https://docs.rs/mls-rs/latest/mls_rs/trait.CryptoProvider.html
https://docs.rs/mls-rs/latest/mls_rs/trait.CipherSuiteProvider.html
Overall concept:
lib/hpke/src
has files for some set of providersThe text was updated successfully, but these errors were encountered: