Lines Matching refs:hash
63 gcry_err_code_t AF_merge (const gcry_md_spec_t * hash, grub_uint8_t * src,
82 const gcry_md_spec_t *hash = NULL, *essiv_hash = NULL;
241 /* Configure the hash and cipher used for ESSIV. */
247 "Couldn't load %s hash", hash_str);
265 /* Configure the hash used for the AF splitter and HMAC. */
266 hash = grub_crypto_lookup_md_by_name (hashspec);
267 if (!hash)
272 grub_error (GRUB_ERR_FILE_NOT_FOUND, "Couldn't load %s hash",
289 newdev->hash = hash;
359 gcry_err = grub_crypto_pbkdf2 (dev->hash, (grub_uint8_t *) passphrase,
403 gcry_err = AF_merge (dev->hash, split_key, candidate_key, keysize,
414 gcry_err = grub_crypto_pbkdf2 (dev->hash, candidate_key,