Lines Matching defs:aspeed_sham_reqctx
177 struct aspeed_sham_reqctx { struct
178 unsigned long flags; /* final update flag should no use*/
179 unsigned long op; /* final or update */
180 u32 cmd; /* trigger cmd */
183 struct scatterlist *src_sg;
184 int src_nents;
185 unsigned int offset; /* offset in current sg */
186 unsigned int total; /* per update length */
188 size_t digsize;
189 size_t block_size;
190 size_t ivsize;
191 const __be32 *sha_iv;
194 u8 buffer[SHA512_BLOCK_SIZE * 2];
195 dma_addr_t buffer_dma_addr;
196 size_t bufcnt; /* buffer counter */
199 u8 digest[SHA512_DIGEST_SIZE] __aligned(64);
200 dma_addr_t digest_dma_addr;
201 u64 digcnt[2];