Home
last modified time | relevance | path

Searched refs:HASH_CACHE_SIZE (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c63 u8 cache[HASH_CACHE_SIZE] __aligned(sizeof(u32));
67 u8 cache_next[HASH_CACHE_SIZE] __aligned(sizeof(u32));
326 if (queued <= HASH_CACHE_SIZE) in safexcel_ahash_send_req()
335 extra = queued & (HASH_CACHE_SIZE - 1); in safexcel_ahash_send_req()
341 extra = HASH_CACHE_SIZE; in safexcel_ahash_send_req()
678 if (cache_len + areq->nbytes <= HASH_CACHE_SIZE) { in safexcel_ahash_cache()
892 memcpy(export->cache, req->cache, HASH_CACHE_SIZE); in safexcel_ahash_export()
912 memcpy(req->cache, export->cache, HASH_CACHE_SIZE); in safexcel_ahash_import()
H A Dsafexcel.h859 #define HASH_CACHE_SIZE SHA512_BLOCK_SIZE macro
868 u8 cache[HASH_CACHE_SIZE];