Lines Matching refs:desc
32 static int sha1_neon_update(struct shash_desc *desc, const u8 *data, in sha1_neon_update() argument
35 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_neon_update()
39 return sha1_update_arm(desc, data, len); in sha1_neon_update()
42 sha1_base_do_update(desc, data, len, sha1_transform_neon); in sha1_neon_update()
48 static int sha1_neon_finup(struct shash_desc *desc, const u8 *data, in sha1_neon_finup() argument
52 return sha1_finup_arm(desc, data, len, out); in sha1_neon_finup()
56 sha1_base_do_update(desc, data, len, sha1_transform_neon); in sha1_neon_finup()
57 sha1_base_do_finalize(desc, sha1_transform_neon); in sha1_neon_finup()
60 return sha1_base_finish(desc, out); in sha1_neon_finup()
63 static int sha1_neon_final(struct shash_desc *desc, u8 *out) in sha1_neon_final() argument
65 return sha1_neon_finup(desc, NULL, 0, out); in sha1_neon_final()