more changes

This commit is contained in:
NIIBE Yutaka
2010-09-04 00:42:36 +09:00
parent 40455cd4a5
commit 3c9e24c7e2
19 changed files with 1584 additions and 1297 deletions

36
doc/NOTES Normal file
View File

@@ -0,0 +1,36 @@
USB communication
=================
* No command chaining, but extended APDU and extended Lc and Le
* dwMaxCCIDMessageLength: 64
OpenPGP card protocol implementation
====================================
* No clear password(s)
PW1
* Support of Resetting code
KEY
=======
KEYPTR
----> [ P ][ Q ][ N ]
<---encrypted----><--- plain ---->
key_addr 4-byte
additional_data_encrypted 16-byte
dek_encrypted_by_keystring_pw1 16-byte
dek_encrypted_by_keystring_rc 16-byte
dek_encrypted_by_keystring_pw3 16-byte
... decrypted to
[ P ][ Q ]
check 4-byte
random 4-byte
magic[] 8-byte

3
doc/NOTES~ Normal file
View File

@@ -0,0 +1,3 @@
PW1
* Support of Resetting code