Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/drivers/crypto/aspeed/
A Dhace_ast2600.c158 hctx->total[0] = 0; in ast2600_hace_init()
159 hctx->total[1] = 0; in ast2600_hace_init()
187 hctx->total[1]++; in ast2600_hace_update()
237 dbits[1] = (hctx->total[0] >> 61) | (hctx->total[1] << 3); in ast2600_hace_final()
240 last = hctx->total[0] & (hctx->blk_size - 1); in ast2600_hace_final()
297 free(hctx->buf); in ast2600_hace_free()
299 free(hctx); in ast2600_hace_free()
339 struct ast2600_hace_ctx *hctx = calloc(1, sizeof(*hctx)); in ast2600_hace_alloc() local
341 if (!hctx) in ast2600_hace_alloc()
344 if (!hctx->buf) in ast2600_hace_alloc()
[all …]

Completed in 4 milliseconds