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