5 references to CRYPTPROTECTMEMORY_BLOCK_SIZE
Microsoft.AspNetCore.DataProtection (5)
Secret.cs (5)
141
var numBytesPaddingRequired =
CRYPTPROTECTMEMORY_BLOCK_SIZE
- (numTotalBytesToAllocate %
CRYPTPROTECTMEMORY_BLOCK_SIZE
);
142
if (numBytesPaddingRequired ==
CRYPTPROTECTMEMORY_BLOCK_SIZE
)
147
CryptoUtil.Assert(numTotalBytesToAllocate %
CRYPTPROTECTMEMORY_BLOCK_SIZE
== 0, "numTotalBytesToAllocate % CRYPTPROTECTMEMORY_BLOCK_SIZE == 0");
211
if (_plaintextLength %
CRYPTPROTECTMEMORY_BLOCK_SIZE
== 0)