HomeSort by relevance Sort by last modified time
    Searched defs:hash_idx (Results 1 - 7 of 7) sorted by null

  /external/dropbear/libtomcrypt/testprof/
katja_test.c 9 int hash_idx, prng_idx, stat, stat2, size; local
13 hash_idx = find_hash("sha1");
15 if (hash_idx == -1 || prng_idx == -1) {
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))
    [all...]
pkcs_1_test.c 8 int res1, res2, res3, prng_idx, hash_idx, err; local
13 hash_idx = find_hash("sha1");
16 if (hash_idx == -1 || prng_idx == -1) {
41 DO(pkcs_1_oaep_encode(buf[0], l3, lparam, lparamlen, modlen, &yarrow_prng, prng_idx, hash_idx, buf[1], &l1));
45 DO(pkcs_1_oaep_decode(buf[1], l1, lparam, lparamlen, modlen, hash_idx, buf[2], &l2, &res1));
63 DO(pkcs_1_pss_encode(buf[0], l3, saltlen, &yarrow_prng, prng_idx, hash_idx, modlen, buf[1], &l1));
64 DO(pkcs_1_pss_decode(buf[0], l3, buf[1], l1, saltlen, hash_idx, modlen, &res1));
67 DO(pkcs_1_pss_decode(buf[0], l3, buf[1], l1, saltlen, hash_idx, modlen, &res2));
71 pkcs_1_pss_decode(buf[0], l3, buf[1], l1, saltlen, hash_idx, modlen, &res3);
rsa_test.c 129 int hash_idx, prng_idx, stat, stat2; local
137 hash_idx = find_hash("sha1");
139 if (hash_idx == -1 || prng_idx == -1) {
192 DO(rsa_encrypt_key(in, rsa_msgsize, out, &len, NULL, 0, &yarrow_prng, prng_idx, hash_idx, &key));
195 DO(rsa_decrypt_key(out, len, tmp, &len2, NULL, 0, hash_idx, &stat2, &key));
204 DO(rsa_decrypt_key(out, len, tmp, &len2, NULL, 0, hash_idx, &stat, &key));
237 DO(rsa_encrypt_key(in, rsa_msgsize, out, &len, lparam, sizeof(lparam), &yarrow_prng, prng_idx, hash_idx, &key));
240 DO(rsa_decrypt_key(out, len, tmp, &len2, lparam, sizeof(lparam), hash_idx, &stat2, &key));
249 DO(rsa_decrypt_key(out, len, tmp, &len2, lparam, sizeof(lparam), hash_idx, &stat, &key));
280 DO(rsa_sign_hash(in, 20, out, &len, &yarrow_prng, prng_idx, hash_idx, 0, &key))
    [all...]
x86_prof.c 1155 int err, cipher_idx, hash_idx; local
1166 hash_idx = find_hash("sha1");
1168 if (cipher_idx == -1 || hash_idx == -1) {
    [all...]
  /external/dropbear/libtomcrypt/demos/
encrypt.c 102 int cipher_idx, hash_idx, ks; local
145 hash_idx = find_hash("sha256");
146 if (hash_idx == -1) {
152 ks = hash_descriptor[hash_idx].hashsize;
161 if ((errno = hash_memory(hash_idx,tmpkey,strlen((char *)tmpkey),key,&outlen)) != CRYPT_OK) {
  /external/blktrace/
blkparse.c 541 const int hash_idx = ppm_hash_pid(pid); local
544 ppm = ppm_hash_table[hash_idx];
557 const int hash_idx = ppm_hash_pid(pid); local
566 ppm->hash_next = ppm_hash_table[hash_idx];
567 ppm_hash_table[hash_idx] = ppm;
655 const int hash_idx = ppi_hash(ppi); local
657 ppi->hash_next = ppi_hash_table[hash_idx];
658 ppi_hash_table[hash_idx] = ppi;
670 const int hash_idx = ppi_hash_name(name); local
673 ppi = ppi_hash_table[hash_idx];
688 const int hash_idx = ppi_hash_pid(pid); local
    [all...]
  /external/elfutils/src/
elflint.c 3411 size_t hash_idx = 0; local
    [all...]

Completed in 152 milliseconds