Lines Matching defs:hash
31 #include <crypto/hash.h>
34 #include <crypto/internal/hash.h>
285 * @res: Resources for hash.
290 * @hash_queue: Async hash queue.
791 u32 *hash = (u32 *)ctx->digest;
795 hash[i] = s5p_hash_read(dd, SSS_REG_HASH_OUT(i));
806 const u32 *hash = (const u32 *)ctx->digest;
810 s5p_hash_write(dd, SSS_REG_HASH_IV(i), hash[i]);
928 * lengths for HASH so SecSS can finalize hash. For partial, set SSS HASH
977 * s5p_hash_xmit_dma() - start DMA hash processing
1364 * s5p_hash_handle_queue() - handle hash queue
1417 s5p_hash_write_iv(req); /* restore hash IV */
1444 * s5p_hash_tasklet_cb() - hash tasklet
1464 /* hash or semi-hash ready */
1499 * s5p_hash_update() - process the hash input data
1525 * s5p_hash_final() - close up hash and calculate digest
1531 * If there were no input data processed yet and the buffered hash data is
1532 * less than BUFLEN (64) then calculate the final hash immediately by using
1536 * and finalize hash message in HW. Note that if digcnt!=0 then there were
1553 return -EINVAL; /* uncompleted hash is not needed */
1596 * Init async hash request context.
1695 * s5p_hash_export - export hash state
1709 * s5p_hash_import - import hash state