8 references to KEY_MODIFIER_SIZE_IN_BYTES
Microsoft.AspNetCore.DataProtection (8)
Cng\CngGcmAuthenticatedEncryptor.cs (8)
120if (cbCiphertext < KEY_MODIFIER_SIZE_IN_BYTES + NONCE_SIZE_IN_BYTES + TAG_SIZE_IN_BYTES) 127var cbPlaintext = checked(cbCiphertext - (KEY_MODIFIER_SIZE_IN_BYTES + NONCE_SIZE_IN_BYTES + TAG_SIZE_IN_BYTES)); 134byte* pbNonce = &pbKeyModifier[KEY_MODIFIER_SIZE_IN_BYTES]; 148cbContext: KEY_MODIFIER_SIZE_IN_BYTES, 237var retVal = new byte[checked(cbPreBuffer + KEY_MODIFIER_SIZE_IN_BYTES + NONCE_SIZE_IN_BYTES + cbPlaintext + TAG_SIZE_IN_BYTES + cbPostBuffer)]; 242byte* pbNonce = &pbKeyModifier[KEY_MODIFIER_SIZE_IN_BYTES]; 247_genRandom.GenRandom(pbKeyModifier, KEY_MODIFIER_SIZE_IN_BYTES + NONCE_SIZE_IN_BYTES); 261cbContext: KEY_MODIFIER_SIZE_IN_BYTES,