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