USB Reset handling

This commit is contained in:
NIIBE Yutaka
2015-09-09 18:49:01 +09:00
parent 748c3cac6c
commit f505dea314
17 changed files with 166 additions and 142 deletions

View File

@@ -1036,7 +1036,7 @@ cmd_internal_authenticate (void)
result_len = pubkey_len;
r = rsa_sign (apdu.cmd_apdu_data, res_APDU, len,
&kd[GPG_KEY_FOR_AUTHENTICATION], pubkey_len);
}
}
else if (attr == ALGO_NISTP256R1)
{
if (len != ECDSA_HASH_LEN)