nils
6abeaf1f1c
add a new function
...
void sc_mem_clear(void *ptr, size_t len);
to clear a memory buffer. If OpenSSL is used this function
is a wrapper for OPENSSL_cleanse, otherwise memset is currenlty used.
Use this function to clear memory buffers with sensitive content.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2601 c6295689-39f2-0310-b995-f0e70906c6a9
2005-09-17 10:44:45 +00:00
nils
f6c95792fe
let src/libopensc/ compile with -Wall -W -Wno-unused-parameter -Werror
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2546 c6295689-39f2-0310-b995-f0e70906c6a9
2005-09-07 08:33:55 +00:00
nils
b9efe849eb
add support for serial number in card-oberthur.c; supplied by Tarasov Viktor <vtarasov@idealx.com>
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2505 c6295689-39f2-0310-b995-f0e70906c6a9
2005-08-22 09:17:44 +00:00
nils
5adbeff6e0
fix typo
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2486 c6295689-39f2-0310-b995-f0e70906c6a9
2005-08-14 22:00:28 +00:00
nils
a20f0d576e
two small fixes from Tarasov Viktor <vtarasov@idealx.com>
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2481 c6295689-39f2-0310-b995-f0e70906c6a9
2005-08-11 19:14:23 +00:00
nils
a3ae7da3ab
oberthur updates from Tarasov Viktor <vtarasov@idealx.com>
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2471 c6295689-39f2-0310-b995-f0e70906c6a9
2005-08-09 07:53:59 +00:00
martin
fdb52385cd
Add support for pinpad PIN verification.
...
Patch from Andreas Steffen
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2347 c6295689-39f2-0310-b995-f0e70906c6a9
2005-06-07 12:43:43 +00:00
bert
2d97002824
API fixup: use defined type instead of struct for exposed structs
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2232 c6295689-39f2-0310-b995-f0e70906c6a9
2005-03-08 20:59:35 +00:00
aet
32b417cbf3
- First stab towards standardized card types
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2172 c6295689-39f2-0310-b995-f0e70906c6a9
2005-02-10 10:07:13 +00:00
aet
ece96aff98
- Add atrmask to sc_atr_table
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2160 c6295689-39f2-0310-b995-f0e70906c6a9
2005-02-09 11:33:37 +00:00
aet
69d2e9014d
- Optimize a few cpu cycles from _sc_match_atr_hex
...
- Replace struct sc_atr_table / _sc_match_atr with
recently introduced _hex variants
- Rewrote _add_atr
- Introduce int type variable to sc_card_t, so that
every other card driver won't have to glue around
with this
- Card driver cleanups, optimize the number of
sc_match_atr called per card driver. Also
always try direct match with _sc_match_atr
first, before relying on eg. historical bytes
information on some card drivers
- Fixed a memory leak from the miocos driver
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2145 c6295689-39f2-0310-b995-f0e70906c6a9
2005-02-06 19:40:40 +00:00
aet
d1dd355e73
- Cleanup
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2141 c6295689-39f2-0310-b995-f0e70906c6a9
2005-02-06 08:57:36 +00:00
aet
bd0f86f69c
- Unify all card drivers ATR matching code to use _sc_match_atr_hex,
...
untested as of yet.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2134 c6295689-39f2-0310-b995-f0e70906c6a9
2005-02-04 20:29:35 +00:00
nils
4ddfe862e5
cleanup: signed vs. unsigned and some const
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2038 c6295689-39f2-0310-b995-f0e70906c6a9
2004-12-21 22:38:37 +00:00
aet
a430c8c57d
- Build fixes
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2019 c6295689-39f2-0310-b995-f0e70906c6a9
2004-12-15 18:01:47 +00:00
nils
ed0d949af0
cleanup ...
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2018 c6295689-39f2-0310-b995-f0e70906c6a9
2004-12-15 17:34:15 +00:00
aet
e5baf6da45
- Convert C++ comments into C to avoid compiler errors on some platforms
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2013 c6295689-39f2-0310-b995-f0e70906c6a9
2004-12-15 10:56:45 +00:00
nils
e7a0b8f4eb
cleanup: declare local functions as static, renamed shadowed variables etc.
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2012 c6295689-39f2-0310-b995-f0e70906c6a9
2004-12-15 09:35:30 +00:00
nils
d0a64b651f
one more ATR for Oberthur 64K card
...
patch supplied by Victor Tarasov <vtarasov@idealx.com>
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1864 c6295689-39f2-0310-b995-f0e70906c6a9
2004-07-23 16:52:41 +00:00
aj
c526488cb3
There is a problem with decipher() of the oberthur card driver.
...
Manifested when caller allocates more then needed memory for the result.
Thanks to the regression tests,
Viktor.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1861 c6295689-39f2-0310-b995-f0e70906c6a9
2004-07-22 20:52:39 +00:00
nils
86345157b4
fix compiler warning
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1839 c6295689-39f2-0310-b995-f0e70906c6a9
2004-07-19 16:12:43 +00:00
nils
f8369b08ac
support OpenSSL version < 0.9.7 in card-oberthur.c
...
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1837 c6295689-39f2-0310-b995-f0e70906c6a9
2004-07-19 15:42:19 +00:00
aj
b1859fc2cb
the older generation of oberthur card is not supported by the
...
current driver. better not detect them at all.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1798 c6295689-39f2-0310-b995-f0e70906c6a9
2004-06-20 13:37:04 +00:00
aj
52c1b2d700
Very basic and untested oberthur driver. Could possibly work,
...
as only non-essential parts stripped (or at least that was the plan).
Written by Viktor Tarasov of idealx.
All bugs by Andreas Jellinghaus, please don't blame anyone else.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1793 c6295689-39f2-0310-b995-f0e70906c6a9
2004-06-16 20:59:59 +00:00