1 write to DecapsulationKeySizeInBytes
System.Security.Cryptography (1)
src\libraries\Common\src\System\Security\Cryptography\MLKemAlgorithm.cs (1)
25
DecapsulationKeySizeInBytes
= decapsulationKeySizeInBytes;
12 references to DecapsulationKeySizeInBytes
System.Security.Cryptography (12)
src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (8)
414
if (source.Length != algorithm.
DecapsulationKeySizeInBytes
)
523
if (destination.Length != Algorithm.
DecapsulationKeySizeInBytes
)
526
SR.Format(SR.Argument_DestinationImprecise, Algorithm.
DecapsulationKeySizeInBytes
),
549
byte[] decapsulationKey = new byte[Algorithm.
DecapsulationKeySizeInBytes
];
1741
if (expandedKey.Length != algorithm.
DecapsulationKeySizeInBytes
)
1750
int decapsulationKeySize = algorithm.
DecapsulationKeySizeInBytes
;
1803
int initialSize = Algorithm.
DecapsulationKeySizeInBytes
+ 32;
1833
int size = Algorithm.
DecapsulationKeySizeInBytes
+ 32;
src\libraries\Common\src\System\Security\Cryptography\MLKemImplementation.cs (2)
22
byte[] rented = CryptoPool.Rent(alg.
DecapsulationKeySizeInBytes
);
34
size = alg.
DecapsulationKeySizeInBytes
;
src\libraries\Common\src\System\Security\Cryptography\MLKemPkcs8.cs (1)
41
int decapsulationKeySize = kem.Algorithm.
DecapsulationKeySizeInBytes
;
System\Security\Cryptography\MLKemImplementation.OpenSsl.cs (1)
50
Debug.Assert(source.Length == algorithm.
DecapsulationKeySizeInBytes
);