/external/dropbear/libtomcrypt/testprof/ |
dsa_test.c | 9 int stat1, stat2; local 42 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat2, &key)); 44 if (!(stat1 == 1 && stat2 == 0)) { fprintf(stderr, "dsa_verify %d %d", stat1, stat2); return 1; }
|
katja_test.c | 9 int hash_idx, prng_idx, stat, stat2, size; local 72 DO(katja_decrypt_key(out, len, tmp, &len2, NULL, 0, hash_idx, &stat2, &key)); 82 if (!(stat == 1 && stat2 == 0)) { 117 DO(katja_decrypt_key(out, len, tmp, &len2, lparam, sizeof(lparam), hash_idx, &stat2, &key)); 127 if (!(stat == 1 && stat2 == 0)) { 155 DO(katja_verify_hash(out, len, in, 20, hash_idx, 0, &stat2, &key)); 157 if (!(stat == 1 && stat2 == 0)) { 158 fprintf(stderr, "katja_verify_hash (unsalted, origKey) failed, %d, %d", stat, stat2); 171 DO(katja_verify_hash(out, len, in, 20, hash_idx, 0, &stat2, &privKey)); 173 if (!(stat == 1 && stat2 == 0)) [all...] |
ecc_test.c | 112 int stat, stat2; local 224 DO(ecc_verify_hash (buf[1], x, buf[0], 16, &stat2, &privKey)); 225 if (!(stat == 1 && stat2 == 0)) { 226 fprintf(stderr, "ecc_verify_hash failed %d, %d, ", stat, stat2);
|
rsa_test.c | 129 int hash_idx, prng_idx, stat, stat2; local 195 DO(rsa_decrypt_key(out, len, tmp, &len2, NULL, 0, hash_idx, &stat2, &key)); 205 if (!(stat == 1 && stat2 == 0)) { 240 DO(rsa_decrypt_key(out, len, tmp, &len2, lparam, sizeof(lparam), hash_idx, &stat2, &key)); 250 if (!(stat == 1 && stat2 == 0)) { 268 if (!(stat == 1 && stat2 == 0)) { 269 fprintf(stderr, "rsa_decrypt_key_ex failed, %d, %d", stat, stat2); 294 DO(rsa_verify_hash(out, len, in, 20, hash_idx, 0, &stat2, &key)); 296 if (!(stat == 1 && stat2 == 0)) { 297 fprintf(stderr, "rsa_verify_hash (unsalted, origKey) failed, %d, %d", stat, stat2); [all...] |
/ndk/sources/host-tools/nawk-20071023/ |
parse.c | 105 Node *stat2(int a, Node *b, Node *c) function
|
/external/opencv/cvaux/src/ |
cvcorrimages.cpp | 318 uchar *stat2 = pntStatus2->data.ptr; local 341 memset(stat2,0,sizeof(uchar)*numPoints); 347 /* stat1 may not be the same as stat2 */ 354 stat2[i] = 1; 380 if( stat2[i] ) 406 if( stat2[i] ) 410 stat2[i] = 0; [all...] |