I am using BLAKE3 on some exotic x86 platforms where the computation result is incorrect under default setup. Unfortunately, there seems no way to turn off any hardware accelerations without patching the source code. Would it be better if an cfg flag is exposed, say blake3_force_soft, which forces implementation to use Platform::Portable? The same approach has been used in RustCrypto crates such as aes.
I am using BLAKE3 on some exotic x86 platforms where the computation result is incorrect under default setup. Unfortunately, there seems no way to turn off any hardware accelerations without patching the source code. Would it be better if an cfg flag is exposed, say
blake3_force_soft, which forces implementation to usePlatform::Portable? The same approach has been used in RustCrypto crates such as aes.