Lines Matching refs:rtfm
1661 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req); in chcr_ahash_update() local
1662 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); in chcr_ahash_update()
1663 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_update()
1664 struct chcr_dev *dev = h_ctx(rtfm)->dev; in chcr_ahash_update()
1677 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_update()
1707 get_alg_config(¶ms.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_update()
1763 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req); in chcr_ahash_final() local
1764 struct chcr_dev *dev = h_ctx(rtfm)->dev; in chcr_ahash_final()
1767 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); in chcr_ahash_final()
1768 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_final()
1769 u8 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_final()
1783 if (is_hmac(crypto_ahash_tfm(rtfm))) in chcr_ahash_final()
1789 get_alg_config(¶ms.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_final()
1791 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_final()
1814 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_final()
1833 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req); in chcr_ahash_finup() local
1834 struct chcr_dev *dev = h_ctx(rtfm)->dev; in chcr_ahash_finup()
1835 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); in chcr_ahash_finup()
1836 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_finup()
1848 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_finup()
1866 get_alg_config(¶ms.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_finup()
1868 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup()
1878 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup()
1892 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_finup()
1928 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req); in chcr_ahash_digest() local
1929 struct chcr_dev *dev = h_ctx(rtfm)->dev; in chcr_ahash_digest()
1930 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); in chcr_ahash_digest()
1931 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_digest()
1943 rtfm->init(req); in chcr_ahash_digest()
1944 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_digest()
1963 get_alg_config(¶ms.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_digest()
1965 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_digest()
1974 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_digest()
1985 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_digest()
2023 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req); in chcr_ahash_continue() local
2024 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_continue()
2037 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_continue()
2038 get_alg_config(¶ms.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_continue()
2040 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_continue()
2053 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_continue()
2065 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_continue()
2318 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(areq); in chcr_hmac_init() local
2319 struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(rtfm)); in chcr_hmac_init()
2320 unsigned int digestsize = crypto_ahash_digestsize(rtfm); in chcr_hmac_init()
2321 unsigned int bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_hmac_init()
2325 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_hmac_init()