From: Peter P. <no...@gi...> - 2023-06-06 08:24:38
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 6341c1984c043dbd68dd7d62b743c02f3534301b https://github.com/OpenSC/OpenSC/commit/6341c1984c043dbd68dd7d62b743c02f3534301b Author: Peter Popovec <pop...@gm...> Date: 2023-06-06 (Tue, 06 Jun 2023) Changed paths: M src/libopensc/card-epass2003.c Log Message: ----------- epass2003: SM checking (MAC and SW) This patch introduces basic verification of data coming from the token in the secure messaging mode: 1. compare raw SW and SW encoded in SM 2. verify MAC MAC verification is working only for DES and AES-CBC-MAC. Code for checking MAC in FIPS mode is still missing. modified: src/libopensc/card-epass2003.c |