11 references to SecretAgreementSizeInBytes
System.Security.Cryptography (11)
System\Security\Cryptography\X25519DiffieHellman.cs (6)
80byte[] buffer = new byte[SecretAgreementSizeInBytes]; 114byte[] buffer = new byte[SecretAgreementSizeInBytes]; 146if (destination.Length != SecretAgreementSizeInBytes) 149SR.Format(SR.Argument_DestinationImprecise, SecretAgreementSizeInBytes), 183if (destination.Length != SecretAgreementSizeInBytes) 186SR.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)