12 references to PrivateKeySizeInBytes
System.Security.Cryptography (12)
System\Security\Cryptography\X25519DiffieHellman.cs (11)
156byte[] buffer = new byte[PrivateKeySizeInBytes]; 176if (destination.Length != PrivateKeySizeInBytes) 179SR.Format(SR.Argument_DestinationImprecise, PrivateKeySizeInBytes), 787/// <paramref name="source" /> has a length that is not <see cref="PrivateKeySizeInBytes" />. 812/// <paramref name="source" /> has a length that is not <see cref="PrivateKeySizeInBytes" />. 823if (source.Length != PrivateKeySizeInBytes) 1372int size = PrivateKeySizeInBytes + 32; 1406int pkcs8SizeInBytes = pkcs8Preamble.Length + PrivateKeySizeInBytes; 1415Span<byte> privateKeyBuffer = destination.Slice(pkcs8Preamble.Length, PrivateKeySizeInBytes); 1437int initialSize = PrivateKeySizeInBytes + 32; 1475if (privateKey.Length != PrivateKeySizeInBytes)
System\Security\Cryptography\X25519DiffieHellmanImplementation.OpenSsl.cs (1)
52Debug.Assert(destination.Length == PrivateKeySizeInBytes);