Lines Matching refs:shash_desc
90 static int hmac_export(struct shash_desc *pdesc, void *out) in hmac_export()
92 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_export()
99 static int hmac_import(struct shash_desc *pdesc, const void *in) in hmac_import()
101 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_import()
110 static int hmac_init(struct shash_desc *pdesc) in hmac_init()
115 static int hmac_update(struct shash_desc *pdesc, in hmac_update()
118 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_update()
125 static int hmac_final(struct shash_desc *pdesc, u8 *out) in hmac_final()
131 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_final()
140 static int hmac_finup(struct shash_desc *pdesc, const u8 *data, in hmac_finup()
148 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_finup()
169 parent->descsize = sizeof(struct shash_desc) + in hmac_init_tfm()