Commit Graph

133 Commits

Author SHA1 Message Date
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