Closed ycrumeyrolle closed 3 years ago
Tests confirmed that setting SET COMPlus_EnableAES=0
environment variable raised the PlatformNotSupportedException
.
Added also some guard on other AES tests.
AesKeyWrapper
was bogus, AesKeyUnwrapper
was fine.
Added the static property EncryptionAlgorithm.EnabledAesInstructionSet
which is true by default.
Setting to false will switch to non-NI implementation. This produces an acceptable overhead.
Resolves #514