summaryrefslogtreecommitdiff
path: root/p11-kit
Commit message (Collapse)AuthorAgeFilesLines
* Reimplement and remove apache licensed bits of code.Stef Walter2011-07-279-590/+466
| | | | | | | | | | * Reimplement the various bits of the hash table that were still based on the apache apr code. Use different algorithms for hashing, lookup and other stuff. * Use this as an opportunity to cleanup that code and make it more legible. https://bugzilla.redhat.com/show_bug.cgi?id=725905
* pin: Fix uninitialized variableStef Walter2011-07-121-1/+1
|
* More fine tuning of the pin APIs.Stef Walter2011-07-062-3/+19
|
* Add documentation for PIN callbacks.Stef Walter2011-07-062-67/+265
|
* Add P11KitPin structure, which encapsulates a returned pin.Stef Walter2011-07-062-24/+191
| | | | | * Lets us use variable size buffers. * Helps minimize copying.
* Rename p11_kit_pin_read_pinfile to p11_kit_pin_retrieveStef Walter2011-07-062-8/+9
| | | | * Fix up duplicate register logic as well.
* Implement support for registering and calling pinfile callbacksStef Walter2011-07-065-0/+631
| | | | | | * These are callbacks that hanlde the pinfile part of a PKCS#11 URI. * One library can register a callback that another can then call in a thread-safe and simple fashion.
* Fix logic error loading registered modules.Stef Walter2011-06-161-1/+1
| | | | Thanks to Richard Bellgrim.
* Update pkcs11.h with PKCS#11 2.20 ammendments.Stef Walter2011-06-091-3/+19
|
* Complete documentation for message functionality.Stef Walter2011-06-092-0/+44
|
* Store last failure message per thread.Stef Walter2011-06-096-30/+142
| | | | * Add p11_kit_message() function to get last message.
* Refactor configurationStef Walter2011-06-088-397/+579
| | | | | * Move configuration loading into conf.c * Have user modules with same name merge/override modules in system.
* Ignore files without a 'module' value.Stef Walter2011-06-081-7/+4
| | | | * Just skip loading these.
* Release version 0.1Stef Walter2011-06-071-0/+3
|
* Fix up documentationStef Walter2011-06-071-0/+41
|
* Add p11_kit_space_strdup() function, and rename p11_kit_space_strlen()Stef Walter2011-06-074-16/+42
| | | | * Print out module info in p11-kit tool.
* Fix more memory errors and leaks in module code.Stef Walter2011-06-071-4/+12
|
* Fix URI parsing memory leaks.Stef Walter2011-06-071-0/+1
|
* Fix some hash leaks and bugs.Stef Walter2011-06-071-8/+12
|
* Fix compiler warnings.Stef Walter2011-06-071-1/+1
|
* Remove unstable API markers.Stef Walter2011-06-073-21/+0
|
* Clear correct block of memory in p11_kit_uri_parse().Stef Walter2011-05-301-1/+1
|
* GNU style definitions in uri.h as well as normal.Stef Walter2011-05-301-12/+14
|
* Cleanup URI typesStef Walter2011-05-302-22/+59
| | | | | * Support with/without library version. * Make names of types clearer.
* Set the return value properly in p11_kit_load_initialize_module()Stef Walter2011-05-301-0/+3
|
* Add function p11_kit_uri_space_strlen() for figuring out the lengthStef Walter2011-05-302-3/+6
| | | | of space terminated strings.
* Allow use with CRYPTOKI_GNU style use of PKCS#11Stef Walter2011-05-303-3/+24
|
* Add p11_kit_load_initialize_module() function.Stef Walter2011-05-272-24/+146
| | | | | * This function will load a module from a file path, and then initialize it.
* Rename module arguments from 'funcs' to 'module'Stef Walter2011-05-272-126/+126
|
* Fix uninitialized variable problem.Stef Walter2011-05-271-1/+1
|
* Change around installation of headers, pkg-config, and file namesStef Walter2011-05-2711-34/+17
| | | | | | | | * Install headers to ${prefix}/include/p11-kit-1/p11-kit/ * This solves problems with other projects that have their own pkcs11.h files. * Change the pkg-config file name to p11-kit-1.pc * Change the source file names.
* Add functions for clearing and setting multiple attributes on URI.Stef Walter2011-05-262-24/+63
|
* Return proper errors when NULL is passed to mutex functions.Stef Walter2011-05-261-0/+12
|
* URI API fine tuningStef Walter2011-05-262-149/+225
| | | | | | * Rework API for getting all the attributes, to match usage in PKCS#11 * Add support for pinfile argument in URIs. * Complete tests.
* Add p11_kit_uri_message() function.Stef Walter2011-05-254-1/+43
| | | | Gets messages for p11-kit error codes.
* Fix null pointer dereference.Stef Walter2011-05-241-1/+1
|
* Fix lots of bugs and add more debugging statements.Stef Walter2011-04-052-11/+43
|
* Add support for debug tracing.Stef Walter2011-04-055-1/+253
| | | | | | | | | | | Use P11_KIT_DEBUG=xxx environment variable to enable tracing. Must have been built without --disable-debug option. P11_KIT_DEBUG can (at this point) be one of these values: all help conf lib
* Fix up copyright lines.Stef Walter2011-04-0111-15/+13
|
* Add C++ header guards, and require API instability acknowledgement.Stef Walter2011-03-313-3/+40
|
* Support setting of CK_C_INITIALIZE_ARGS.pReserved to string.Stef Walter2011-03-311-0/+7
| | | | | | This is a naughty little thing that a lot of PKCS#11 modules require to be properly initialized. So we support setting pReserved to a string that is in the config under the 'x-init-reserved' parameter.
* Fix up styling and tweaks.Stef Walter2011-03-311-2/+2
|
* Documentation and API cleanup.Stef Walter2011-03-3117-0/+6627
* Rename source directory * More consistent with return values from URI functions. * Allow formatting URI to take a uri type.