11 references to SecretAgreementSizeInBytes
System.Security.Cryptography (11)
System\Security\Cryptography\X25519DiffieHellman.cs (6)
80
byte[] buffer = new byte[
SecretAgreementSizeInBytes
];
114
byte[] buffer = new byte[
SecretAgreementSizeInBytes
];
146
if (destination.Length !=
SecretAgreementSizeInBytes
)
149
SR.Format(SR.Argument_DestinationImprecise,
SecretAgreementSizeInBytes
),
183
if (destination.Length !=
SecretAgreementSizeInBytes
)
186
SR.Format(SR.Argument_DestinationImprecise,
SecretAgreementSizeInBytes
),
System\Security\Cryptography\X25519DiffieHellmanCng.Windows.cs (2)
52
Debug.Assert(destination.Length ==
SecretAgreementSizeInBytes
);
100
if (!success || bytesWritten !=
SecretAgreementSizeInBytes
)
System\Security\Cryptography\X25519DiffieHellmanImplementation.Windows.cs (3)
38
Debug.Assert(destination.Length ==
SecretAgreementSizeInBytes
);
59
Debug.Assert(destination.Length ==
SecretAgreementSizeInBytes
);
83
if (written !=
SecretAgreementSizeInBytes
)