Lines Matching refs:auth_ctx
424 union authctx auth_ctx; in cesa_set_mkey() local
434 hmac_init_ipad(&auth_hash_hmac_sha1, mkey, mklen, &auth_ctx); in cesa_set_mkey()
435 memcpy(hin, auth_ctx.sha1ctx.h.b32, in cesa_set_mkey()
436 sizeof(auth_ctx.sha1ctx.h.b32)); in cesa_set_mkey()
437 hmac_init_opad(&auth_hash_hmac_sha1, mkey, mklen, &auth_ctx); in cesa_set_mkey()
438 memcpy(hout, auth_ctx.sha1ctx.h.b32, in cesa_set_mkey()
439 sizeof(auth_ctx.sha1ctx.h.b32)); in cesa_set_mkey()
443 &auth_ctx); in cesa_set_mkey()
444 memcpy(hin, auth_ctx.sha256ctx.state, in cesa_set_mkey()
445 sizeof(auth_ctx.sha256ctx.state)); in cesa_set_mkey()
447 &auth_ctx); in cesa_set_mkey()
448 memcpy(hout, auth_ctx.sha256ctx.state, in cesa_set_mkey()
449 sizeof(auth_ctx.sha256ctx.state)); in cesa_set_mkey()
459 explicit_bzero(&auth_ctx, sizeof(auth_ctx)); in cesa_set_mkey()