From: GitHub <no...@gi...> - 2014-09-02 21:30:13
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 295c523e4e174a4adef7cae6e0463b1164e52c75 https://github.com/OpenSC/OpenSC/commit/295c523e4e174a4adef7cae6e0463b1164e52c75 Author: William Roberts <w2....@sa...> Date: 2014-08-25 (Mon, 25 Aug 2014) Changed paths: M src/libopensc/card-piv.c M src/libopensc/opensc.h M src/libopensc/sc.c Log Message: ----------- Add AES support for PIV General Authenticate This adds algorithm IDs 0xA, 0xA, 0xC which as documented by the NIST PIV specification is algorithms AES-128, AES-192 and AES-256 respectively. This patch also addresses some of the hardcodes that prevented nonces greater than the single byte TLV length tags would allow. It was explicitly tested with AES-256 and 256 byte nonces. Signed-off-by: William Roberts <w2....@sa...> Commit: 3260ca3eab735013bf72e62281c23363f1394441 https://github.com/OpenSC/OpenSC/commit/3260ca3eab735013bf72e62281c23363f1394441 Author: Doug Engert <dee...@gm...> Date: 2014-09-02 (Tue, 02 Sep 2014) Changed paths: M src/libopensc/card-piv.c M src/libopensc/opensc.h M src/libopensc/sc.c Log Message: ----------- Merge pull request #270 from shootingatshadow/aes-support Add AES support for PIV General Authenticate adds new routine sc_right_trim in sc.c and opensc.h. It is used by PIV card driver when using the piv-tool. Compare: https://github.com/OpenSC/OpenSC/compare/5279bfa2d14d...3260ca3eab73 |