Lines Matching refs:shash_desc
71 static int shash_update_unaligned(struct shash_desc *desc, const u8 *data,
95 int crypto_shash_update(struct shash_desc *desc, const u8 *data,
109 static int shash_final_unaligned(struct shash_desc *desc, u8 *out)
131 int crypto_shash_final(struct shash_desc *desc, u8 *out)
144 static int shash_finup_unaligned(struct shash_desc *desc, const u8 *data,
151 int crypto_shash_finup(struct shash_desc *desc, const u8 *data,
165 static int shash_digest_unaligned(struct shash_desc *desc, const u8 *data,
172 int crypto_shash_digest(struct shash_desc *desc, const u8 *data,
186 static int shash_default_export(struct shash_desc *desc, void *out)
192 static int shash_default_import(struct shash_desc *desc, const void *in)
209 struct shash_desc *desc = ahash_request_ctx(req);
217 int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc)
240 int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc)
264 struct shash_desc *desc = ahash_request_ctx(req);
272 int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc)
298 struct shash_desc *desc = ahash_request_ctx(req);
356 crt->reqsize = sizeof(struct shash_desc) + crypto_shash_descsize(shash);
364 struct shash_desc **descp = crypto_hash_ctx(tfm);
365 struct shash_desc *desc = *descp;
372 struct shash_desc **descp = crypto_hash_ctx(hdesc->tfm);
373 struct shash_desc *desc = *descp;
383 struct shash_desc **descp = crypto_hash_ctx(hdesc->tfm);
384 struct shash_desc *desc = *descp;
397 struct shash_desc **descp = crypto_hash_ctx(hdesc->tfm);
409 struct shash_desc **descp = crypto_hash_ctx(hdesc->tfm);
410 struct shash_desc *desc = *descp;
438 struct shash_desc **descp = crypto_tfm_ctx(tfm);
439 struct shash_desc *desc = *descp;
450 struct shash_desc **descp = crypto_tfm_ctx(tfm);
452 struct shash_desc *desc;
500 return sizeof(struct shash_desc *);