summaryrefslogtreecommitdiff
path: root/lib/gnutls_global.c
Commit message (Collapse)AuthorAgeFilesLines
* The attached patch ports gnutls to p11-kit.Stef Walter2011-08-011-0/+4
| | | | | | | | | | | | * p11-kit is added as a dependency. p11-kit itself has no dependencies outside of basic libc stuff. The source code for p11-kit is available both in git and tarball form. * If the gnutls dependency on p11-kit is disabled (via a configure option) then the PKCS#11 support is disabled. This is useful in bare bones embedded systems or places where very minimal dependencies are limited. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Added gnutls_global_set_time_function() that allows overriding theNikos Mavrogiannopoulos2011-05-261-0/+17
| | | | default system time() function.
* Indented code. Use same indentation but with -nut to avoid usage of tabs. In ↵Nikos Mavrogiannopoulos2010-12-161-9/+9
| | | | several editors tabs can be configured not to be 8 spaces and this produces artifacts with the current indentation that is a mixture of tabs and spaces.
* Indent (using GNU indent 2.2.11).Simon Josefsson2010-10-141-6/+6
|
* Support scattered write using writev(). This takesNikos Mavrogiannopoulos2010-07-101-39/+0
| | | | | | | | | advantage of the new buffering layer and allows queuing of packets and flushing them. This is currently used for handshake messages only. Performance-wise the difference of packing several TLS records in a single write doesn't seem to offer anything over ethernet (that my tests were on). Probably on links with higher latency there would be a benefit.
* Initialization of crypto libraries moved outside main gnutls code.Nikos Mavrogiannopoulos2010-06-291-33/+7
|
* Moved locking code to special file.Nikos Mavrogiannopoulos2010-06-291-175/+3
|
* Added gnutls_global_set_mutex() to allow settingNikos Mavrogiannopoulos2010-06-271-1/+173
| | | | | | | | | alternative locking procedures. By default the system available locking is used. In *NIX pthreads are used and in windows the critical section API. As a side effect this change avoids any API dependance on libgcrypt even if threads are used.
* Use GCRYCTL_ENABLE_QUICK_RANDOM when using libgcrypt.Nikos Mavrogiannopoulos2010-06-031-0/+2
|
* Fixup to compile with nettleNikos Mavrogiannopoulos2010-06-031-1/+3
|
* Added support for libnettle backend. This uses gmp for big number operations.Nikos Mavrogiannopoulos2010-06-031-1/+4
| | | | It is not currently completed. It lacks RSA blinding as well as optimizations.
* Added gnutls_pkcs11_privkey_t and gnutls_privkey_t types. Those areNikos Mavrogiannopoulos2010-06-031-0/+4
| | | | | an abstract private key type that can be used to sign/encrypt any private key of pkcs11,x509 or openpgp types. Added support for PKCS11 in gnutls-cli/gnutls-serv.
* Change GNUTLS into GnuTLS.Simon Josefsson2010-05-221-2/+2
|
* Indent code.Simon Josefsson2010-04-141-3/+3
|
* Fix GTK-DOC syntax. Unfortunately this looses some information.Simon Josefsson2010-02-171-8/+8
|
* Update copyright years.Simon Josefsson2010-01-271-1/+2
|
* Fix FSF copyright notices.Simon Josefsson2010-01-271-1/+1
|
* Added cryptodev support (/dev/crypto). Tested with ↵Nikos Mavrogiannopoulos2009-11-291-0/+4
| | | | | | http://www.logix.cz/michal/devel/cryptodev/. Added benchmark utility for AES. Exported API to access encryption algorithms.
* fixes in order to compile with -WerrorNikos Mavrogiannopoulos2009-11-011-5/+0
|
* Look only for latest _required_ libgcrypt/libtasn1 version.Simon Josefsson2009-08-101-3/+11
| | | | | Reported by Marco d'Itri <md@linux.it> via Andreas Metzler <ametzler@downhill.at.eu.org> as Debian BTS #540449.
* Fix version symbol namespace.Simon Josefsson2009-05-261-1/+1
|
* Doc fixes for GTK-DOC.Simon Josefsson2009-05-131-4/+2
|
* Doc fixes. Remove debugging code.Simon Josefsson2009-05-121-149/+114
|
* Fix bindtextdomain call.Simon Josefsson2009-04-031-3/+1
|
* Fix warnings.Simon Josefsson2009-03-301-1/+3
|
* Be compatible with libtasn1 before v1.6.Simon Josefsson2009-03-041-0/+5
|
* Use modern libtasn1 interfaces.Simon Josefsson2009-03-041-1/+1
|
* Cleanup logger function type.Simon Josefsson2009-01-071-6/+4
|
* Disable secmem rather than overriding libgcrypt memory allocators.Simon Josefsson2008-12-051-7/+5
| | | | | Suggested by Werner Koch in <http://permalink.gmane.org/gmane.comp.encryption.gpg.libgcrypt.devel/2056>.
* rearranged initialization stuff based on Werner's suggestions.Nikos Mavrogiannopoulos2008-12-041-13/+13
|
* Fix mem leak.Simon Josefsson2008-11-111-0/+1
|
* Better gnulib module usage.Simon Josefsson2008-10-301-30/+4
|
* Modernize libgcrypt detection.Simon Josefsson2008-10-081-8/+4
|
* Detect libtasn1 via AC_LIB_HAVE_LINKFLAGS.Simon Josefsson2008-10-081-1/+1
|
* Indent.Simon Josefsson2008-09-161-1/+1
|
* Fix warnings.Simon Josefsson2008-08-291-2/+0
|
* Fix warnings.Simon Josefsson2008-08-281-8/+0
|
* Fix gnulib calls.Simon Josefsson2008-08-261-2/+0
|
* Fix secure memory initialization of libgcrypt.Simon Josefsson2008-08-181-5/+5
| | | | | Reported by Joe Orton <joe@manyfish.co.uk> in <http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/2992>.
* Add APIs to register TLS extension handlers.Simon Josefsson2008-07-031-0/+10
|
* Indent code.Simon Josefsson2008-07-021-4/+4
|
* Initial merge attempt with gnutls_with_ext_mpiNikos Mavrogiannopoulos2008-06-281-12/+1
|
* Fix warning.Simon Josefsson2008-05-061-1/+0
|
* Added deregisteration function to free buffers allocated for registering ↵Nikos Mavrogiannopoulos2008-04-251-0/+1
| | | | algorithms.
* Added interface to register random generators.Nikos2008-03-291-3/+10
|
* Doc fix.Simon Josefsson2008-03-061-9/+11
|
* Doc fix, remove verbose 'This function ...'Simon Josefsson2008-03-061-9/+9
| | | | Improves looks in 'apropos' output.
* Changed my name to my "official" name.Nikos Mavrogiannopoulos2007-10-301-1/+1
|
* Use strverscmp.Simon Josefsson2006-11-071-63/+10
|
* Initialize winsock, for mingw.Simon Josefsson2006-06-161-0/+31
|