Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/inside-secure/
Dsafexcel_hash.c47 u8 cache[HASH_CACHE_SIZE] __aligned(sizeof(u32));
51 u8 cache_next[HASH_CACHE_SIZE] __aligned(sizeof(u32));
268 if (queued <= HASH_CACHE_SIZE) in safexcel_ahash_send_req()
277 extra = queued & (HASH_CACHE_SIZE - 1); in safexcel_ahash_send_req()
283 extra = HASH_CACHE_SIZE; in safexcel_ahash_send_req()
571 if (cache_len + areq->nbytes <= HASH_CACHE_SIZE) { in safexcel_ahash_cache()
759 memcpy(export->cache, req->cache, HASH_CACHE_SIZE); in safexcel_ahash_export()
779 memcpy(req->cache, export->cache, HASH_CACHE_SIZE); in safexcel_ahash_import()
Dsafexcel.h746 #define HASH_CACHE_SIZE SHA512_BLOCK_SIZE macro
755 u8 cache[HASH_CACHE_SIZE];