Commit Graph

564 Commits

Author SHA1 Message Date
Andreas Steffen 5932f41fcc trace back crypto algorithms to the plugins that registered them 2010-12-18 16:31:12 +01:00
Andreas Steffen 7e02e49112 Migrated fips_prf plugin to INIT/METHOD macros 2010-12-04 20:56:21 +01:00
Andreas Steffen c7b778450e Migrated md4_plugin_t to INIT/METHOD macros 2010-12-04 20:45:49 +01:00
Andreas Steffen e5e79bd403 Migrated md5_plugin_t to INIT/METHOD macros 2010-12-04 20:43:41 +01:00
Andreas Steffen 1e84aa74aa Migrated ldap plugin to INIT/METHOD macros 2010-12-04 20:15:59 +01:00
Andreas Steffen 4df49844d9 Migrated pubkey_plugin_t to INIT/METHOD macros 2010-12-04 15:43:04 +01:00
Andreas Steffen dd621140d3 Migrated pkcs1_plugin_t to INIT/METHOD macros 2010-12-04 11:43:06 +01:00
Andreas Steffen c742935dac Migrated curl_plugin_t to INIT/METHOD macros 2010-12-04 11:40:40 +01:00
Andreas Steffen 1bb67ff852 Migrated random plugin to INIT/METHOD macros 2010-12-04 11:37:03 +01:00
Andreas Steffen 79bbe64e17 Migrated sha1_plugin_t to INIT/METHOD macros 2010-12-04 11:26:02 +01:00
Andreas Steffen 72c436c170 Migrated sha2_plugin_t to INIT/METHOD macros 2010-12-04 10:48:42 +01:00
Andreas Steffen 4d7e8032ec Migrated mysql plugin to INIT/METHOD macros 2010-12-04 10:38:35 +01:00
Andreas Steffen c6fde416c4 use private destroy() function 2010-12-04 10:28:30 +01:00
Andreas Steffen cca86ba94d Migrated sqlite plugin to INIT/METHOD macros 2010-12-04 10:20:33 +01:00
Andreas Steffen 621f9324d9 Migrated test_vectors_plugin_t to INIT/METHOD macros 2010-12-04 10:10:37 +01:00
Andreas Steffen 36e4aa7b9e Migrated x509_plugin_t to INIT/METHOD macros 2010-12-04 10:07:56 +01:00
Andreas Steffen b5eeebe657 Migrated pgp_plugin_t to INIT/METHOD macros 2010-12-04 09:30:25 +01:00
Andreas Steffen 9a76f6ded2 Migrated pem_plugin_t to INIT/METHOD macros 2010-12-04 09:25:22 +01:00
Andreas Steffen cb458beb31 Migrated dnskey_plugin_t to INIT/METHOD macros 2010-12-04 09:20:53 +01:00
Martin Willi b78ca4b04c Do not query for CKA_ALWAYS_AUTHENTICATE if PKCS#11 Cryptoki version < 2.20 2010-11-18 08:56:12 +01:00
Martin Willi cfa18d14f1 Use static args for C_Initialize(), OpenSC does not get a copy of the pointers 2010-11-18 08:44:22 +01:00
Martin Willi 9cda39923e Added a PKCS#11 module option to enforce OS Locking functions 2010-11-12 16:14:03 +01:00
Martin Willi 57398f621a Do not use CKA_TRUSTED attribute for Cryptoki version < 2.20, handling all certs as trusted 2010-11-10 18:36:15 +01:00
Martin Willi 59df2d2a6f Add flags for PKCS#11 libraries with reduced feature set 2010-11-10 18:36:15 +01:00
Tobias Brunner ed174fd7e2 Added missing include for RAND_seed and RAND_status. 2010-10-21 14:16:09 +02:00
Martin Willi 663e735553 Compare subject against all key identifiers in has_subject() 2010-09-09 17:46:20 +02:00
Andreas Steffen f85f0c2795 has_subject() now resolves ID_KEY_IDs 2010-09-09 17:15:46 +02:00
Martin Willi a92a348092 Register missing AUTH_HMAC_SHA384 algorithm without truncation 2010-09-06 16:50:58 +02:00
Martin Willi d987946e80 Added a final flag to builder registration to enumerate the actually supported algorithms 2010-09-03 18:09:48 +02:00
Martin Willi 033fe95f0b Added support for a non-truncated SHA384 HMAC variant, as used by TLS 2010-09-03 14:54:43 +02:00
Martin Willi ed60dfa14f Added support for MODP_CUSTOM to gcrypt plugin 2010-09-03 09:33:15 +02:00
Martin Willi 42b1ac91c4 Added support for MODP_CUSTOM to openssl plugin 2010-09-03 09:33:15 +02:00
Martin Willi 08d8b9405b Added support for MODP_CUSTOM to gmp plugin 2010-09-02 19:33:08 +02:00
Tobias Brunner f6697eadb9 Scheduler and processor have been moved to libstrongswan.
Also reverts 0c21dc000d as the dependency
to libcharon is no longer required.
2010-09-02 19:04:23 +02:00
Martin Willi 2291754ddf Unwrap crlNumber INTEGER in openssl CRL parsing 2010-08-30 11:23:46 +02:00
Martin Willi 4f60466a01 Fall back to shifting with 32-bit words if 64-bit byte order conversion function missing 2010-08-23 10:10:36 +02:00
Martin Willi cb3f0c9b31 Register missing SHA256 authenticator with no truncation, as used by TLS 2010-08-20 12:11:21 +02:00
Martin Willi 23cf96773a Improve GCM performance by factor 2-3 by shifting full 32/64 bit words 2010-08-19 19:08:57 +02:00
Martin Willi 1a64981048 Implemented a gcm plugin providing GCM mode based on CBC crypters 2010-08-19 19:05:15 +02:00
Martin Willi 026355af42 Added AES-GCM test vectors 2010-08-19 19:05:15 +02:00
Martin Willi 80a93a1335 Implemented a ccm plugin providing CCM mode based on CBC crypters 2010-08-19 19:05:14 +02:00
Martin Willi f9277ac426 Added AES-CCM test vectors 2010-08-19 19:05:14 +02:00
Martin Willi 8ca9e255d8 Added support for AEAD test vectors to test-vectors plugin 2010-08-19 19:05:13 +02:00
Martin Willi ba31fe1fd6 Use a seperate section for each nested struct member in INIT macro 2010-08-18 12:15:03 +02:00
Martin Willi e2c3b4820b Variable key length crypters use default key length if zero given 2010-08-16 17:06:27 +02:00
Martin Willi 272f0e1ae4 Added a counter mode wrapper plugin operating on existing CBC crypters 2010-08-13 19:39:59 +02:00
Martin Willi c03b0d7e6b Added support for Camellia cipher to xcbc 2010-08-13 17:11:54 +02:00
Martin Willi a57b63c940 Added Camellia XCBC test vectors 2010-08-13 17:11:53 +02:00
Martin Willi 42cbe87fc7 Implemented AES/Camellia counter mode in gcrypt 2010-08-13 17:11:53 +02:00
Martin Willi 3102d8669d Use IV length of a crypter instead of block size for IV calculations 2010-08-13 17:11:53 +02:00