-Fixed indention
-Improved a comment git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@516 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -36,8 +36,7 @@ class ePass_SE(Security_Environment):
|
||||
def compute_cryptographic_checksum(self, p1, p2, data):
|
||||
"""
|
||||
Compute a cryptographic checksum (e.g. MAC) for the given data.
|
||||
Algorithm and key are specified in the current (CAPDU) SE. The ePass
|
||||
uses a Send Sequence Counter for MAC calculation
|
||||
The ePass uses a Send Sequence Counter for MAC calculation
|
||||
"""
|
||||
if p1 != 0x8E or p2 != 0x80:
|
||||
raise SwError(SW["ERR_INCORRECTP1P2"])
|
||||
|
||||
Reference in New Issue
Block a user