1 write to DecapsulationKeySizeInBytes
System.Security.Cryptography (1)
src\libraries\Common\src\System\Security\Cryptography\MLKemAlgorithm.cs (1)
26
DecapsulationKeySizeInBytes
= decapsulationKeySizeInBytes;
12 references to DecapsulationKeySizeInBytes
System.Security.Cryptography (12)
src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (8)
399
if (source.Length != algorithm.
DecapsulationKeySizeInBytes
)
508
if (destination.Length != Algorithm.
DecapsulationKeySizeInBytes
)
511
SR.Format(SR.Argument_DestinationImprecise, Algorithm.
DecapsulationKeySizeInBytes
),
534
byte[] decapsulationKey = new byte[Algorithm.
DecapsulationKeySizeInBytes
];
1697
if (expandedKey.Length != algorithm.
DecapsulationKeySizeInBytes
)
1706
int decapsulationKeySize = algorithm.
DecapsulationKeySizeInBytes
;
1759
int initialSize = Algorithm.
DecapsulationKeySizeInBytes
+ 32;
1789
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
);