ShiftRightN() static private méthode

static private ShiftRightN ( uint block, int n ) : void
block uint
n int
Résultat void
Exemple #1
0
        internal static void MultiplyP8(uint[] x)
        {
            uint num = x[3];

            GcmUtilities.ShiftRightN(x, 8);
            for (int index = 7; index >= 0; --index)
            {
                if (((long)num & (long)(1 << index)) != 0L)
                {
                    x[0] ^= 3774873600U >> 7 - index;
                }
            }
        }
        internal static void MultiplyP8(uint[] x, uint[] y)
        {
            uint num = GcmUtilities.ShiftRightN(x, 8, y);

            y[0] ^= GcmUtilities.LOOKUP[(int)((UIntPtr)(num >> 24))];
        }
Exemple #3
0
        // Token: 0x060000FB RID: 251 RVA: 0x00008A30 File Offset: 0x00006C30
        internal static void MultiplyP8(uint[] x)
        {
            uint num = GcmUtilities.ShiftRightN(x, 8);

            x[0] ^= GcmUtilities.LOOKUP[(int)(num >> 24)];
        }