Displaying 3 results from an estimated 3 matches for "ff_1".
Did you mean:
f_1
2017 Jul 06
2
[Bug Fix] Default values not applied to ... arguments
Hi Duncan, Martin
Here's a small patch that fixes bug 15199 reported at:
https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15199
I was able to reproduce the bug as Duncan had outlined just fine, but I
did notice that when we debug(f), the problem went away.
I later realized that f(1,,3) behaved correctly the first time it was
executed, but misbehaved as documented on subsequent calls.
2024 Aug 06
1
[PATCH] Add SM3 secure hash algorithm
...); \
+ b = ROTL((b), 9); \
+ f = ROTL((f), 19); \
+ h = P0((h)); \
+ } while (0)
+
+#define R1(a, b, c, d, e, f, g, h, t, w1, w2) \
+ R(1, a, b, c, d, e, f, g, h, t, w1, w2)
+#define R2(a, b, c, d, e, f, g, h, t, w1, w2) \
+ R(2, a, b, c, d, e, f, g, h, t, w1, w2)
+
+#define FF_1(x, y, z) (x ^ y ^ z)
+#define FF_2(x, y, z) ((x & y) | (x & z) | (y & z))
+
+#define GG_1(x, y, z) FF_1(x, y, z)
+#define GG_2(x, y, z) ((x & y) | (~x & z))
+
+/* Message expansion */
+#define P0(x) ((x) ^ ROTL((x), 9) ^ ROTL((x), 17))
+#define P1(x) ((x) ^ ROTL((x), 15) ^ ROTL(...
2024 Aug 07
1
[PATCH] Add SM3 secure hash algorithm
...((f), 19); \
> + h = P0((h)); \
> + } while (0)
> +
> +#define R1(a, b, c, d, e, f, g, h, t, w1, w2) \
> + R(1, a, b, c, d, e, f, g, h, t, w1, w2)
> +#define R2(a, b, c, d, e, f, g, h, t, w1, w2) \
> + R(2, a, b, c, d, e, f, g, h, t, w1, w2)
> +
> +#define FF_1(x, y, z) (x ^ y ^ z)
> +#define FF_2(x, y, z) ((x & y) | (x & z) | (y & z))
> +
> +#define GG_1(x, y, z) FF_1(x, y, z)
> +#define GG_2(x, y, z) ((x & y) | (~x & z))
> +
> +/* Message expansion */
> +#define P0(x) ((x) ^ ROTL((x), 9) ^ ROTL((x), 17))
> +#d...