Philip Wendland
4142456c74
PIV, sc-hsm, myeid: register ECDH card capabilites
...
Prior to 066132327c71300188aa66180fde2fb3d90c5140, CKM_ECDH1_DERIVE and
CKM_ECDH1_COFACTOR_DERIVE were always registered for cards that support
SC_ALGORITHM_ECDSA_RAW.
The mentioned commit changed this behavior, so that the ECDH mechanisms
are only registered for cards that set the SC_ALGORITHM_ECDH_CDH_RAW
capability flag.
To keep the existing behavior for the cards, they need to set this flag
in the card driver.
2015-05-08 20:45:37 +02:00
Frank Morgner
bcb5fc15e5
honour HAVE_CONFIG_H
2015-04-22 23:55:33 +02:00
Viktor Tarasov
fa923831f8
introduce EC curve OID into algorithm info data
...
needed to store information about EC curve supported by card.
Primary usage is when importing/generating key to get know if particular curve is supported by card.
2015-02-20 13:49:18 +01:00
Frank Morgner
a2ba4d3bae
Merge pull request #319 from CardContact/add-sec-k-curves
...
sc-hsm: Add support for Koblitz curves secp192k1 and secp256k1 (Bitcoin)
2014-12-06 23:22:43 +01:00
Andreas Schwier
d014056f1d
sc-hsm: Add support for Koblitz curves secp192k1 and secp256k1 (Bitcoin)
2014-11-04 17:11:34 +01:00
Andreas Schwier
b2dcae34ca
Fix Lc byte in VERIFY PIN block for PC/SC PIN PAD reader
2014-11-03 16:11:29 +01:00
Andreas Schwier
9e54756e1b
sc-hsm: Added support to unblock PIN using C_InitPIN()
2014-01-08 19:32:53 +01:00
Andreas Schwier
d1ba6164ad
sc-hsm: Added support for token label to be set via C_InitToken or sc-hsm-tool
2014-01-08 16:07:13 +01:00
Andreas Schwier
4604dac3a7
sc-hsm: Fixed memory checking and removed warning
2013-11-15 11:41:10 +01:00
Frank Morgner
d21830344f
fixed a ton of compiler warnings
2013-08-03 19:15:55 +02:00
Frank Morgner
e3649fb7de
fixed even more compiler warnings
2013-08-02 15:43:25 +02:00
Andreas Schwier
962cba98db
sc-hsm: Fixed bug when changing SO-PIN with opensc-explorer
...
sc-hsm-tool: Fixed some warnings
2013-06-11 16:55:47 +02:00
Andreas Schwier
ae1b96e5b2
sc-hsm-tool: Fixed a crash on Windows when --wrap-key frees memory allocated in opensc.dll
2013-06-11 16:55:47 +02:00
Andreas Schwier
ffb20e5916
sc-hsm: Added sc-hsm-tool with DKEK support and key wrap / unwrap
2012-11-11 12:53:03 +01:00
Andreas Schwier
aaedef70b5
sc-hsm: Added ability to initialize SmartCard-HSM using C_Initialize and C_InitPIN on PKCS#11 interface
2012-10-21 15:51:55 +02:00
Andreas Schwier
72786abe1f
sc-hsm: Added write support for RSA and ECC keys, certificates and data objects
2012-10-01 13:09:02 +02:00
Andreas Schwier
d5ee8a80b5
sc-hsm: Added fallback for readers that do not support extended length. Without extended length, RSA 2048 bit operations will not work.
2012-09-01 21:25:58 +02:00
Andreas Schwier
cdfc22be73
sc-hsm: Removed dead code and memory leak if serial number is set more than once
2012-08-24 09:39:45 +02:00
Andreas Schwier
d180fc324c
sc-hsm: Added basic cvc support to read device identity. Used for token serial number and GUID generation
2012-08-23 22:06:01 +02:00
Andreas Schwier
2e0ef7a0ab
sc-hsm: Improved usablity in opensc-explorer
2012-08-20 11:22:02 +02:00
Andreas Schwier
46efb61a2b
sc-hsm: Fixed field size constants for 320 bit curve
2012-08-20 11:22:02 +02:00
Andreas Schwier
efb4673ec8
Revert change to pkcs11-tool because of upstream changes in RSA signature tests
...
Fixed a typo that went undetected
2012-08-20 11:22:02 +02:00
Andreas Schwier
dc927fbe3c
sc-hsm: Undo the change to mechanism.c in commit f24bcd346340d80b552c0859942a49fd5e8feeff
...
sc-hsm: Change ECDSA signature format from DER to r/s format
2012-08-20 11:22:02 +02:00
Andreas Schwier
03632f336e
sc-hsm: Added support for ECDH
2012-08-20 11:22:02 +02:00
Andreas Schwier
f678b68650
Activated ECDSA for SmartCard-HSM
...
Fixed issues in pkcs11-tool/test_signature is card has RSA and ECDSA keys
Fixed bug in sc_pkcs11_signature_size that returns the wrong ECDSA signature size
2012-08-20 11:22:02 +02:00
Frank Thater
4ff917bd25
Added obj files to Makefile.mak for windows build
...
Fixed WIN32 compiler errors
Adjusted log message calls to short form
modified: src/libopensc/Makefile.mak
modified: src/libopensc/card-sc-hsm.c
modified: src/libopensc/pkcs15-sc-hsm.c
2012-08-20 11:22:02 +02:00
Frank Thater
1a7ca32865
Added support for SmartCard-HSM and ECC keys
...
modified: src/libopensc/Makefile.am
new file: src/libopensc/card-sc-hsm.c
new file: src/libopensc/card-sc-hsm.h
modified: src/libopensc/cards.h
modified: src/libopensc/ctx.c
modified: src/libopensc/pkcs15-prkey.c
new file: src/libopensc/pkcs15-sc-hsm.c
modified: src/libopensc/pkcs15-syn.c
2012-08-20 11:22:01 +02:00