System\Security\Cryptography\AesImplementation.OpenSsl.cs (15)
11CipherMode cipherMode,
28CipherMode cipherMode,
40private static IntPtr GetAlgorithm(int keySize, int feedback, CipherMode cipherMode) =>
45(128, CipherMode.CBC) => Interop.Crypto.EvpAes128Cbc(),
46(128, CipherMode.ECB) => Interop.Crypto.EvpAes128Ecb(),
47(128, CipherMode.CFB) when feedback == 8 => Interop.Crypto.EvpAes128Cfb8(),
48(128, CipherMode.CFB) when feedback == 128 => Interop.Crypto.EvpAes128Cfb128(),
50(192, CipherMode.CBC) => Interop.Crypto.EvpAes192Cbc(),
51(192, CipherMode.ECB) => Interop.Crypto.EvpAes192Ecb(),
52(192, CipherMode.CFB) when feedback == 8 => Interop.Crypto.EvpAes192Cfb8(),
53(192, CipherMode.CFB) when feedback == 128 => Interop.Crypto.EvpAes192Cfb128(),
55(256, CipherMode.CBC) => Interop.Crypto.EvpAes256Cbc(),
56(256, CipherMode.ECB) => Interop.Crypto.EvpAes256Ecb(),
57(256, CipherMode.CFB) when feedback == 8 => Interop.Crypto.EvpAes256Cfb8(),
58(256, CipherMode.CFB) when feedback == 128 => Interop.Crypto.EvpAes256Cfb128(),