11 references to SecretAgreementSizeInBytes
System.Security.Cryptography (11)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellman.cs (6)
83byte[] buffer = new byte[SecretAgreementSizeInBytes]; 117byte[] buffer = new byte[SecretAgreementSizeInBytes]; 149if (destination.Length != SecretAgreementSizeInBytes) 152SR.Format(SR.Argument_DestinationImprecise, SecretAgreementSizeInBytes), 186if (destination.Length != SecretAgreementSizeInBytes) 189SR.Format(SR.Argument_DestinationImprecise, SecretAgreementSizeInBytes),
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellmanCng.Windows.cs (2)
55Debug.Assert(destination.Length == SecretAgreementSizeInBytes); 110if (!success || bytesWritten != SecretAgreementSizeInBytes)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellmanImplementation.Windows.cs (3)
39Debug.Assert(destination.Length == SecretAgreementSizeInBytes); 60Debug.Assert(destination.Length == SecretAgreementSizeInBytes); 84if (written != SecretAgreementSizeInBytes)