Commit Graph

192 Commits

Author SHA1 Message Date
Andrea Franz f10e19e4c2
fix lint warning and add missing files 2018-10-19 14:46:54 +02:00
Andrea Franz 8d061e2c60
add comments to all packages 2018-10-19 14:46:54 +02:00
Andrea Franz 02de35c254
move channels structs to globalplatform pkg 2018-10-19 14:46:54 +02:00
Andrea Franz d5c83615d6
add docs to commands 2018-10-19 14:46:54 +02:00
Andrea Franz 7538feac95
add comments and fix warning for main command and pkg apdu 2018-10-19 14:46:54 +02:00
Andrea Franz 9225619434
use formatted logger in all packages 2018-10-19 14:46:54 +02:00
Andrea Franz cb0a7d3cc4
add install, delete, and status commands to main executable 2018-10-19 14:46:54 +02:00
Andrea Franz 010ab44d06
add GetStatus command 2018-10-19 14:46:54 +02:00
Andrea Franz dc57d83d22
split each command in different Installer methods 2018-10-19 14:46:54 +02:00
Andrea Franz 9def1c00c3
add Secrets struct 2018-10-19 14:46:54 +02:00
Andrea Franz ec500a3ab6
fix commands to work with both T=0 and T=1 2018-10-19 14:46:54 +02:00
Andrea Franz e80f686c96
remove logs of wrapped command 2018-10-19 14:46:54 +02:00
Andrea Franz 4821bea2a5
add lightwallet pkg 2018-10-19 14:46:54 +02:00
Andrea Franz 93171625e3
add install commands to installer 2018-10-19 14:46:54 +02:00
Andrea Franz 415fe350bf
add load command 2018-10-19 14:46:54 +02:00
Andrea Franz d5b7793219
add P1ExternalAuthenticateCMAC constant 2018-10-19 14:46:54 +02:00
Andrea Franz fd2a1eda27
add install for install command 2018-10-19 14:46:54 +02:00
Andrea Franz 48ad7291b4
add install for load command 2018-10-19 14:46:54 +02:00
Andrea Franz f718e4accc
add delete command to installation process 2018-10-19 14:46:54 +02:00
Andrea Franz 7971bc3e09
fix mac full 3DES iv generation 2018-10-19 14:46:54 +02:00
Andrea Franz 2f4bf27ce0
fix crypto pkg tests 2018-10-19 14:46:54 +02:00
Andrea Franz 50bfda60e0
add tlv formatting to delete data 2018-10-19 14:46:54 +02:00
Andrea Franz c55b6e1593
add delete command 2018-10-19 14:46:54 +02:00
Andrea Franz 02fb9f848c
add normal and secure channel and installer 2018-10-19 14:46:54 +02:00
Andrea Franz 5ddbdb3386
add GetResponse command 2018-10-19 14:46:54 +02:00
Andrea Franz 8721418cd7
add external auth command 2018-10-19 14:46:54 +02:00
Andrea Franz 0ef7630270
fix icv encryption in apdu wrapper 2018-10-19 14:46:54 +02:00
Andrea Franz 7b24b7bc42
add APDUWrapper and test 2018-10-19 14:46:54 +02:00
Andrea Franz 3e3af578eb
add session 2018-10-19 14:46:54 +02:00
Andrea Franz 83941f7016
add MacFull3DES function 2018-10-19 14:46:54 +02:00
Andrea Franz e40519c7da
add VerifyCryptogram function 2018-10-19 14:46:54 +02:00
Andrea Franz e81db1f0bd
add appendDESPadding function 2018-10-19 14:46:54 +02:00
Andrea Franz a2e6eec5b2
add crypto pkg and DeriveKey func 2018-10-19 14:46:54 +02:00
Andrea Franz fa35b117ff
add hexutils pkg 2018-10-19 14:46:54 +02:00
Andrea Franz 3f962927cf
add IsOK method to response 2018-10-19 14:46:54 +02:00
Andrea Franz 9119bd849f
refactoring 2018-10-19 14:46:54 +02:00
Andrea Franz a9f7cb5bce
add initialize update command 2018-10-19 14:46:54 +02:00
Andrea Franz 0c3a4d0c01
add FindTag utils function to parse TLV data 2018-10-19 14:46:54 +02:00
Andrea Franz 739696e6f9
add Select command 2018-10-19 14:46:54 +02:00
Andrea Franz fcdba99a1a
make APDUCommand serialize method public 2018-10-19 14:46:54 +02:00
Andrea Franz b2ef28fa0a
add command and response structs 2018-10-19 14:46:54 +02:00
Andrea Franz c278c2b6b1
Initial commit 2018-10-19 14:41:26 +02:00