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:
@@ -132,14 +132,14 @@ METHOD(prf_t, get_bytes, bool,
|
|||||||
{
|
{
|
||||||
/* a. XVAL = (XKEY + XSEED j) mod 2^b */
|
/* a. XVAL = (XKEY + XSEED j) mod 2^b */
|
||||||
add_mod(this->b, xkey, xseed, xval);
|
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 ) */
|
/* b. wi = G(t, XVAL ) */
|
||||||
this->g(this, chunk_create(xval, this->b), &w[i * this->b]);
|
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 */
|
/* c. XKEY = (1 + XKEY + wi) mod 2b */
|
||||||
add_mod(this->b, xkey, &w[i * this->b], sum);
|
add_mod(this->b, xkey, &w[i * this->b], sum);
|
||||||
add_mod(this->b, sum, one, xkey);
|
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 */
|
/* 3.3 done already, mod q not used */
|
||||||
|
|||||||
Reference in New Issue
Block a user