﻿namespace Obscur.Core.Cryptography.Support.Math.EllipticCurve.Custom.Ed25519
{
    internal static partial class ScalarOperations
    {
        public static void sc_clamp(byte[] s, int offset)
        {
            s[offset + 0] &= 248;
            s[offset + 31] &= 127;
            s[offset + 31] |= 64;
        }
    }
}
