Commit Graph

10 Commits

Author SHA1 Message Date
Klas Lindfors 01c844905a add ykpiv_set_mgmkey() 2014-06-17 09:58:55 +02:00
Klas Lindfors 8eb955bd13 make constants for algorithms, keys and instructions 2014-06-17 09:58:37 +02:00
Klas Lindfors d62430c2d5 more constness 2014-06-17 09:37:37 +02:00
Klas Lindfors cb60c782f5 move authenticate to library as ykpiv_authenticate() 2014-06-17 09:34:52 +02:00
Klas Lindfors 6dcb6798e6 let the ykpiv_connect() function select as well 2014-06-17 09:34:52 +02:00
Klas Lindfors 03c028a4ef get rid of the YKPIV_APDU_* macros
transport the starting 4 bytes as an array instead
2014-06-17 09:24:56 +02:00
Klas Lindfors f1c5302407 break out connect and send data to the library
exporting
ykpiv_connect()
ykpiv_send_data()
ykpiv_transfer_data()
2014-06-16 15:00:52 +02:00
Klas Lindfors 0d4dd2fea1 start moving code to the library, and add error codes 2014-06-16 13:19:48 +02:00
Klas Lindfors fe5632e603 start library structure 2014-06-16 12:35:28 +02:00
Klas Lindfors 1a42870615 start of the ykpiv library 2014-06-16 10:22:05 +02:00