HomeSort by relevance Sort by last modified time
    Searched refs:DO (Results 1 - 25 of 191) sorted by null

1 2 3 4 5 6 7 8

  /external/dropbear/libtomcrypt/testprof/
mac_test.c 7 DO(hmac_test());
10 DO(pmac_test());
13 DO(omac_test());
16 DO(xcbc_test());
19 DO(f9_test());
22 DO(eax_test());
25 DO(ocb_test());
28 DO(ccm_test());
31 DO(gcm_test());
34 DO(pelican_test())
    [all...]
modes_test.c 32 DO(f8_test_mode());
36 DO(lrw_test());
42 DO(cbc_start(cipher_idx, iv, key, 16, 0, &cbc));
44 DO(cbc_getiv(iv2, &l, &cbc));
49 DO(cbc_encrypt(pt, ct, 64, &cbc));
52 DO(cbc_setiv(iv2, l, &cbc));
54 DO(cbc_decrypt(ct, tmp, 64, &cbc));
64 DO(cfb_start(cipher_idx, iv, key, 16, 0, &cfb));
66 DO(cfb_getiv(iv2, &l, &cfb));
72 DO(cfb_encrypt(pt, ct, 64, &cfb))
    [all...]
dsa_test.c 13 DO(dsa_make_key(&yarrow_prng, find_prng("yarrow"), 20, 128, &key));
16 DO(dsa_verify_key(&key, &stat1));
22 DO(dsa_encrypt_key(msg, 16, out, &x, &yarrow_prng, find_prng("yarrow"), find_hash("sha1"), &key));
26 DO(dsa_decrypt_key(out, x, out2, &y, &key));
35 DO(dsa_sign_hash(msg, sizeof(msg), out, &x, &yarrow_prng, find_prng("yarrow"), &key));
38 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat1, &key));
42 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat2, &key));
48 DO(dsa_export(out2, &x, PK_PRIVATE, &key));
49 DO(dsa_import(out2, x, &key2));
52 DO(dsa_verify_hash(out, x, msg, sizeof(msg), &stat1, &key2))
    [all...]
cipher_hash_test.c 14 DO(cipher_descriptor[x].test());
19 DO(hash_descriptor[x].test());
24 DO(prng_descriptor[x].test());
25 DO(prng_descriptor[x].start(&nprng));
26 DO(prng_descriptor[x].add_entropy((unsigned char *)"helloworld12", 12, &nprng));
27 DO(prng_descriptor[x].ready(&nprng));
29 DO(prng_descriptor[x].pexport(buf, &n, &nprng));
31 DO(prng_descriptor[x].pimport(buf, n, &nprng));
32 DO(prng_descriptor[x].ready(&nprng));
ecc_test.c 40 DO(mp_init_multi(&kA, &kB, &rA, &rB, &modulus, NULL));
55 DO(mp_read_radix(G->x, ltc_ecc_sets[z].Gx, 16));
56 DO(mp_read_radix(G->y, ltc_ecc_sets[z].Gy, 16));
57 DO(mp_set(G->z, 1));
58 DO(mp_read_radix(modulus, ltc_ecc_sets[z].prime, 16));
59 DO(mp_montgomery_setup(modulus, &mp));
61 /* do 100 random tests */
65 DO(mp_read_unsigned_bin(rA, buf, sizes[x]));
67 DO(mp_read_unsigned_bin(rB, buf, sizes[x]));
70 DO(ltc_mp.ecc_ptmul(rA, G, A, modulus, 1))
    [all...]
katja_test.c 24 DO(katja_make_key(&yarrow_prng, prng_idx, size/8, &key));
69 DO(katja_encrypt_key(in, kat_msgsize, out, &len, NULL, 0, &yarrow_prng, prng_idx, hash_idx, &key));
72 DO(katja_decrypt_key(out, len, tmp, &len2, NULL, 0, hash_idx, &stat2, &key));
81 DO(katja_decrypt_key(out, len, tmp, &len2, NULL, 0, hash_idx, &stat, &key));
114 DO(katja_encrypt_key(in, kat_msgsize, out, &len, lparam, sizeof(lparam), &yarrow_prng, prng_idx, hash_idx, &key));
117 DO(katja_decrypt_key(out, len, tmp, &len2, lparam, sizeof(lparam), hash_idx, &stat2, &key));
126 DO(katja_decrypt_key(out, len, tmp, &len2, lparam, sizeof(lparam), hash_idx, &stat, &key));
141 DO(katja_sign_hash(in, 20, out, &len, &yarrow_prng, prng_idx, hash_idx, 0, &key));
145 DO(katja_export(tmp, &len2, PK_PRIVATE, &key));
146 DO(katja_import(tmp, len2, &privKey));
    [all...]
base64_test.c 11 DO(base64_encode(in, x, out, &l1));
13 DO(base64_decode(out, l1, tmp, &l2));
  /external/valgrind/main/coregrind/m_coredump/
coredump-elf.c 297 # define DO(n) regs->gpr[n] = arch->vex.guest_GPR##n
298 DO(0); DO(1); DO(2); DO(3); DO(4); DO(5); DO(6); DO(7);
299 DO(8); DO(9); DO(10); DO(11); DO(12); DO(13); DO(14); DO(15)
    [all...]
  /external/valgrind/main/none/tests/
