Lines Matching refs:auth_ctx
427 union authctx auth_ctx; in cesa_set_mkey() local
437 hmac_init_ipad(&auth_hash_hmac_sha1, mkey, mklen, &auth_ctx); in cesa_set_mkey()
438 memcpy(hin, auth_ctx.sha1ctx.h.b32, in cesa_set_mkey()
439 sizeof(auth_ctx.sha1ctx.h.b32)); in cesa_set_mkey()
440 hmac_init_opad(&auth_hash_hmac_sha1, mkey, mklen, &auth_ctx); in cesa_set_mkey()
441 memcpy(hout, auth_ctx.sha1ctx.h.b32, in cesa_set_mkey()
442 sizeof(auth_ctx.sha1ctx.h.b32)); in cesa_set_mkey()
446 &auth_ctx); in cesa_set_mkey()
447 memcpy(hin, auth_ctx.sha256ctx.state, in cesa_set_mkey()
448 sizeof(auth_ctx.sha256ctx.state)); in cesa_set_mkey()
450 &auth_ctx); in cesa_set_mkey()
451 memcpy(hout, auth_ctx.sha256ctx.state, in cesa_set_mkey()
452 sizeof(auth_ctx.sha256ctx.state)); in cesa_set_mkey()
462 explicit_bzero(&auth_ctx, sizeof(auth_ctx)); in cesa_set_mkey()