Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/crypto/rockchip/
H A Dcrypto_ce.c29 struct rkce_hash_td_buf *td_buf; member
35 struct rkce_symm_td_buf *td_buf; member
250 hw_ctx->td_buf = rkce_cma_alloc(sizeof(struct rkce_hash_td_buf)); in rkce_sha_ctx_alloc()
251 if (!hw_ctx->td_buf) in rkce_sha_ctx_alloc()
254 memset(hw_ctx->td_buf, 0x00, sizeof(struct rkce_hash_td_buf)); in rkce_sha_ctx_alloc()
259 rkce_cma_free(hw_ctx->td_buf); in rkce_sha_ctx_alloc()
271 rkce_cma_free(hw_ctx->td_buf); in rkce_sha_ctx_free()
295 ret = rkce_init_hash_td(hash_ctx->td, hash_ctx->td_buf); in rk_sha_init()
316 memcpy(hash_ctx->td_buf->key, key, key_len); in rk_sha_init()
366 crypto_flush_cacheline((ulong)hash_ctx->td_buf, sizeof(*hash_ctx->td_buf)); in rk_sha_update()
[all …]
/rk3399_rockchip-uboot/include/rockchip/
H A Drkce_core.h317 } td_buf; member
340 uint32_t rkce_get_td_type(void *td_buf);