pubkey-authenticator: Append RSAPSS salt length to debug output
This commit is contained in:
committed by
Tobias Brunner
parent
7b46089ea7
commit
1b510c0467
@@ -371,9 +371,9 @@ static status_t sign_signature_auth(private_pubkey_authenticator_t *this,
|
|||||||
if (params->scheme == SIGN_RSA_EMSA_PSS)
|
if (params->scheme == SIGN_RSA_EMSA_PSS)
|
||||||
{
|
{
|
||||||
rsa_pss_params_t *pss = params->params;
|
rsa_pss_params_t *pss = params->params;
|
||||||
DBG1(DBG_IKE, "authentication of '%Y' (myself) with %N_%N %s", id,
|
DBG1(DBG_IKE, "authentication of '%Y' (myself) with %N_%N_SALT_%zd "
|
||||||
signature_scheme_names, params->scheme,
|
"%s", id, signature_scheme_names, params->scheme,
|
||||||
hash_algorithm_short_names_upper, pss->hash,
|
hash_algorithm_short_names_upper, pss->hash, pss->salt_len,
|
||||||
status == SUCCESS ? "successful" : "failed");
|
status == SUCCESS ? "successful" : "failed");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -647,9 +647,9 @@ METHOD(authenticator_t, process, status_t,
|
|||||||
else if (params->scheme == SIGN_RSA_EMSA_PSS)
|
else if (params->scheme == SIGN_RSA_EMSA_PSS)
|
||||||
{
|
{
|
||||||
rsa_pss_params_t *pss = params->params;
|
rsa_pss_params_t *pss = params->params;
|
||||||
DBG1(DBG_IKE, "authentication of '%Y' with %N_%N successful",
|
DBG1(DBG_IKE, "authentication of '%Y' with %N_%N_SALT_%zd "
|
||||||
id, signature_scheme_names, params->scheme,
|
"successful", id, signature_scheme_names, params->scheme,
|
||||||
hash_algorithm_short_names_upper, pss->hash);
|
hash_algorithm_short_names_upper, pss->hash, pss->salt_len);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user