Lines Matching defs:desc
95 static int crc32_vx_init(struct shash_desc *desc)
97 struct crc_ctx *mctx = crypto_shash_ctx(desc->tfm);
98 struct crc_desc_ctx *ctx = shash_desc_ctx(desc);
126 static int crc32le_vx_final(struct shash_desc *desc, u8 *out)
128 struct crc_desc_ctx *ctx = shash_desc_ctx(desc);
134 static int crc32be_vx_final(struct shash_desc *desc, u8 *out)
136 struct crc_desc_ctx *ctx = shash_desc_ctx(desc);
142 static int crc32c_vx_final(struct shash_desc *desc, u8 *out)
144 struct crc_desc_ctx *ctx = shash_desc_ctx(desc);
181 static int alg ## _vx_finup(struct shash_desc *desc, const u8 *data, \
184 return __ ## alg ## _vx_finup(shash_desc_ctx(desc), \
193 static int alg ## _vx_digest(struct shash_desc *desc, const u8 *data, \
196 return __ ## alg ## _vx_finup(crypto_shash_ctx(desc->tfm), \
205 static int alg ## _vx_update(struct shash_desc *desc, const u8 *data, \
208 struct crc_desc_ctx *ctx = shash_desc_ctx(desc); \