Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix gnutls_pkcs12_simple_parse to always extract the complete chainstefan-fixes | Stefan Sørensen | 2016-08-08 | 1 | -20/+15 |
| | | | | | | | | | gnutls_pkcs12_simple_parse was only collecting extra certificates that was possible elements of the certificate chain when the extra_certs argument was not NULL. Fix by allways collecting all the certificates, any unneeded certificates are released before returning if extra_certs is NULL anyway. Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com> | ||||
* | several sign-related API changes | Nikos Mavrogiannopoulos | 2016-05-31 | 1 | -2/+3 |
| | | | | | | | | | | This replaces the usage of "int" in functions which could only have accepted an "unsigned" value. Also functions which return unsigned values are explicitly tagged as such. The ABI remains the same with these changes. This allows easier catching of sign/unsigned related errors from the calling applications. | ||||
* | pkcs12: correctly set salt size in gnutls_pkcs12_mac_info | Nikos Mavrogiannopoulos | 2015-11-09 | 1 | -3/+4 |
| | | | | Also eliminate leaks in PKCS #12 parsing. | ||||
* | Removed the 'gnutls_' prefix from files to simplify file naming | Nikos Mavrogiannopoulos | 2015-08-23 | 1 | -5/+5 |
| | |||||
* | doc: avoid using structure for opaque types | Nikos Mavrogiannopoulos | 2015-03-20 | 1 | -14/+14 |
| | |||||
* | use asn1_decode_simple_ber if available | Nikos Mavrogiannopoulos | 2015-03-04 | 1 | -4/+4 |
| | |||||
* | gnutls_pkcs12_simple_parse: doc update | Nikos Mavrogiannopoulos | 2014-12-12 | 1 | -1/+1 |
| | |||||
* | Fix double-free in gnutls_pkcs12_simple_parse() | Chen Hongzhi | 2014-11-05 | 1 | -2/+0 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | fixed compilation warnings | Nikos Mavrogiannopoulos | 2014-09-25 | 1 | -7/+3 |
| | |||||
* | Re-initialize the ASN.1 structures on every import | Nikos Mavrogiannopoulos | 2014-08-17 | 1 | -5/+30 |
| | | | | | That allows to import a key/certificate on a structure even if the previous import failed. | ||||
* | pkcs12: added check for null OID in gnutls_pkcs12_generate_mac2 | Nikos Mavrogiannopoulos | 2014-08-11 | 1 | -4/+5 |
| | |||||
* | pkcs12: added gnutls_pkcs12_generate_mac2() | Nikos Mavrogiannopoulos | 2014-08-10 | 1 | -13/+32 |
| | | | | That allows a choice on the MAC algorithm to be used. | ||||
* | pkcs12: added gnutls_pkcs12_mac_info to obtain information on the MAC | Nikos Mavrogiannopoulos | 2014-08-10 | 1 | -0/+101 |
| | |||||
* | pkcs12: Allow verification with structures that support other than HMAC-SHA1 ↵ | Nikos Mavrogiannopoulos | 2014-08-10 | 1 | -16/+41 |
| | | | | MACs. | ||||
* | updated doc for gnutls_pkcs12_simple_parse() | Nikos Mavrogiannopoulos | 2014-08-10 | 1 | -5/+8 |
| | |||||
* | pkcs12: increased the number of iterations for MAC | Nikos Mavrogiannopoulos | 2014-08-04 | 1 | -1/+1 |
| | |||||
* | updated documentation for gnutls_pkcs12_simple_parse | Nikos Mavrogiannopoulos | 2014-07-29 | 1 | -16/+12 |
| | |||||
* | several bug fixes due to coverity. | Nikos Mavrogiannopoulos | 2014-04-15 | 1 | -0/+1 |
| | |||||
* | reindented code | Nikos Mavrogiannopoulos | 2013-11-08 | 1 | -1545/+1457 |
| | |||||
* | simplified access to cipher and mac properties to reduce wasted cycles. | Nikos Mavrogiannopoulos | 2013-05-25 | 1 | -2/+4 |
| | |||||
* | doc updates | Nikos Mavrogiannopoulos | 2013-04-08 | 1 | -7/+7 |
| | |||||
* | The HMAC subsystem can now be used for other MAC algorithms, like UMAC. ↵ | Nikos Mavrogiannopoulos | 2013-03-19 | 1 | -8/+8 |
| | | | | UMAC-96 and UMAC-128 were conditionally added. | ||||
* | Use gnutls_realloc_fast everywhere. Suggested by David Woodhouse. | Nikos Mavrogiannopoulos | 2013-02-18 | 1 | -2/+2 |
| | |||||
* | Use LGPLv2.1 in the files their author's agreed to. | Nikos Mavrogiannopoulos | 2013-02-01 | 1 | -1/+1 |
| | |||||
* | doc fix | Nikos Mavrogiannopoulos | 2013-01-05 | 1 | -5/+5 |
| | |||||
* | Added correct since | Nikos Mavrogiannopoulos | 2013-01-05 | 1 | -1/+1 |
| | |||||
* | corrected copyright notices | Nikos Mavrogiannopoulos | 2012-12-06 | 1 | -0/+1 |
| | |||||
* | Import PKCS #12 keys | Nikos Mavrogiannopoulos | 2012-12-06 | 1 | -17/+23 |
| | |||||
* | rewritten ASN.1 handling string subsystems to use the new libtasn1 APIs. | Nikos Mavrogiannopoulos | 2012-11-24 | 1 | -26/+8 |
| | |||||
* | doc update | Nikos Mavrogiannopoulos | 2012-11-19 | 1 | -1/+1 |
| | |||||
* | Added functions to parse the certificate policies extention. | Nikos Mavrogiannopoulos | 2012-11-18 | 1 | -18/+19 |
| | | | | | Added gnutls_x509_crt_get_policy() etc. In addition several updated in the handling of strings in X.509 structures. | ||||
* | Added functions to export structures in an allocated buffer. | Nikos Mavrogiannopoulos | 2012-10-07 | 1 | -0/+31 |
| | |||||
* | several cleanups | Nikos Mavrogiannopoulos | 2012-09-22 | 1 | -1/+1 |
| | |||||
* | doc fix | Nikos Mavrogiannopoulos | 2012-07-21 | 1 | -2/+1 |
| | |||||
* | simplified base64 encoding/decoding functions by using a datum. | Nikos Mavrogiannopoulos | 2012-07-08 | 1 | -9/+2 |
| | |||||
* | Added flag GNUTLS_PKCS12_SP_INCLUDE_SELF_SIGNED for ↵ | Nikos Mavrogiannopoulos | 2012-06-10 | 1 | -21/+29 |
| | | | | gnutls_pkcs12_simple_parse(). | ||||
* | deinitialize extra certs if they are empty. | Nikos Mavrogiannopoulos | 2012-06-10 | 1 | -8/+18 |
| | |||||
* | Changed prototype for gnutls_pkcs12_simple_parse() to simplify chain building. | Nikos Mavrogiannopoulos | 2012-06-09 | 1 | -39/+117 |
| | |||||
* | Re-use GNUTLS_E_DECRYPTION_FAILED for encrypted structures. | Nikos Mavrogiannopoulos | 2012-06-05 | 1 | -3/+3 |
| | |||||
* | Introduced GNUTLS_E_ENCRYPTED_STRUCTURE error code. | Nikos Mavrogiannopoulos | 2012-06-03 | 1 | -1/+17 |
| | | | | | | This error code is returned by encrypted key import functions such as gnutls_x509_privkey_import_pkcs8() and gnutls_pkcs12_simple_parse() when an encrypted structure is provided but no password is given. | ||||
* | gnutls_certificate_set_x509_simple_pkcs12_file() now imports certificate ↵ | Nikos Mavrogiannopoulos | 2012-06-03 | 1 | -0/+388 |
| | | | | | | chain if it is present. gnutls_pkcs12_parse() was renamed to gnutls_pkcs12_simple_parse() | ||||
* | ENABLE_PKI is no more | Nikos Mavrogiannopoulos | 2012-02-10 | 1 | -4/+0 |
| | |||||
* | Cleanup copyright headers. | Simon Josefsson | 2012-01-25 | 1 | -2/+1 |
| | |||||
* | Fixed signed/unsigned warnings. | Nikos Mavrogiannopoulos | 2012-01-21 | 1 | -8/+8 |
| | | | | Dropped opaque type (replaced with uint8_t) | ||||
* | Run 'make update-copyright'. | Simon Josefsson | 2012-01-16 | 1 | -1/+1 |
| | |||||
* | Optimizations in DH parameter generation. | Nikos Mavrogiannopoulos | 2011-12-12 | 1 | -1/+1 |
| | | | | | | The larger prime is find first and the big loop needs to find a smaller prime, increasing performance. The _gnutls_rnd() function is now inline and GNUTLS_RND_NONCE doesn't update random generator state. | ||||
* | Internals section updated. | Nikos Mavrogiannopoulos | 2011-08-12 | 1 | -1/+1 |
| | |||||
* | Clarify license and copyright. | Simon Josefsson | 2011-08-03 | 1 | -1/+1 |
| | |||||
* | documentation fixes | Nikos Mavrogiannopoulos | 2011-07-23 | 1 | -8/+8 |
| | |||||
* | Upgraded to LGPLv3. | Nikos Mavrogiannopoulos | 2011-06-23 | 1 | -5/+3 |
| |