fixeria has uploaded this change for review.
global_platform: fix docstring for Scp03SessionKeys._get_icv()
Change-Id: I8983bc27f581295544360ba8b4ae1d28b3ea850f
---
M pySim/global_platform/scp.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/77/42377/1
diff --git a/pySim/global_platform/scp.py b/pySim/global_platform/scp.py
index 124b4c5..6c267fa 100644
--- a/pySim/global_platform/scp.py
+++ b/pySim/global_platform/scp.py
@@ -438,7 +438,7 @@
"""Obtain the ICV value computed as described in 6.2.6.
This method has two modes:
* is_response=False for computing the ICV for C-ENC. Will pre-increment the counter.
- * is_response=False for computing the ICV for R-DEC."""
+ * is_response=True for computing the ICV for R-DEC."""
if not is_response:
self.block_nr += 1
# The binary value of this number SHALL be left padded with zeroes to form a full block.
To view, visit change 42377. To unsubscribe, or for help writing mail filters, visit settings.