Searched refs:crypto_dev (Results 1 – 2 of 2) sorted by relevance
142 ctx->crypto_dev = crypto_get_device(ctx->crypto_ctx.algo); in avb_sha512_init()144 if (ctx->crypto_dev) { in avb_sha512_init()145 crypto_sha_init(ctx->crypto_dev, &ctx->crypto_ctx); in avb_sha512_init()339 if (ctx->crypto_dev) { in avb_sha512_update()340 crypto_sha_update(ctx->crypto_dev, (u32 *)data, len); in avb_sha512_update()379 if (ctx->crypto_dev) { in avb_sha512_final()380 crypto_sha_final(ctx->crypto_dev, &ctx->crypto_ctx, ctx->buf); in avb_sha512_final()
75 struct udevice *crypto_dev; member