fdleak_dup2.c 12 s1 = DO( open("/dev/null", O_RDONLY) );
13 s2 = DO( open("/dev/null", O_RDONLY) );
15 DO( dup2(s1, 20) ); // dup s1 as fd 20
16 DO( dup2(s1, s2) ); // dup s1 as fd s2, which closes existing s2 fd
fdleak_creat.c 13 DO( creat(filename, 0) );
14 DO( unlink(filename) );
fdleak_dup.c 11 s = DO( open("/dev/null", O_RDONLY) );
12 DO( dup(s) );
fdleak_fcntl.c 12 s1 = DO( open("/dev/null", O_RDONLY) );
13 DO( fcntl(s1, F_DUPFD, s1) );
fdleak_pipe.c 10 DO( pipe(fds) );
fdleak_open.c 9 DO( open("/dev/null", O_RDONLY) );
fdleak_ipv4.c 21 s = DO( socket(PF_INET, SOCK_STREAM, 0) );
23 DO( setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(int)) );
29 DO( bind(s, (struct sockaddr *)&addr, sizeof(addr)) );
31 DO( listen(s, 5) );
34 x = DO( accept(s, (struct sockaddr *)&baddr, &baddrsize) );
36 DO( write(x, "hello", 6) );
49 do {
51 s = DO( socket(PF_INET, SOCK_STREAM, 0) );
56 DO( close(s) );
66 DO( read(s, buf, sizeof(buf)) )
    [all...]
fdleak_socketpair.c 12 DO( socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, fds) );
fdleak.h 7 #define DO(op) \
fdleak_cmsg.c 41 fd1 = DO( open(filea, O_RDWR | O_CREAT | O_TRUNC, 0750) );
42 fd2 = DO( open(fileb, O_RDWR | O_CREAT | O_TRUNC, 0750) );
43 s = DO( socket(PF_UNIX, SOCK_STREAM, 0) );
50 DO( bind(s, (struct sockaddr *)&addr, sizeof(addr)) );
51 DO( listen(s, 5) );
63 x = DO( accept(s, (struct sockaddr *)&baddr, &baddrsize) );
80 DO( sendmsg(x, &msg, 0) );
110 do {
167 DO( unlink(filea) );
168 DO( unlink(fileb) )
    [all...]
  /external/valgrind/main/coregrind/m_sigframe/
sigframe-ppc64-linux.c 121 do { tst->arch.vex.guest_LR = (zzval); \
128 do { tst->arch.vex.guest_GPR##zzn = (zzval); \
246 # define DO(gpr) frame->uc.uc_mcontext.gp_regs[VKI_PT_R0+gpr] \
248 DO(0); DO(1); DO(2); DO(3); DO(4); DO(5); DO(6); DO(7)
    [all...]
sigframe-ppc32-linux.c 123 do { tst->arch.vex.guest_LR = (zzval); \
130 do { tst->arch.vex.guest_GPR##zzn = (zzval); \
146 # define DO(gpr) mc->mc_gregs[VKI_PT_R0+gpr] = tst->arch.vex.guest_GPR##gpr
147 DO(0); DO(1); DO(2); DO(3); DO(4); DO(5); DO(6); DO(7)
    [all...]
  /external/smack/src/org/xbill/DNS/
ExtendedFlags.java 17 public static final int DO = 0x8000;
24 extflags.add(DO, "do");
Flags.java 38 public static final int DO = ExtendedFlags.DO;
  /external/protobuf/src/google/protobuf/compiler/
parser.cc 89 // Makes code slightly more readable. The meaning of "DO(foo)" is
92 #define DO(STATEMENT) if (STATEMENT) {} else return false
347 DO(Consume("syntax", "File must begin with 'syntax = \"proto2\";'."));
348 DO(Consume("="));
351 DO(ConsumeString(&syntax, "Expected syntax identifier."));
352 DO(Consume(";"));
395 DO(Consume("message"));
397 DO(ConsumeIdentifier(message->mutable_name(), "Expected message name."));
398 DO(ParseMessageBlock(message));
403 DO(Consume("{"))
    [all...]
  /external/scrypt/
build-config.mk 1 # Auto-generated - DO NOT EDIT!
  /external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
parser.cc 89 // Makes code slightly more readable. The meaning of "DO(foo)" is
92 #define DO(STATEMENT) if (STATEMENT) {} else return false
185 DO(ConsumeInteger64(max_value, &value, error));
465 DO(Consume("syntax", "File must begin with 'syntax = \"proto2\";'."));
466 DO(Consume("="));
469 DO(ConsumeString(&syntax, "Expected syntax identifier."));
470 DO(ConsumeEndOfDeclaration(";", NULL));
531 DO(Consume("message"));
537 DO(ConsumeIdentifier(message->mutable_name(), "Expected message name."));
539 DO(ParseMessageBlock(message, message_location))
    [all...]

Completed in 288 milliseconds

1 2 3 4 5 6 7 8