/external/dropbear/libtomcrypt/src/pk/ecc/ |
ecc_test.c | 33 ecc_point *G, *GG; 41 GG = ltc_ecc_new_point(); 42 if (G == NULL || GG == NULL) { 45 ltc_ecc_del_point(GG); 76 if ((err = ltc_mp.ecc_ptmul(order, G, GG, modulus, 1)) != CRYPT_OK) { goto done; } 77 if (mp_cmp(G->x, GG->x) != LTC_MP_EQ || mp_cmp(G->y, GG->y) != LTC_MP_EQ) { 84 ltc_ecc_del_point(GG);
|
/external/dropbear/libtomcrypt/src/hashes/ |
md4.c | 59 /* FF, GG and HH are transformations for rounds 1, 2 and 3 */ 66 #define GG(a, b, c, d, x, s) { \ 114 GG (a, b, c, d, x[ 0], S21); /* 17 */ 115 GG (d, a, b, c, x[ 4], S22); /* 18 */ 116 GG (c, d, a, b, x[ 8], S23); /* 19 */ 117 GG (b, c, d, a, x[12], S24); /* 20 */ 118 GG (a, b, c, d, x[ 1], S21); /* 21 */ 119 GG (d, a, b, c, x[ 5], S22); /* 22 */ 120 GG (c, d, a, b, x[ 9], S23); /* 23 */ 121 GG (b, c, d, a, x[13], S24); /* 24 */ [all...] |
md5.c | 49 #define GG(a,b,c,d,M,s,t) \ 88 #define GG(a,b,c,d,M,s,t) \ 129 GG(a,b,c,d,W[Worder[i]],Rorder[i],Korder[i]); 160 GG(a,b,c,d,W[1],5,0xf61e2562UL) 161 GG(d,a,b,c,W[6],9,0xc040b340UL) 162 GG(c,d,a,b,W[11],14,0x265e5a51UL) 163 GG(b,c,d,a,W[0],20,0xe9b6c7aaUL) 164 GG(a,b,c,d,W[5],5,0xd62f105dUL) 165 GG(d,a,b,c,W[10],9,0x02441453UL) 166 GG(c,d,a,b,W[15],14,0xd8a1e681UL [all...] |
rmd128.c | 55 #define GG(a, b, c, d, x, s) \ 122 GG(aa, bb, cc, dd, X[ 7], 7); 123 GG(dd, aa, bb, cc, X[ 4], 6); 124 GG(cc, dd, aa, bb, X[13], 8); 125 GG(bb, cc, dd, aa, X[ 1], 13); 126 GG(aa, bb, cc, dd, X[10], 11); 127 GG(dd, aa, bb, cc, X[ 6], 9); 128 GG(cc, dd, aa, bb, X[15], 7); 129 GG(bb, cc, dd, aa, X[ 3], 15); 130 GG(aa, bb, cc, dd, X[12], 7) [all...] |
rmd160.c | 57 #define GG(a, b, c, d, e, x, s) \ 143 GG(ee, aa, bb, cc, dd, X[ 7], 7); 144 GG(dd, ee, aa, bb, cc, X[ 4], 6); 145 GG(cc, dd, ee, aa, bb, X[13], 8); 146 GG(bb, cc, dd, ee, aa, X[ 1], 13); 147 GG(aa, bb, cc, dd, ee, X[10], 11); 148 GG(ee, aa, bb, cc, dd, X[ 6], 9); 149 GG(dd, ee, aa, bb, cc, X[15], 7); 150 GG(cc, dd, ee, aa, bb, X[ 3], 15); 151 GG(bb, cc, dd, ee, aa, X[12], 7) [all...] |
rmd256.c | 49 #define GG(a, b, c, d, x, s) \ 140 GG(aa, bb, cc, dd, X[ 7], 7); 141 GG(dd, aa, bb, cc, X[ 4], 6); 142 GG(cc, dd, aa, bb, X[13], 8); 143 GG(bb, cc, dd, aa, X[ 1], 13); 144 GG(aa, bb, cc, dd, X[10], 11); 145 GG(dd, aa, bb, cc, X[ 6], 9); 146 GG(cc, dd, aa, bb, X[15], 7); 147 GG(bb, cc, dd, aa, X[ 3], 15); 148 GG(aa, bb, cc, dd, X[12], 7) [all...] |
rmd320.c | 51 #define GG(a, b, c, d, e, x, s) \ 162 GG(ee, aa, bb, cc, dd, X[ 7], 7); 163 GG(dd, ee, aa, bb, cc, X[ 4], 6); 164 GG(cc, dd, ee, aa, bb, X[13], 8); 165 GG(bb, cc, dd, ee, aa, X[ 1], 13); 166 GG(aa, bb, cc, dd, ee, X[10], 11); 167 GG(ee, aa, bb, cc, dd, X[ 6], 9); 168 GG(dd, ee, aa, bb, cc, X[15], 7); 169 GG(cc, dd, ee, aa, bb, X[ 3], 15); 170 GG(bb, cc, dd, ee, aa, X[12], 7) [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/digest/ |
MD5.java | 61 private static int GG(int a, int b, int c, int d, int x, int s, int ac) 120 a = GG(a, b, c, d, x[1], 5, 0xf61e2562); /* 17 */ 121 d = GG(d, a, b, c, x[6], 9, 0xc040b340); /* 18 */ 122 c = GG(c, d, a, b, x[11], 14, 0x265e5a51); /* 19 */ 123 b = GG(b, c, d, a, x[0], 20, 0xe9b6c7aa); /* 20 */ 124 a = GG(a, b, c, d, x[5], 5, 0xd62f105d); /* 21 */ 125 d = GG(d, a, b, c, x[10], 9, 0x2441453); /* 22 */ 126 c = GG(c, d, a, b, x[15], 14, 0xd8a1e681); /* 23 */ 127 b = GG(b, c, d, a, x[4], 20, 0xe7d3fbc8); /* 24 */ 128 a = GG(a, b, c, d, x[9], 5, 0x21e1cde6); /* 25 * [all...] |
/external/quake/quake/src/QW/client/ |
md4.c | 107 /* FF, GG and HH are transformations for rounds 1, 2 and 3 */ 111 #define GG(a, b, c, d, x, s) {(a) += G ((b), (c), (d)) + (x) + (UINT4)0x5a827999; (a) = ROTATE_LEFT ((a), (s));} 214 GG (a, b, c, d, x[ 0], S21); /* 17 */ 215 GG (d, a, b, c, x[ 4], S22); /* 18 */ 216 GG (c, d, a, b, x[ 8], S23); /* 19 */ 217 GG (b, c, d, a, x[12], S24); /* 20 */ 218 GG (a, b, c, d, x[ 1], S21); /* 21 */ 219 GG (d, a, b, c, x[ 5], S22); /* 22 */ 220 GG (c, d, a, b, x[ 9], S23); /* 23 */ 221 GG (b, c, d, a, x[13], S24); /* 24 * [all...] |
/external/ppp/pppd/ |
md5.c | 73 /* FF, GG, HH, and II transformations for rounds 1, 2, 3, and 4 */ 80 #define GG(a, b, c, d, x, s, ac) \ 236 GG ( a, b, c, d, in[ 1], S21, UL(4129170786)); /* 17 */ 237 GG ( d, a, b, c, in[ 6], S22, UL(3225465664)); /* 18 */ 238 GG ( c, d, a, b, in[11], S23, UL( 643717713)); /* 19 */ 239 GG ( b, c, d, a, in[ 0], S24, UL(3921069994)); /* 20 */ 240 GG ( a, b, c, d, in[ 5], S21, UL(3593408605)); /* 21 */ 241 GG ( d, a, b, c, in[10], S22, UL( 38016083)); /* 22 */ 242 GG ( c, d, a, b, in[15], S23, UL(3634488961)); /* 23 */ 243 GG ( b, c, d, a, in[ 4], S24, UL(3889429448)); /* 24 * [all...] |
/external/clang/test/CodeGen/ |
2002-07-14-MiscTests3.c | 148 double EE, double FF, double GG, double HH, 151 return X + Y + Z + AA + BB + CC + DD + EE + FF + GG + HH
|