Lines Matching defs:hash_idx
1155 int err, cipher_idx, hash_idx;
1166 hash_idx = find_hash("sha1");
1168 if (cipher_idx == -1 || hash_idx == -1) {
1262 if ((err = hmac_memory(hash_idx, key, 16, buf, MAC_SIZE*1024, tag, &z)) != CRYPT_OK) {
1269 fprintf(stderr, "HMAC-%s\t\t%9llu\n", hash_descriptor[hash_idx].name, t2/(ulong64)(MAC_SIZE*1024));