Tobias Brunner
b0319fe860
pkcs11: Instead of a mutex use a new session to do multipart operations.
2011-11-02 20:27:54 +01:00
Tobias Brunner
c198525104
pkcs11: Function added to retrieve multiple attributes from a single object.
2011-11-02 20:27:54 +01:00
Tobias Brunner
817d165cbc
pkcs11: Memory leak fixed in DH/ECDH implementation.
2011-11-02 20:27:54 +01:00
Tobias Brunner
43cd036a77
pkcs11: Invalid free fixed in DH/ECDH implementation.
2011-11-02 20:27:54 +01:00
Tobias Brunner
50ad6eacb6
pkcs11: Changed how pkcs11-manager is initialized.
...
The manager is now created directly, but events and certificate loading
is deferred.
2011-11-02 20:27:54 +01:00
Tobias Brunner
cf9d45ea08
pkcs11: Add attributes to specify what we use the DH/ECDH keys for.
2011-11-02 20:27:54 +01:00
Tobias Brunner
23b50b776b
pkcs11: Use callback registration for pkcs11-manager.
...
Otherwise a plugin providing X509 decoding capabilities might be unloaded
before the manager which will result in a segmentation fault when
certificates in the manager's credential sets are to be destroyed.
2011-10-31 18:45:37 +01:00
Tobias Brunner
10b82be61f
pkcs11: Merged the ECDH into the DH implementation.
2011-10-31 18:45:37 +01:00
Tobias Brunner
89de89be57
pkcs11: Use get_ck_attribute for ECDH.
2011-10-31 18:45:37 +01:00
Tobias Brunner
cac6853180
pkcs11: Use get_ck_attribute for DH.
2011-10-31 18:45:37 +01:00
Tobias Brunner
8531106578
pkcs11: Method added to library to extract a single attribute from an object.
2011-10-31 18:45:36 +01:00
Tobias Brunner
6a5020fc67
pkcs11: Added names for CKA_* constants.
2011-10-31 18:45:36 +01:00
Tobias Brunner
4e346b1f97
pkcs11: Added support for ECDH.
2011-10-31 18:45:36 +01:00
Tobias Brunner
612e431305
pkcs11: Added definitions needed for ECDH to pkcs11.h.
2011-10-31 18:45:36 +01:00
Tobias Brunner
7c78a6e631
pkcs11: Specify object class and key type when deriving DH secrets.
...
pkcs11_softtoken on OpenSolaris requires this (probably others too).
2011-10-31 18:45:36 +01:00
Tobias Brunner
b730fd6fbd
pkcs11: Add features support.
2011-10-31 18:45:36 +01:00
Tobias Brunner
1bb5d7c3cb
pkcs11: Added support for DH.
2011-10-31 18:45:36 +01:00
Tobias Brunner
df241121fd
pkcs11: Error message fixed.
2011-10-31 18:45:35 +01:00
Tobias Brunner
1bb522bc34
pkcs11: Added support to generate random numbers on a token.
2011-10-31 18:45:35 +01:00
Tobias Brunner
deba3da5b0
pkcs11: Properly destroy mutex in pkcs11_hasher if no token found.
2011-10-31 18:45:29 +01:00
Andreas Steffen
7c57867ebd
Added features support to agent plugin
2011-10-30 17:59:23 +01:00
Andreas Steffen
1c2008f07f
Added features support to dnskey plugin
2011-10-30 17:57:16 +01:00
Andreas Steffen
80fe26ec74
Added features support to pgp plugin
2011-10-30 17:52:13 +01:00
Andreas Steffen
caebf7cee9
Added features support to pkcs1 plugin
2011-10-30 17:44:35 +01:00
Andreas Steffen
ffddcec322
added newline
2011-10-30 17:43:55 +01:00
Andreas Steffen
0770fa16f8
remove pem_encoder_encode
2011-10-30 17:21:57 +01:00
Andreas Steffen
e0442525bb
Add features support to pem plugin
2011-10-30 17:16:13 +01:00
Andreas Steffen
45542fff6c
Add features support to pubkey plugin
2011-10-26 12:16:54 +02:00
Andreas Steffen
e8eef89718
Add features support to x509 plugin
2011-10-26 12:09:03 +02:00
Tobias Brunner
778ef77d61
Avoid heaps of compiler warnings due to plugin features registration.
2011-10-17 13:51:48 +02:00
Tobias Brunner
7bc24c598f
Add features support to gcrypt plugin.
2011-10-17 13:51:48 +02:00
Andreas Steffen
cc576edf22
Add features support to md4 plugin
2011-10-17 06:05:08 +02:00
Martin Willi
58fcdc4f06
Don't enforce features with soft dependencies before all plugins are loaded
2011-10-14 10:05:49 +02:00
Martin Willi
a07f2a4b9b
Don't try to load a feature again after failure
2011-10-14 10:05:49 +02:00
Martin Willi
59c4e88b16
Reset registration function for each plugin during feature loading
2011-10-14 10:05:49 +02:00
Martin Willi
e64d1141ff
Add features support to fips-prf plugin
2011-10-14 10:05:48 +02:00
Martin Willi
33a8860eac
Added macro to define CUSTOM plugin features
2011-10-14 10:05:47 +02:00
Martin Willi
036b88ec76
Doxygen fixups
2011-10-14 10:05:47 +02:00
Martin Willi
61c1dec8d4
Fixed memleak in plugin unloading
2011-10-14 10:05:47 +02:00
Martin Willi
2feed2f3fe
Load features after each plugin loaded until all plugins have feature support
2011-10-14 10:05:47 +02:00
Martin Willi
927bc3b5b8
Fixed compiler warning
2011-10-14 10:05:47 +02:00
Martin Willi
f5c574e17b
Fixed AES key length in openssl plugin
2011-10-14 10:05:47 +02:00
Martin Willi
d965872d66
Implemented feature unloading, moved feature registration plugin_features.c
2011-10-14 10:05:47 +02:00
Tobias Brunner
c293c87761
Don't use union members directly in plugin_feature_t.
2011-10-14 10:05:47 +02:00
Tobias Brunner
ef80de6010
Unload plugins which we were not able to load any features from.
2011-10-14 10:05:46 +02:00
Tobias Brunner
40e856fada
Fixed comment of create_plugin_enumerator.
2011-10-14 10:05:46 +02:00
Tobias Brunner
076aa51fc9
Easier to understand test for soft dependencies in dependencies_satisfied.
2011-10-14 10:05:46 +02:00
Martin Willi
d29d63c2cb
Add features support to ctr plugin
2011-10-14 10:05:46 +02:00
Martin Willi
5cb10a22a3
Add features support to gcm plugin
2011-10-14 10:05:46 +02:00
Martin Willi
cf268dc4f2
Add features support to ccm plugin
2011-10-14 10:05:46 +02:00