Home
last modified time | relevance | path

Searched refs:crypto_hash_cache (Results 1 – 5 of 5) sorted by relevance

/rk3399_rockchip-uboot/include/rockchip/
H A Dcrypto_hash_cache.h15 struct crypto_hash_cache { struct
28 struct crypto_hash_cache *crypto_hash_cache_alloc(crypto_hash_calc direct_calc, argument
32 void crypto_hash_cache_free(struct crypto_hash_cache *hash_cache);
33 int crypto_hash_update_with_cache(struct crypto_hash_cache *hash_cache,
/rk3399_rockchip-uboot/drivers/crypto/rockchip/
H A Dcrypto_hash_cache.c12 static int hash_cache_calc(struct crypto_hash_cache *hash_cache, const u8 *data, in hash_cache_calc()
92 struct crypto_hash_cache *crypto_hash_cache_alloc(crypto_hash_calc direct_calc, in crypto_hash_cache_alloc()
96 struct crypto_hash_cache *hash_cache = NULL; in crypto_hash_cache_alloc()
101 hash_cache = malloc(sizeof(struct crypto_hash_cache)); in crypto_hash_cache_alloc()
116 void crypto_hash_cache_free(struct crypto_hash_cache *hash_cache) in crypto_hash_cache_free()
127 int crypto_hash_update_with_cache(struct crypto_hash_cache *hash_cache, in crypto_hash_update_with_cache()
H A DMakefile10 obj-$(CONFIG_$(SPL_TPL_)ROCKCHIP_CRYPTO_V1) += crypto_v1.o crypto_hash_cache.o
11 obj-$(CONFIG_$(SPL_TPL_)ROCKCHIP_CRYPTO_V2) += crypto_v2.o crypto_hash_cache.o
H A Dcrypto_v1.c27 struct crypto_hash_cache *hash_cache;
H A Dcrypto_v2.c49 struct crypto_hash_cache *hash_cache;