Lines Matching defs:desc
498 static int tgr192_init(struct shash_desc *desc)
500 struct tgr192_ctx *tctx = shash_desc_ctx(desc);
514 static int tgr192_update(struct shash_desc *desc, const u8 *inbuf,
517 struct tgr192_ctx *tctx = shash_desc_ctx(desc);
531 tgr192_update(desc, NULL, 0);
555 static int tgr192_final(struct shash_desc *desc, u8 * out)
557 struct tgr192_ctx *tctx = shash_desc_ctx(desc);
563 tgr192_update(desc, NULL, 0); /* flush */ ;
591 tgr192_update(desc, NULL, 0); /* flush */ ;
609 static int tgr160_final(struct shash_desc *desc, u8 * out)
613 tgr192_final(desc, D);
620 static int tgr128_final(struct shash_desc *desc, u8 * out)
624 tgr192_final(desc, D);