Searched refs:td_buf (Results 1 – 2 of 2) sorted by relevance
29 struct rkce_hash_td_buf *td_buf; member35 struct rkce_symm_td_buf *td_buf; member250 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 …]
317 } td_buf; member340 uint32_t rkce_get_td_type(void *td_buf);