Lines Matching refs:h

58 #define SHA512_EXP(a, b, c, d, e, f, g, h, j)                               \  argument
60 t1 = wv[h] + SHA512_F2(wv[e]) + CH(wv[e], wv[f], wv[g]) + sha512_k[j] + \
64 wv[h] = t1 + t2; \
109 ctx->h[0] = sha512_h0[0]; in avb_sha512_init()
110 ctx->h[1] = sha512_h0[1]; in avb_sha512_init()
111 ctx->h[2] = sha512_h0[2]; in avb_sha512_init()
112 ctx->h[3] = sha512_h0[3]; in avb_sha512_init()
113 ctx->h[4] = sha512_h0[4]; in avb_sha512_init()
114 ctx->h[5] = sha512_h0[5]; in avb_sha512_init()
115 ctx->h[6] = sha512_h0[6]; in avb_sha512_init()
116 ctx->h[7] = sha512_h0[7]; in avb_sha512_init()
121 ctx->h[i] = sha512_h0[i]; in avb_sha512_init()
223 wv[0] = ctx->h[0]; in SHA512_transform()
224 wv[1] = ctx->h[1]; in SHA512_transform()
225 wv[2] = ctx->h[2]; in SHA512_transform()
226 wv[3] = ctx->h[3]; in SHA512_transform()
227 wv[4] = ctx->h[4]; in SHA512_transform()
228 wv[5] = ctx->h[5]; in SHA512_transform()
229 wv[6] = ctx->h[6]; in SHA512_transform()
230 wv[7] = ctx->h[7]; in SHA512_transform()
253 ctx->h[0] += wv[0]; in SHA512_transform()
254 ctx->h[1] += wv[1]; in SHA512_transform()
255 ctx->h[2] += wv[2]; in SHA512_transform()
256 ctx->h[3] += wv[3]; in SHA512_transform()
257 ctx->h[4] += wv[4]; in SHA512_transform()
258 ctx->h[5] += wv[5]; in SHA512_transform()
259 ctx->h[6] += wv[6]; in SHA512_transform()
260 ctx->h[7] += wv[7]; in SHA512_transform()
271 wv[j] = ctx->h[j]; in SHA512_transform()
289 ctx->h[j] += wv[j]; in SHA512_transform()
347 UNPACK64(ctx->h[0], &ctx->buf[0]); in avb_sha512_final()
348 UNPACK64(ctx->h[1], &ctx->buf[8]); in avb_sha512_final()
349 UNPACK64(ctx->h[2], &ctx->buf[16]); in avb_sha512_final()
350 UNPACK64(ctx->h[3], &ctx->buf[24]); in avb_sha512_final()
351 UNPACK64(ctx->h[4], &ctx->buf[32]); in avb_sha512_final()
352 UNPACK64(ctx->h[5], &ctx->buf[40]); in avb_sha512_final()
353 UNPACK64(ctx->h[6], &ctx->buf[48]); in avb_sha512_final()
354 UNPACK64(ctx->h[7], &ctx->buf[56]); in avb_sha512_final()
357 UNPACK64(ctx->h[i], &ctx->buf[i << 3]); in avb_sha512_final()