Skip to content
Success

Changes

Summary

  1. global_platform/scp: refactor _wrap_cmd_apdu (details)
Commit b085f7c2d4e2da726b3acd9eeaa0733c179db058 by pmaier@sysmocom.de
global_platform/scp: refactor _wrap_cmd_apdu

The _wrap_cmd_apdu methods for SCP02 and SCP03 are a bit hard to read. Let's
refactor them so that it is easier to understand what happens. In particular
that one can not have encryption (cenc) without signing (cmac)

Related: OS#6367
Change-Id: I4c5650337779a4bd1f98673650c6c3cb526d518b
The file was modifiedpySim/global_platform/scp.py