Lines Matching refs:desc

45 static int crypto_sha256_arm64_update(struct shash_desc *desc, const u8 *data,  in crypto_sha256_arm64_update()  argument
48 return sha256_base_do_update(desc, data, len, in crypto_sha256_arm64_update()
52 static int crypto_sha256_arm64_finup(struct shash_desc *desc, const u8 *data, in crypto_sha256_arm64_finup() argument
56 sha256_base_do_update(desc, data, len, in crypto_sha256_arm64_finup()
58 sha256_base_do_finalize(desc, __sha256_block_data_order); in crypto_sha256_arm64_finup()
60 return sha256_base_finish(desc, out); in crypto_sha256_arm64_finup()
63 static int crypto_sha256_arm64_final(struct shash_desc *desc, u8 *out) in crypto_sha256_arm64_final() argument
65 return crypto_sha256_arm64_finup(desc, NULL, 0, out); in crypto_sha256_arm64_final()
94 static int sha256_update_neon(struct shash_desc *desc, const u8 *data, in sha256_update_neon() argument
97 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_update_neon()
100 return sha256_base_do_update(desc, data, len, in sha256_update_neon()
117 sha256_base_do_update(desc, data, chunk, __sha256_block_neon); in sha256_update_neon()
125 static int sha256_finup_neon(struct shash_desc *desc, const u8 *data, in sha256_finup_neon() argument
130 sha256_base_do_update(desc, data, len, in sha256_finup_neon()
132 sha256_base_do_finalize(desc, __sha256_block_data_order); in sha256_finup_neon()
135 sha256_update_neon(desc, data, len); in sha256_finup_neon()
137 sha256_base_do_finalize(desc, __sha256_block_neon); in sha256_finup_neon()
140 return sha256_base_finish(desc, out); in sha256_finup_neon()
143 static int sha256_final_neon(struct shash_desc *desc, u8 *out) in sha256_final_neon() argument
145 return sha256_finup_neon(desc, NULL, 0, out); in sha256_final_neon()