1
0
mirror of https://github.com/wolfSSL/wolfssl.git synced 2026-10-24 04:09:07 +03:00

fixup! Rust wrapper: use approved calls for AES-GCM encrypt with external IV in FIPS builds

This commit is contained in:
Reda Chouk
2026-10-21 14:34:47 +02:00
parent 42aaf551a9
commit e11c312382

View File

@@ -1638,7 +1638,8 @@ impl GCM {
///
/// FIPS builds don't export `wc_AesGcmEncrypt()`, since it isn't approved
/// there. They do the same with approved calls instead, as wolfSSL's
/// `wc_compat.h` does for C callers.
/// `wc_compat.h` does for C callers. As specified in:
/// https://github.com/wolfSSL/wolfssl/blob/master/wolfssl/wolfcrypt/wc_compat.h#L61-L64
///
/// # Safety
///