1 write to EncapsulationKeySizeInBytes
System.Security.Cryptography (1)
src\libraries\Common\src\System\Security\Cryptography\MLKemAlgorithm.cs (1)
24
EncapsulationKeySizeInBytes
= encapsulationKeySizeInBytes;
9 references to EncapsulationKeySizeInBytes
System.Security.Cryptography (9)
src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (6)
471
if (source.Length != algorithm.
EncapsulationKeySizeInBytes
)
577
if (destination.Length != Algorithm.
EncapsulationKeySizeInBytes
)
580
SR.Format(SR.Argument_DestinationImprecise, Algorithm.
EncapsulationKeySizeInBytes
),
601
byte[] encapsulationKey = new byte[Algorithm.
EncapsulationKeySizeInBytes
];
1214
if (key.Length != algorithm.
EncapsulationKeySizeInBytes
)
1667
int encapsulationKeySize = Algorithm.
EncapsulationKeySizeInBytes
;
System\Security\Cryptography\MLKemImplementation.OpenSsl.cs (1)
59
Debug.Assert(source.Length == algorithm.
EncapsulationKeySizeInBytes
);
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (2)
868
using (CryptoPoolLease pk1 = CryptoPoolLease.Rent(publicKey.Algorithm.
EncapsulationKeySizeInBytes
, skipClear: true))
869
using (CryptoPoolLease pk2 = CryptoPoolLease.Rent(publicKey.Algorithm.
EncapsulationKeySizeInBytes
, skipClear: true))