fips-prf: Increase log level when logging secret state

Fixes: f27f6296e6 ("merged EAP framework from branch into trunk includes a lot of other modifications")
This commit is contained in:
Tobias Brunner
2026-07-24 08:47:39 +02:00
parent 1b9b037816
commit 8bcc47b818
@@ -132,14 +132,14 @@ METHOD(prf_t, get_bytes, bool,
{
/* a. XVAL = (XKEY + XSEED j) mod 2^b */
add_mod(this->b, xkey, xseed, xval);
DBG3(DBG_LIB, "XVAL %b", xval, (u_int)this->b);
DBG4(DBG_LIB, "XVAL %b", xval, (u_int)this->b);
/* b. wi = G(t, XVAL ) */
this->g(this, chunk_create(xval, this->b), &w[i * this->b]);
DBG3(DBG_LIB, "w[%d] %b", i, &w[i * this->b], (u_int)this->b);
DBG4(DBG_LIB, "w[%d] %b", i, &w[i * this->b], (u_int)this->b);
/* c. XKEY = (1 + XKEY + wi) mod 2b */
add_mod(this->b, xkey, &w[i * this->b], sum);
add_mod(this->b, sum, one, xkey);
DBG3(DBG_LIB, "XKEY %b", xkey, (u_int)this->b);
DBG4(DBG_LIB, "XKEY %b", xkey, (u_int)this->b);
}
/* 3.3 done already, mod q not used */