Lines Matching refs:hc
48 br_hmac_context hc; in br_hmac_drbg_generate() local
60 br_hmac_init(&hc, &kc, 0); in br_hmac_drbg_generate()
61 br_hmac_update(&hc, ctx->V, hlen); in br_hmac_drbg_generate()
62 br_hmac_out(&hc, ctx->V); in br_hmac_drbg_generate()
79 br_hmac_init(&hc, &kc, 0); in br_hmac_drbg_generate()
80 br_hmac_update(&hc, ctx->V, hlen); in br_hmac_drbg_generate()
82 br_hmac_update(&hc, &x, 1); in br_hmac_drbg_generate()
83 br_hmac_out(&hc, ctx->K); in br_hmac_drbg_generate()
85 br_hmac_init(&hc, &kc, 0); in br_hmac_drbg_generate()
86 br_hmac_update(&hc, ctx->V, hlen); in br_hmac_drbg_generate()
87 br_hmac_out(&hc, ctx->V); in br_hmac_drbg_generate()
96 br_hmac_context hc; in br_hmac_drbg_update() local
107 br_hmac_init(&hc, &kc, 0); in br_hmac_drbg_update()
108 br_hmac_update(&hc, ctx->V, hlen); in br_hmac_drbg_update()
110 br_hmac_update(&hc, &x, 1); in br_hmac_drbg_update()
111 br_hmac_update(&hc, seed, len); in br_hmac_drbg_update()
112 br_hmac_out(&hc, ctx->K); in br_hmac_drbg_update()
118 br_hmac_init(&hc, &kc, 0); in br_hmac_drbg_update()
119 br_hmac_update(&hc, ctx->V, hlen); in br_hmac_drbg_update()
120 br_hmac_out(&hc, ctx->V); in br_hmac_drbg_update()
132 br_hmac_init(&hc, &kc, 0); in br_hmac_drbg_update()
133 br_hmac_update(&hc, ctx->V, hlen); in br_hmac_drbg_update()
135 br_hmac_update(&hc, &x, 1); in br_hmac_drbg_update()
136 br_hmac_update(&hc, seed, len); in br_hmac_drbg_update()
137 br_hmac_out(&hc, ctx->K); in br_hmac_drbg_update()
143 br_hmac_init(&hc, &kc, 0); in br_hmac_drbg_update()
144 br_hmac_update(&hc, ctx->V, hlen); in br_hmac_drbg_update()
145 br_hmac_out(&hc, ctx->V); in br_hmac_drbg_update()