summaryrefslogtreecommitdiff
path: root/lib/libcrypto
AgeCommit message (Collapse)Author
2018-05-14wrap an overlong lineTheo Buehler
2018-05-13Add const to the 'name', 'value', and 'section' arguments ofTheo Buehler
X509V3_EXT_{,n}conf_nid(3), X509_EXT_{,n}conf(3) X509V3{,_CRL,_REQ}_add_{,n}conf(3) as well as the get_string() and get_section() members of X509_CONF_METHOD_st. tested in a bulk build by sthen ok jsing
2018-05-13Reference the related accessor EVP_PKEY_get0_asn1(3).Ingo Schwarze
More logical ordering of EVP_PKEY_base_id(3) and EVP_PKEY_id(3) while here.
2018-05-13Document EVP_PKEY_get0_asn1(3), it is declared in <openssl/evp.h>.Ingo Schwarze
It makes no sense to have method enumerators public, but the function to retrieve the method of a specific public key undocumented. Besides, it is confusing to have EVP_PKEY_asn1_get0(3) documented without mentioning the very different EVP_PKEY_get0_asn1(3). Remove a duplicate .Xr while here, and reference the related accessor EVP_PKEY_base_id(3). Triggered by tb@ adding a const qualifier to the argument.
2018-05-13Document EVP_PKEY_bits(3).Ingo Schwarze
It is clearly public because it is declared in <openssl/evp.h>, refenced from EVP_PKEY_asn1_set_public(3), and similar to the documented functions DH_bits(3) and RSA_bits(3). Triggered by tb@ adding a const qualifier to its argument.
2018-05-13Add const to the ASN1_OBJECT argument of TS_TST_INFO_get_ext_by_OBJ(3).Theo Buehler
Should have been part of the previous commit. Omission noted by schwarze. tested in bulk build by sthen ok jsing
2018-05-13Add const qualifier to the ASN1_OBJ * argument ofTheo Buehler
TS_REQ_get_ext_by_OBJ(3), TS_REQ_set_policy_id(3), TS_RESP_CTX_add_policy(3), TS_RESP_CTX_set_def_policy(3), and TS_TST_INFO_get_ext_by_OBJ(3) tested in a bulk by sthen ok jsing
2018-05-13Add const qualifiers to the char *zone and char *user arguments ofTheo Buehler
SXNET_add_id_INTEGER(3), SXNET_add_id_asc(3), SXNET_add_id_ulong(3) tested in a bulk by sthen ok jsing
2018-05-13In pkcs12.h rev. 1.18 2018/05/13 13:46:55, tb@ added const qualifiersIngo Schwarze
to the "pass" and "name" arguments of PKCS12_create(3). Adjust the manual.
2018-05-13In pem.h rev. 1.18 2018/05/13 10:47:54, tb@ added const qualifiersIngo Schwarze
to the "name", "header", and "data" arguments of PEM_write(3) and PEM_write_bio(3). Adjust the manual.
2018-05-13In ocsp.h rev. 1.15 2018/05/13 10:42:03, tb@ added const qualifiersIngo Schwarze
to the "url" argument of OCSP_crlID_new(3) and to the "urls" argument of OCSP_url_svcloc_new(3). Adjust the manuals.
2018-05-13Add const qualifiers to the X509_SIG * and char * arguments ofTheo Buehler
PKCS8_decrypt(3). tested in a bulk build by sthen ok beck, jsing
2018-05-13In x509.h rev. 1.49 2018/05/13 10:36:35, tb@ added a const qualifierIngo Schwarze
to the argument of X509_get_subject_name(3) and X509_get_issuer_name(3). Adjust the manual.
2018-05-13Add const to the argument of PKCS12_pack_authsafes(3).Theo Buehler
tested in a bulk by sthen ok beck, jsing
2018-05-13Add const to the X509_ALGOR and other arguments ofTheo Buehler
PKCS12_item_decrypt_d2i(3), PKCS12_pbe_crypt(3), PKCS12_newpass(3). tested in a bulk by sthen ok beck, jsing
2018-05-13In ocsp.h rev. 1.14 2018/05/13 10:30:52, tb@ added const qualifiersIngo Schwarze
to the arguments of OCSP_cert_id_new(3). Adjust the manual.
2018-05-13Add const to the attr argument of PKCS12_get_attr_gen(3).Theo Buehler
tested in a bulk by sthen ok beck, jsing
2018-05-13In x509.h rev. 1.48 2018/05/13 10:25:06, tb@ added a const qualifierIngo Schwarze
to the "obj" argument of X509v3_get_ext_by_OBJ(3). Adjust the manual.
2018-05-13In evp.h rev. 1.60 2018/05/13 06:35:10, tb@ added a const qualifierIngo Schwarze
to the "sig" argument of EVP_DigestVerifyFinal(3). Adjust the manual.
2018-05-13Add const qualifier to the PKCS12_SAFEBAG argument ofTheo Buehler
PKCS12_decrypt_skey(3). tested in a bulk by sthen ok beck, jsing
2018-05-13Turn CRYPTO_realloc_clean() into a recallocarray() wrapper.Joel Sing
ok beck@ tb@
2018-05-13Use recallocarray() instead of OPENSSL_realloc_clean().Joel Sing
Also place all of the OPENSSL_* memory related prototypes under #ifndef LIBRESSL_INTERNAL. ok beck@ tb@
2018-05-13Add const qualifiers to the 'pass' and 'name' arguments ofTheo Buehler
PKCS12_add_key(3), PKCS12_add_safe(3), PKCS12_create(3). tested in a bulk build by sthen ok beck, jsing
2018-05-13Add const qualifier to the 'name', 'header', and 'data' arguments ofTheo Buehler
PEM_write(3) and PEM_write_bio(3). tested in a bulk build by sthen ok jsing
2018-05-13Add const qualifier to the path and url{,s} parameters ofTheo Buehler
OCSP_crlID_new(3), OCSP_parse_url(3), OCSP_sendreq_bio(3), OCSP_sendreq_new(3), and OCSP_url_svcloc_new(3). tested in a bulk build by sthen ok jsing (as part of a larger diff)
2018-05-13Add const qualifier to the argument of X509_get_issuer_name(3) andTheo Buehler
X509_get_subject_name(3). tested in a bulk build by sthen ok jsing (as part of a larger diff)
2018-05-13Add const qualifier to the X509_NAME *, ASN1_BIT_STRING *, andTheo Buehler
ASN1_INTEGER * arguments of OCSP_cert_id_new(3). tested in a bulk build by sthen ok jsing (as part of a larger diff)
2018-05-13Add const qualifier to the ASN1_OBJECT * argument of:Theo Buehler
OCSP_REQUEST_get_ext_by_OBJ(3), OCSP_ONEREQ_ext_by_OBJ(3) OCSP_BASICRESP_get_ext_by_OBJ(3), OCSP_SINGLERESP_get_ext_by_OBJ(3) tested in a bulk build by sthen ok jsing (as part of a larger diff)
2018-05-13Add const qualifier to the ASN1_OBJECT * parameter ofTheo Buehler
X509v3_get_ext_by_OBJ(3). tested in a bulk build by sthen ok jsing (as part of a larger diff)
2018-05-13Add a const qualifier to the ASN1_OBJECT * argument of the following:Theo Buehler
EVP_PKEY_get_attr_by_OBJ(3), X509at_get_attr_by_OBJ(3), X509at_get0_data_by_OBJ(3), X509_REQ_get_attr_by_OBJ(3) tested in a bulk by sthen ok beck (as part of a larger diff)
2018-05-13Add a const qualifier to the argument of EVP_PKEY_get0_asn1(3).Theo Buehler
tested in a bulk build by sthen ok beck (as part of a larger diff)
2018-05-13Add a const qualifier to the argument of EVP_PKEY_get0(3).Theo Buehler
tested in a bulk build by sthen ok beck (as part of a larger diff)
2018-05-13Add a const qualifier to the argument of EVP_PKEY_bits(3).Theo Buehler
tested in a bulk build by sthen ok beck (as part of a larger diff)
2018-05-13Add a const qualifier to the second argument of EVP_DigestVerifyFinal(3).Theo Buehler
tested in a bulk build by sthen ok beck (as part of a larger diff)
2018-05-12In bio.h rev. 1.43 2018/05/12 18:51:59, tb@ added a const qualifierIngo Schwarze
to the argument of BIO_new_accept(3), BIO_new_connect(3), and BIO_new_mem_buf(3). Update the documentation.
2018-05-12In bio.h rev. 1.42 2018/05/12 17:47:53, tb@ added a const qualifierIngo Schwarze
to return value of BIO_s_mem(3). Update the manual page.
2018-05-12const qualifiers for BIO_new_mem_buf(), BIO_new_connect() andTheo Buehler
BIO_new_accept(). The one for BIO_new_mem_buf() is a bit ugly since it needs to cast away the newly added const qualifier, as in OpenSSL commit 8ab31975bac. ok jsing
2018-05-12Add const qualifiers to the return values of BIO_s_mem() andTheo Buehler
BIO_s_datagram(). ok jsing
2018-05-12Cleanup c2i_ASN1_BIT_STRING() code.Joel Sing
Avoid overloading a variable to store both a value and an error code - we can simply inline the error calls (as done everywhere else). Remove a bunch of unnecessary parentheses and tidy a few other things. With input from tb@. ok inoguchi@ tb@
2018-05-12Add a missing bounds check in c2i_ASN1_BIT_STRING().Joel Sing
This could potentially result in a left shift that exceeded the size of the storage type. Issue found by Simon Friedberger, Robert Merget and Juraj Somorovsky. ok inoguchi@ tb@
2018-05-12Use explicit_bzero() rather than memset() when clearing a BIGNUM.Joel Sing
ok bcook@ tb@
2018-05-03begin LibreSSL 2.8.0 dev branchBrent Cook
2018-05-02In evp.h rev. 1.59 2018/05/02 15:51:41, tb@ added a const qualifierIngo Schwarze
to the return value of BIO_f_base64(3), BIO_f_cipher(3), and BIO_f_base64(3). Update the documentation.
2018-05-02Add const qualifiers to return value of BIO_f_{base64,cipher,md}().Theo Buehler
tested in bulk by sthen ok jsing
2018-05-02Remove incorrect NULL checks in DH_set0_key().Theo Buehler
Reported by Ondřej Surý, LibreSSL-portable issue #92. ok inoguchi, jsing
2018-05-01In x509.h rev. 1.46 2018/05/01 19:01:28, tb@ added const qualifiersIngo Schwarze
to some function arguments. Update the documentation.
2018-05-01Convert a handful of X509_*() functions to take const as in OpenSSL.Theo Buehler
tested in a bulk by sthen ok jsing
2018-05-01In bio.h rev. 1.41 2018/05/01 13:29:09, tb@ added const qualifiersIngo Schwarze
to the prototypes of several functions. Update the documentation.
2018-05-01Fix whitespace on a few lines to reduce noise in an upcoming diff.Theo Buehler
2018-05-01const for BIO_{new,set}() and most of the BIO_{f,s}_*() family ofTheo Buehler
functions. ok beck, jsing