Lines Matching refs:desc
23 static int sm3_neon_update(struct shash_desc *desc, const u8 *data, in sm3_neon_update() argument
27 sm3_update(shash_desc_ctx(desc), data, len); in sm3_neon_update()
32 sm3_base_do_update(desc, data, len, sm3_neon_transform); in sm3_neon_update()
38 static int sm3_neon_final(struct shash_desc *desc, u8 *out) in sm3_neon_final() argument
41 sm3_final(shash_desc_ctx(desc), out); in sm3_neon_final()
46 sm3_base_do_finalize(desc, sm3_neon_transform); in sm3_neon_final()
49 return sm3_base_finish(desc, out); in sm3_neon_final()
52 static int sm3_neon_finup(struct shash_desc *desc, const u8 *data, in sm3_neon_finup() argument
56 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_neon_finup()
66 sm3_base_do_update(desc, data, len, sm3_neon_transform); in sm3_neon_finup()
67 sm3_base_do_finalize(desc, sm3_neon_transform); in sm3_neon_finup()
70 return sm3_base_finish(desc, out); in sm3_neon_finup()