Lines Matching refs:rtfm

1586 	struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req);  in chcr_ahash_update()  local
1588 struct chcr_dev *dev = h_ctx(rtfm)->dev; in chcr_ahash_update()
1595 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_update()
1596 u_ctx = ULD_CTX(h_ctx(rtfm)); in chcr_ahash_update()
1614 h_ctx(rtfm)->tx_qidx))) { in chcr_ahash_update()
1628 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_update()
1661 set_wr_txq(skb, CPL_PRIORITY_DATA, h_ctx(rtfm)->tx_qidx); in chcr_ahash_update()
1685 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req); in chcr_ahash_final() local
1686 struct chcr_dev *dev = h_ctx(rtfm)->dev; in chcr_ahash_final()
1690 u8 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_final()
1698 u_ctx = ULD_CTX(h_ctx(rtfm)); in chcr_ahash_final()
1699 if (is_hmac(crypto_ahash_tfm(rtfm))) in chcr_ahash_final()
1705 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_final()
1707 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_final()
1730 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_final()
1738 set_wr_txq(skb, CPL_PRIORITY_DATA, h_ctx(rtfm)->tx_qidx); in chcr_ahash_final()
1749 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req); in chcr_ahash_finup() local
1750 struct chcr_dev *dev = h_ctx(rtfm)->dev; in chcr_ahash_finup()
1757 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_finup()
1758 u_ctx = ULD_CTX(h_ctx(rtfm)); in chcr_ahash_finup()
1764 h_ctx(rtfm)->tx_qidx))) { in chcr_ahash_finup()
1778 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_finup()
1780 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup()
1790 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup()
1804 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_finup()
1827 set_wr_txq(skb, CPL_PRIORITY_DATA, h_ctx(rtfm)->tx_qidx); in chcr_ahash_finup()
1841 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req); in chcr_ahash_digest() local
1842 struct chcr_dev *dev = h_ctx(rtfm)->dev; in chcr_ahash_digest()
1849 rtfm->init(req); in chcr_ahash_digest()
1850 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_digest()
1855 u_ctx = ULD_CTX(h_ctx(rtfm)); in chcr_ahash_digest()
1857 h_ctx(rtfm)->tx_qidx))) { in chcr_ahash_digest()
1872 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_digest()
1874 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_digest()
1883 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_digest()
1894 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_digest()
1918 set_wr_txq(skb, CPL_PRIORITY_DATA, h_ctx(rtfm)->tx_qidx); in chcr_ahash_digest()
1932 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req); in chcr_ahash_continue() local
1939 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_continue()
1940 u_ctx = ULD_CTX(h_ctx(rtfm)); in chcr_ahash_continue()
1941 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_continue()
1943 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_continue()
1956 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_continue()
1968 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_continue()
1980 set_wr_txq(skb, CPL_PRIORITY_DATA, h_ctx(rtfm)->tx_qidx); in chcr_ahash_continue()
2206 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(areq); in chcr_hmac_init() local
2207 struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(rtfm)); in chcr_hmac_init()
2208 unsigned int digestsize = crypto_ahash_digestsize(rtfm); in chcr_hmac_init()
2209 unsigned int bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_hmac_init()
2213 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_hmac_init()