Searched refs:essiv (Results 1 – 1 of 1) sorted by relevance
142 struct iv_essiv_private essiv; member257 struct iv_essiv_private *essiv = &cc->iv_gen_private.essiv; in crypt_iv_essiv_init() local264 desc.tfm = essiv->hash_tfm; in crypt_iv_essiv_init()267 err = crypto_hash_digest(&desc, &sg, cc->key_size, essiv->salt); in crypt_iv_essiv_init()274 err = crypto_cipher_setkey(essiv_tfm, essiv->salt, in crypt_iv_essiv_init()275 crypto_hash_digestsize(essiv->hash_tfm)); in crypt_iv_essiv_init()286 struct iv_essiv_private *essiv = &cc->iv_gen_private.essiv; in crypt_iv_essiv_wipe() local287 unsigned salt_size = crypto_hash_digestsize(essiv->hash_tfm); in crypt_iv_essiv_wipe()291 memset(essiv->salt, 0, salt_size); in crypt_iv_essiv_wipe()295 r = crypto_cipher_setkey(essiv_tfm, essiv->salt, salt_size); in crypt_iv_essiv_wipe()[all …]