Lines Matching refs:desc
488 SHASH_DESC_ON_STACK(desc, lmk->hash_tfm); in crypt_iv_lmk_one()
493 desc->tfm = lmk->hash_tfm; in crypt_iv_lmk_one()
495 r = crypto_shash_init(desc); in crypt_iv_lmk_one()
500 r = crypto_shash_update(desc, lmk->seed, LMK_SEED_SIZE); in crypt_iv_lmk_one()
506 r = crypto_shash_update(desc, data + 16, 16 * 31); in crypt_iv_lmk_one()
515 r = crypto_shash_update(desc, (u8 *)buf, sizeof(buf)); in crypt_iv_lmk_one()
520 r = crypto_shash_export(desc, &md5state); in crypt_iv_lmk_one()
647 SHASH_DESC_ON_STACK(desc, tcw->crc32_tfm); in crypt_iv_tcw_whitening()
655 desc->tfm = tcw->crc32_tfm; in crypt_iv_tcw_whitening()
657 r = crypto_shash_init(desc); in crypt_iv_tcw_whitening()
660 r = crypto_shash_update(desc, &buf[i * 4], 4); in crypt_iv_tcw_whitening()
663 r = crypto_shash_final(desc, &buf[i * 4]); in crypt_iv_tcw_whitening()