6 references to SharedSecretSizeInBytes
System.Security.Cryptography (6)
src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (6)
119if (sharedSecret.Length != Algorithm.SharedSecretSizeInBytes) 122SR.Format(SR.Argument_DestinationImprecise, Algorithm.SharedSecretSizeInBytes), 153byte[] localSharedSecret = new byte[Algorithm.SharedSecretSizeInBytes]; 209if (sharedSecret.Length != Algorithm.SharedSecretSizeInBytes) 212SR.Format(SR.Argument_DestinationImprecise, Algorithm.SharedSecretSizeInBytes), 256byte[] sharedSecret = new byte[Algorithm.SharedSecretSizeInBytes];