Hannu Honkanen
2fffbce65c
myeid: update EC support for MyEID-v4 card
2015-03-14 17:47:44 +01: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
11881a61b8
removed/fixed dead code
2015-02-05 01:38:41 +01:00
Frank Morgner
8d902d1ed3
fixed out of bounds read/write/access
2015-02-04 09:24:50 +01:00
Frank Morgner
87b2403673
fixed out of bounds access/write
2015-01-28 07:00:02 +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
Viktor Tarasov
8b07b9c5a7
compile on Windows, minor codding style issues
2012-12-03 15:21:22 +01:00
sjoblomt
457426543d
MyEID ECDSA support
2012-12-03 14:37:13 +01:00
Viktor Tarasov
16b4cb6a3f
MyEID: always select in mode 'return FCI template'
...
According to ch.4.2 of MyEID reference manual v1.7.6 the only possible value of P2 of 'SELECT' APDU is '00'.
For this reason, when caller do not request to return 'sc_file' data,
use the non-null dummy 'sc_file' pointer in the call of iso->select_file,
and thus avoid the P2 different from '00'.
Also log calls are replaced by its short forms,
and resolved the 'trailing spaces' issues.
2012-08-14 15:52:39 +02:00
vtarasov
a576582701
libioensc: use 'struct sc_atr' instead of 'u8 *atr, size_t atr_len'
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5061 c6295689-39f2-0310-b995-f0e70906c6a9
2011-01-07 17:18:58 +00:00
viktor.tarasov
10a99dc055
myeid: remove windows line ending
...
because it give the wrong LINE value in the debug messages that follows
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4773 c6295689-39f2-0310-b995-f0e70906c6a9
2010-09-25 20:25:23 +00:00
viktor.tarasov
19df2c812b
MyEID: to be compiled with Visual Studio
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4715 c6295689-39f2-0310-b995-f0e70906c6a9
2010-09-13 07:55:12 +00:00
martin
a5ca648afd
Revert r4668. Change the way limitations on max send and receive sizes are set.
...
See http://www.opensc-project.org/pipermail/opensc-devel/2010-September/014836.html
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4706 c6295689-39f2-0310-b995-f0e70906c6a9
2010-09-09 18:58:44 +00:00
martin
10fe6e4441
MyEID: force PIN padding properties (already set by sc_pkcs15* but not present with opensc-explorer)
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4700 c6295689-39f2-0310-b995-f0e70906c6a9
2010-09-07 12:53:26 +00:00
martin
525bf7381e
MyEID: use ISO7816 pin_cmd. Fix card_state logic.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4699 c6295689-39f2-0310-b995-f0e70906c6a9
2010-09-07 12:49:16 +00:00
martin
6c156e2318
MyEID: remove no-op ISO7816 wrappers and not implemented stubs.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4694 c6295689-39f2-0310-b995-f0e70906c6a9
2010-09-05 19:22:54 +00:00
viktor.tarasov
3d988eed5c
MyEID: make working change/unblock PIN
...
tested with pkcs15-tool on Linux and Windows
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4693 c6295689-39f2-0310-b995-f0e70906c6a9
2010-09-05 18:21:43 +00:00
viktor.tarasov
ec6bb9859d
MyEID: For Aventra card applied Toni's patch, enriched by Andre's proposal
...
see:
http://www.opensc-project.org/pipermail/opensc-devel/2010-August/014662.html
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4686 c6295689-39f2-0310-b995-f0e70906c6a9
2010-09-04 20:46:07 +00:00
viktor.tarasov
801fdcefe2
pkcs11, libopensc, pkkcs15init: not use C99 designated initializers
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4238 c6295689-39f2-0310-b995-f0e70906c6a9
2010-04-14 11:36:40 +00:00
ludovic.rousseau
a3177b727a
Use explict field names in the static initialisation to make it more
...
robust to code change
Fix
card-myeid.c:44: warning: missing initializer
card-myeid.c:44: warning: (near initialization for ‘myeid_drv.atr_map’)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4213 c6295689-39f2-0310-b995-f0e70906c6a9
2010-04-02 14:08:22 +00:00
aj
6545b42c02
cleanup of the debug code:
...
* reduce to a few, supported functions.
* change all functions to take the debug level as parameter.
* use symbolic names for the debug levels.
* fix tools to pass "verbose"/"opt_debug" as ctx->debug.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4118 c6295689-39f2-0310-b995-f0e70906c6a9
2010-03-15 12:17:13 +00:00
aj
d22a2483c0
Header file cleanup.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4081 c6295689-39f2-0310-b995-f0e70906c6a9
2010-03-04 08:14:36 +00:00
viktor.tarasov
9c45262f5e
MyEID: fix 'Activate Applet' apdu case
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4040 c6295689-39f2-0310-b995-f0e70906c6a9
2010-02-18 17:08:01 +00:00
viktor.tarasov
d89e6377a0
MyEID: 'read until the end' not supported -- set maximal receiving size to 255
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4039 c6295689-39f2-0310-b995-f0e70906c6a9
2010-02-18 10:26:08 +00:00
viktor.tarasov
4395d5b8b3
MyEID: fix
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4038 c6295689-39f2-0310-b995-f0e70906c6a9
2010-02-18 10:08:32 +00:00
viktor.tarasov
840053f6ba
pkcs15init: migrate MyEID to the New API
...
Migrated without testing, but normally should work -- the pkcs15init part of MyEID and SetCOS are sufficiently close.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3975 c6295689-39f2-0310-b995-f0e70906c6a9
2010-02-02 09:44:46 +00:00
martin
38ba3ad18d
Remove card->finish() functions that do nothing
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3839 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 11:32:12 +00:00
martin
684e9b20ba
Convert newlines to unix style, remove compiler warnings.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3826 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 11:10:44 +00:00
martin
30ab50600b
Merged [3783:3794/trunk]
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3795 c6295689-39f2-0310-b995-f0e70906c6a9
2009-10-25 20:22:11 +00:00
martin
56fb57603b
Merge [3758:3783/trunk]
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3785 c6295689-39f2-0310-b995-f0e70906c6a9
2009-10-22 09:18:16 +00:00
martin
64f9578202
apdu.sensitive is not in use since [2868]
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3751 c6295689-39f2-0310-b995-f0e70906c6a9
2009-10-03 09:31:07 +00:00
martin
9da39d8462
Merged r3719:3749 from trunk
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3750 c6295689-39f2-0310-b995-f0e70906c6a9
2009-10-03 07:48:28 +00:00