mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Explicitly zero the temporary auth context used to generate HMAC state.
Reviewed by: delphij Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D25439
This commit is contained in:
parent
347c369294
commit
9b6dc28176
1 changed files with 1 additions and 0 deletions
|
|
@ -459,6 +459,7 @@ cesa_set_mkey(struct cesa_session *cs, int alg, const uint8_t *mkey, int mklen)
|
|||
hin[i] = htobe32(hin[i]);
|
||||
hout[i] = htobe32(hout[i]);
|
||||
}
|
||||
explicit_bzero(&auth_ctx, sizeof(auth_ctx));
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Reference in a new issue