move authenticate to library as ykpiv_authenticate()

This commit is contained in:
Klas Lindfors
2014-06-17 09:33:46 +02:00
parent 6dcb6798e6
commit cb60c782f5
5 changed files with 96 additions and 84 deletions
+2
View File
@@ -46,6 +46,8 @@ static const err_t errors[] = {
ERR (YKPIV_PCSC_ERROR, "Error in PCSC call"),
ERR (YKPIV_SIZE_ERROR, "Wrong buffer size"),
ERR (YKPIV_APPLET_ERROR, "No PIV applet found"),
ERR (YKPIV_AUTHENTICATION_ERROR, "Error during authentication"),
ERR (YKPIV_RANDOMNESS_ERROR, "Error getting randomness"),
};
/**