Lines Matching refs:desc
89 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_export() local
91 return crypto_shash_export(desc, out); in hmac_export()
96 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_import() local
99 desc->tfm = ctx->hash; in hmac_import()
101 return crypto_shash_import(desc, in); in hmac_import()
112 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_update() local
114 return crypto_shash_update(desc, data, nbytes); in hmac_update()
123 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_final() local
125 return crypto_shash_final(desc, out) ?: in hmac_final()
126 crypto_shash_import(desc, opad) ?: in hmac_final()
127 crypto_shash_finup(desc, out, ds, out); in hmac_final()
138 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_finup() local
140 return crypto_shash_finup(desc, data, nbytes, out) ?: in hmac_finup()
141 crypto_shash_import(desc, opad) ?: in hmac_finup()
142 crypto_shash_finup(desc, out, ds, out); in hmac_finup()