Lines Matching defs:desc
66 static int octeon_sha224_init(struct shash_desc *desc)
68 struct sha256_state *sctx = shash_desc_ctx(desc);
83 static int octeon_sha256_init(struct shash_desc *desc)
85 struct sha256_state *sctx = shash_desc_ctx(desc);
131 static int octeon_sha256_update(struct shash_desc *desc, const u8 *data,
134 struct sha256_state *sctx = shash_desc_ctx(desc);
144 return crypto_sha256_update(desc, data, len);
157 static int octeon_sha256_final(struct shash_desc *desc, u8 *out)
159 struct sha256_state *sctx = shash_desc_ctx(desc);
197 static int octeon_sha224_final(struct shash_desc *desc, u8 *hash)
201 octeon_sha256_final(desc, D);
209 static int octeon_sha256_export(struct shash_desc *desc, void *out)
211 struct sha256_state *sctx = shash_desc_ctx(desc);
217 static int octeon_sha256_import(struct shash_desc *desc, const void *in)
219 struct sha256_state *sctx = shash_desc_ctx(desc);