Org.BouncyCastle.Crypto.Utilities.Lib25519
Implements the lib25519 API.
namespace Org.BouncyCastle.Crypto.Utilities
{
public static class Lib25519
{
public static readonly int DHBytes;
public static readonly int DHPublicKeyBytes;
public static readonly int DHSecretKeyBytes;
public static readonly int SignBytes;
public static readonly int SignPublicKeyBytes;
public static readonly int SignSecretKeyBytes;
public static void DH(Span<byte> k, ReadOnlySpan<byte> pk, ReadOnlySpan<byte> sk);
public static void DHKeyPair(Span<byte> pk, Span<byte> sk);
public static void Sign(Span<byte> sm, out int smlen, ReadOnlySpan<byte> m, ReadOnlySpan<byte> sk);
public static void SignKeyPair(Span<byte> pk, Span<byte> sk);
public static bool SignOpen(Span<byte> m, out int mlen, ReadOnlySpan<byte> sm, ReadOnlySpan<byte> pk);
}
}