Lines Matching refs:desc
100 static int crc32_vx_init(struct shash_desc *desc) in crc32_vx_init() argument
102 struct crc_ctx *mctx = crypto_shash_ctx(desc->tfm); in crc32_vx_init()
103 struct crc_desc_ctx *ctx = shash_desc_ctx(desc); in crc32_vx_init()
131 static int crc32le_vx_final(struct shash_desc *desc, u8 *out) in crc32le_vx_final() argument
133 struct crc_desc_ctx *ctx = shash_desc_ctx(desc); in crc32le_vx_final()
139 static int crc32be_vx_final(struct shash_desc *desc, u8 *out) in crc32be_vx_final() argument
141 struct crc_desc_ctx *ctx = shash_desc_ctx(desc); in crc32be_vx_final()
147 static int crc32c_vx_final(struct shash_desc *desc, u8 *out) in crc32c_vx_final() argument
149 struct crc_desc_ctx *ctx = shash_desc_ctx(desc); in crc32c_vx_final()
186 static int alg ## _vx_finup(struct shash_desc *desc, const u8 *data, \
189 return __ ## alg ## _vx_finup(shash_desc_ctx(desc), \
198 static int alg ## _vx_digest(struct shash_desc *desc, const u8 *data, \
201 return __ ## alg ## _vx_finup(crypto_shash_ctx(desc->tfm), \
210 static int alg ## _vx_update(struct shash_desc *desc, const u8 *data, \
213 struct crc_desc_ctx *ctx = shash_desc_ctx(desc); \