Commit c37e4951 authored by Geoff Simmons's avatar Geoff Simmons

Thoroughly wipe the PRK.

parent 4f4d74a3
......@@ -275,6 +275,7 @@ crypto_init(struct vfp_ctx *ctx, struct ece_crypto *crypto, uint8_t *salt,
return (VERR_DEC(ctx, "%s", errmsg));
KEY_Wipe(prk);
KEY_Wipe(prk + AES128_KEYLEN);
crypto->prenonce_hi = vbe32dec(prenonce);
crypto->prenonce_lo = vbe64dec(prenonce + 4);
return (VFP_OK);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment