Documentation ¶
Index ¶
- func Crc16(data []byte) []byte
- func EncryptFullProtection(cmdCtr int, data, ke []byte) ([]byte, error)
- func MacFullProtection(cmd smartcard.ISO7816cmd, cmdCtr int, data, key []byte) ([]byte, error)
- func OfflineChangeKeyEncrypt(data, kc, samUID []byte, changeCtr int) ([]byte, error)
- func OfflineChangeKeyMac(data, kc []byte, changeCtr int) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncryptFullProtection ¶
EncryptFullProtection function to Encrypted data in full protection mode
func MacFullProtection ¶
MacFullProtection function to calculated the CMAC in full protection mode
func OfflineChangeKeyEncrypt ¶
OfflineChangeKeyEncrypt function to Encrypt data in full OfflineChangeKey
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.