Lines Matching defs:hash
31 #include <crypto/hash.h>
35 #include <crypto/internal/hash.h>
286 * @res: Resources for hash.
291 * @hash_queue: Async hash queue.
788 u32 *hash = (u32 *)ctx->digest;
792 hash[i] = s5p_hash_read(dd, SSS_REG_HASH_OUT(i));
803 const u32 *hash = (const u32 *)ctx->digest;
807 s5p_hash_write(dd, SSS_REG_HASH_IV(i), hash[i]);
925 * lengths for HASH so SecSS can finalize hash. For partial, set SSS HASH
974 * s5p_hash_xmit_dma() - start DMA hash processing
1361 * s5p_hash_handle_queue() - handle hash queue
1414 s5p_hash_write_iv(req); /* restore hash IV */
1441 * s5p_hash_tasklet_cb() - hash tasklet
1461 /* hash or semi-hash ready */
1496 * s5p_hash_update() - process the hash input data
1522 * s5p_hash_final() - close up hash and calculate digest
1528 * If there were no input data processed yet and the buffered hash data is
1529 * less than BUFLEN (64) then calculate the final hash immediately by using
1533 * and finalize hash message in HW. Note that if digcnt!=0 then there were
1550 return -EINVAL; /* uncompleted hash is not needed */
1593 * Init async hash request context.
1692 * s5p_hash_export - export hash state
1706 * s5p_hash_import - import hash state