11 references to SecretAgreementSizeInBytes
System.Security.Cryptography (11)
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),
System\Security\Cryptography\X25519DiffieHellmanCng.Windows.cs (2)
52Debug.Assert(destination.Length == SecretAgreementSizeInBytes); 100if (!success || bytesWritten != SecretAgreementSizeInBytes)
System\Security\Cryptography\X25519DiffieHellmanImplementation.Windows.cs (3)
38Debug.Assert(destination.Length == SecretAgreementSizeInBytes); 59Debug.Assert(destination.Length == SecretAgreementSizeInBytes); 83if (written != SecretAgreementSizeInBytes)