Searched refs:hash_impl (Results 1 - 1 of 1) sorted by relevance

/u-boot/drivers/crypto/hash/
H A Dhash_sw.c197 struct sw_hash_impl *hash_impl = &sw_hash_impl[algo]; local
199 hash_ctx = malloc(sizeof(hash_ctx->algo) + hash_impl->ctx_alloc_sz);
205 hash_impl->init(hash_ctx->algo_ctx);
215 struct sw_hash_impl *hash_impl = &sw_hash_impl[hash_ctx->algo]; local
217 hash_impl->update(hash_ctx->algo_ctx, ibuf, ilen);
225 struct sw_hash_impl *hash_impl = &sw_hash_impl[hash_ctx->algo]; local
227 hash_impl->finish(hash_ctx->algo_ctx, obuf);

Completed in 41 milliseconds