11 references to SecretAgreementSizeInBytes
System.Security.Cryptography (11)
src\runtime\src\libraries\Common\src\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
),
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellmanCng.Windows.cs (2)
55
Debug.Assert(destination.Length ==
SecretAgreementSizeInBytes
);
110
if (!success || bytesWritten !=
SecretAgreementSizeInBytes
)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellmanImplementation.Windows.cs (3)
39
Debug.Assert(destination.Length ==
SecretAgreementSizeInBytes
);
60
Debug.Assert(destination.Length ==
SecretAgreementSizeInBytes
);
84
if (written !=
SecretAgreementSizeInBytes
)