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