Lines Matching refs:rtfm
1665 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req); in chcr_ahash_update() local
1666 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); in chcr_ahash_update()
1667 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_update()
1668 struct chcr_dev *dev = h_ctx(rtfm)->dev; in chcr_ahash_update()
1681 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_update()
1711 get_alg_config(¶ms.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_update()
1767 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req); in chcr_ahash_final() local
1768 struct chcr_dev *dev = h_ctx(rtfm)->dev; in chcr_ahash_final()
1771 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); in chcr_ahash_final()
1772 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_final()
1773 u8 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_final()
1787 if (is_hmac(crypto_ahash_tfm(rtfm))) in chcr_ahash_final()
1793 get_alg_config(¶ms.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_final()
1795 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_final()
1818 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_final()
1837 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req); in chcr_ahash_finup() local
1838 struct chcr_dev *dev = h_ctx(rtfm)->dev; in chcr_ahash_finup()
1839 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); in chcr_ahash_finup()
1840 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_finup()
1852 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_finup()
1870 get_alg_config(¶ms.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_finup()
1872 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup()
1882 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup()
1896 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_finup()
1932 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req); in chcr_ahash_digest() local
1933 struct chcr_dev *dev = h_ctx(rtfm)->dev; in chcr_ahash_digest()
1934 struct uld_ctx *u_ctx = ULD_CTX(h_ctx(rtfm)); in chcr_ahash_digest()
1935 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_digest()
1947 rtfm->init(req); in chcr_ahash_digest()
1948 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_digest()
1967 get_alg_config(¶ms.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_digest()
1969 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_digest()
1978 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_digest()
1989 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_digest()
2027 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(req); in chcr_ahash_continue() local
2028 struct chcr_context *ctx = h_ctx(rtfm); in chcr_ahash_continue()
2041 bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_ahash_continue()
2042 get_alg_config(¶ms.alg_prm, crypto_ahash_digestsize(rtfm)); in chcr_ahash_continue()
2044 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_continue()
2057 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_continue()
2069 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_continue()
2322 struct crypto_ahash *rtfm = crypto_ahash_reqtfm(areq); in chcr_hmac_init() local
2323 struct hmac_ctx *hmacctx = HMAC_CTX(h_ctx(rtfm)); in chcr_hmac_init()
2324 unsigned int digestsize = crypto_ahash_digestsize(rtfm); in chcr_hmac_init()
2325 unsigned int bs = crypto_tfm_alg_blocksize(crypto_ahash_tfm(rtfm)); in chcr_hmac_init()
2329 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_hmac_init()