11 references to AES_128_CBC
Microsoft.AspNetCore.DataProtection (3)
AuthenticatedEncryption\AuthenticatedEncryptorFactory.cs (3)
117
case EncryptionAlgorithm.
AES_128_CBC
:
138
case EncryptionAlgorithm.
AES_128_CBC
:
171
case EncryptionAlgorithm.
AES_128_CBC
:
Microsoft.AspNetCore.DataProtection.Tests (8)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorTests.cs (4)
25
[InlineData(EncryptionAlgorithm.
AES_128_CBC
, ValidationAlgorithm.HMACSHA256)]
28
[InlineData(EncryptionAlgorithm.
AES_128_CBC
, ValidationAlgorithm.HMACSHA512)]
109
{ EncryptionAlgorithm.
AES_128_CBC
, ValidationAlgorithm.HMACSHA256, () => new HMACSHA256() },
112
{ EncryptionAlgorithm.
AES_128_CBC
, ValidationAlgorithm.HMACSHA512, () => new HMACSHA512() },
KeyManagement\KeyRingBasedDataProtectorTests.cs (4)
637
[InlineData("", EncryptionAlgorithm.
AES_128_CBC
, ValidationAlgorithm.HMACSHA256)]
638
[InlineData("small", EncryptionAlgorithm.
AES_128_CBC
, ValidationAlgorithm.HMACSHA256)]
639
[InlineData("This is a medium length plaintext message", EncryptionAlgorithm.
AES_128_CBC
, ValidationAlgorithm.HMACSHA256)]
640
[InlineData("This is a very long plaintext message that spans multiple blocks and should test the encryption and size estimation with larger payloads to ensure everything works correctly", EncryptionAlgorithm.
AES_128_CBC
, ValidationAlgorithm.HMACSHA256)]