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
6f115b32eb
commit
b18a24386c
@ -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 New Issue
Block a user