Searched refs:candidate_key (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Dgeli.c484 struct grub_geli_key candidate_key; local
498 gcry_err = grub_crypto_cbc_decrypt (dev->cipher, &candidate_key,
500 sizeof (candidate_key),
507 &candidate_key,
508 (sizeof (candidate_key)
509 - sizeof (candidate_key.hmac)),
514 if (grub_memcmp (candidate_key.hmac, key_hmac, dev->hash->mdlen) != 0)
524 gcry_err = grub_cryptodisk_setkey (dev, candidate_key.cipher_key,
535 grub_memcpy (dev->rekey_key, candidate_key.iv_key,
536 sizeof (candidate_key
[all...]
H A Dluks.c349 grub_uint8_t candidate_key[keysize]; local
403 gcry_err = AF_merge (dev->hash, split_key, candidate_key, keysize,
414 gcry_err = grub_crypto_pbkdf2 (dev->hash, candidate_key,
440 gcry_err = grub_cryptodisk_setkey (dev, candidate_key, keysize);

Completed in 17 milliseconds