Lines Matching refs:rtfm

1659 	struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req);  in chcr_ahash_update()  local
1660 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); in chcr_ahash_update()
1661 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_update()
1662 struct chcr_dev *dev = h_ctx(rtfm)->dev; in chcr_ahash_update()
1675 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_update()
1705 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_update()
1761 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req); in chcr_ahash_final() local
1762 struct chcr_dev *dev = h_ctx(rtfm)->dev; in chcr_ahash_final()
1765 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); in chcr_ahash_final()
1766 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_final()
1767 u8 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_final()
1781 if (is_hmac(crypto_ahash_tfm(rtfm))) in chcr_ahash_final()
1787 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_final()
1789 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_final()
1812 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_final()
1831 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req); in chcr_ahash_finup() local
1832 struct chcr_dev *dev = h_ctx(rtfm)->dev; in chcr_ahash_finup()
1833 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); in chcr_ahash_finup()
1834 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_finup()
1846 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_finup()
1864 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_finup()
1866 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup()
1876 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup()
1890 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_finup()
1926 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req); in chcr_ahash_digest() local
1927 struct chcr_dev *dev = h_ctx(rtfm)->dev; in chcr_ahash_digest()
1928 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); in chcr_ahash_digest()
1929 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_digest()
1941 rtfm->init(req); in chcr_ahash_digest()
1942 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_digest()
1961 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_digest()
1963 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_digest()
1972 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_digest()
1983 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_digest()
2021 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req); in chcr_ahash_continue() local
2022 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_continue()
2035 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_continue()
2036 get_alg_config(&params.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_continue()
2038 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_continue()
2051 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_continue()
2063 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_continue()
2316 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(areq); in chcr_hmac_init() local
2317 struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(rtfm)); in chcr_hmac_init()
2318 unsigned int digestsize = crypto_ahash_digestsize(rtfm); in chcr_hmac_init()
2319 unsigned int bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_hmac_init()
2323 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_hmac_init()