1 write to EncapsulationKeySizeInBytes
System.Security.Cryptography (1)
src\libraries\Common\src\System\Security\Cryptography\MLKemAlgorithm.cs (1)
25
EncapsulationKeySizeInBytes
= encapsulationKeySizeInBytes;
7 references to EncapsulationKeySizeInBytes
System.Security.Cryptography (7)
src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (6)
456
if (source.Length != algorithm.
EncapsulationKeySizeInBytes
)
562
if (destination.Length != Algorithm.
EncapsulationKeySizeInBytes
)
565
SR.Format(SR.Argument_DestinationImprecise, Algorithm.
EncapsulationKeySizeInBytes
),
586
byte[] encapsulationKey = new byte[Algorithm.
EncapsulationKeySizeInBytes
];
1182
if (key.Length != algorithm.
EncapsulationKeySizeInBytes
)
1623
int encapsulationKeySize = Algorithm.
EncapsulationKeySizeInBytes
;
System\Security\Cryptography\MLKemImplementation.OpenSsl.cs (1)
59
Debug.Assert(source.Length == algorithm.
EncapsulationKeySizeInBytes
);