mcpp index

compat.boringssl

#include

BoringSSL — Google's fork of OpenSSL (libcrypto + libssl, native in-graph source build)

#include <openssl/ssl.h>
mcpp add compat.boringssl@0.20261105.0

Usage

From this repository's own test project — built and run by CI, not written for the website.

#if defined(_WIN32)
#  ifndef NOMINMAX
#    define NOMINMAX
#  endif
#  ifndef WIN32_LEAN_AND_MEAN
#    define WIN32_LEAN_AND_MEAN
#  endif
#endif

#include <openssl/aead.h>
#include <openssl/bio.h>
#include <openssl/bytestring.h>
#include <openssl/curve25519.h>
#include <openssl/digest.h>
#include <openssl/ec.h>
#include <openssl/ec_key.h>
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/hkdf.h>
#include <openssl/mlkem.h>
#include <openssl/nid.h>
#include <openssl/rand.h>
// …

tests/examples/boringssl/tests/boringssl.cpp · project tests/examples/boringssl

Build

targets
boringssl (lib)
language
c++23
C standard
c11
import std
no
include dirs
*/include

Features

featuredeclares
decrepitsources

Sources (285)

  • */crypto/fipsmodule/bcm.cc
  • */crypto/aes/aes.cc
  • */crypto/asn1/a_bitstr.cc
  • */crypto/asn1/a_bool.cc
  • */crypto/asn1/a_d2i_fp.cc
  • */crypto/asn1/a_dup.cc
  • */crypto/asn1/a_gentm.cc
  • */crypto/asn1/a_i2d_fp.cc
  • */crypto/asn1/a_int.cc
  • */crypto/asn1/a_mbstr.cc
  • */crypto/asn1/a_object.cc
  • */crypto/asn1/a_octet.cc
  • */crypto/asn1/a_strex.cc
  • */crypto/asn1/a_strnid.cc
  • */crypto/asn1/a_time.cc
  • */crypto/asn1/a_type.cc
  • */crypto/asn1/a_utctm.cc
  • */crypto/asn1/asn1_lib.cc
  • */crypto/asn1/asn1_par.cc
  • */crypto/asn1/asn_pack.cc
  • */crypto/asn1/f_int.cc
  • */crypto/asn1/f_string.cc
  • */crypto/asn1/posix_time.cc
  • */crypto/asn1/tasn_dec.cc
  • */crypto/asn1/tasn_enc.cc
  • */crypto/asn1/tasn_fre.cc
  • */crypto/asn1/tasn_new.cc
  • */crypto/asn1/tasn_typ.cc
  • */crypto/asn1/tasn_utl.cc
  • */crypto/base64/base64.cc
  • */crypto/bio/bio.cc
  • */crypto/bio/bio_mem.cc
  • */crypto/bio/connect.cc
  • */crypto/bio/errno.cc
  • */crypto/bio/fd.cc
  • */crypto/bio/file.cc
  • */crypto/bio/hexdump.cc
  • */crypto/bio/pair.cc
  • */crypto/bio/printf.cc
  • */crypto/bio/socket.cc
  • */crypto/bio/socket_helper.cc
  • */crypto/blake2/blake2.cc
  • */crypto/bn/bn_asn1.cc
  • */crypto/bn/convert.cc
  • */crypto/bn/div.cc
  • */crypto/bn/exponentiation.cc
  • */crypto/bn/sqrt.cc
  • */crypto/buf/buf.cc
  • */crypto/bytestring/asn1_compat.cc
  • */crypto/bytestring/ber.cc
  • */crypto/bytestring/cbb.cc
  • */crypto/bytestring/cbs.cc
  • */crypto/bytestring/unicode.cc
  • */crypto/chacha/chacha.cc
  • */crypto/cipher/derive_key.cc
  • */crypto/cipher/e_aesctrhmac.cc
  • */crypto/cipher/e_aeseax.cc
  • */crypto/cipher/e_aesgcmsiv.cc
  • */crypto/cipher/e_chacha20poly1305.cc
  • */crypto/cipher/e_des.cc
  • */crypto/cipher/e_null.cc
  • */crypto/cipher/e_rc2.cc
  • */crypto/cipher/e_rc4.cc
  • */crypto/cipher/e_tls.cc
  • */crypto/cipher/get_cipher.cc
  • */crypto/cipher/tls_cbc.cc
  • */crypto/cms/cms.cc
  • */crypto/conf/conf.cc
  • */crypto/cpu_aarch64_apple.cc
  • */crypto/cpu_aarch64_fuchsia.cc
  • */crypto/cpu_aarch64_linux.cc
  • */crypto/cpu_aarch64_openbsd.cc
  • */crypto/cpu_aarch64_sysreg.cc
  • */crypto/cpu_aarch64_win.cc
  • */crypto/cpu_arm_freebsd.cc
  • */crypto/cpu_arm_linux.cc
  • */crypto/cpu_intel.cc
  • */crypto/crypto.cc
  • */crypto/curve25519/cpace.cc
  • */crypto/curve25519/curve25519.cc
  • */crypto/curve25519/curve25519_64_adx.cc
  • */crypto/curve25519/spake25519.cc
  • */crypto/des/des.cc
  • */crypto/dh/dh_asn1.cc
  • */crypto/dh/params.cc
  • */crypto/digest/digest_extra.cc
  • */crypto/dsa/dsa.cc
  • */crypto/dsa/dsa_asn1.cc
  • */crypto/ec/ec_asn1.cc
  • */crypto/ec/ec_derive.cc
  • */crypto/ec/hash_to_curve.cc
  • */crypto/ecdh/ecdh.cc
  • */crypto/ecdsa/ecdsa_asn1.cc
  • */crypto/ecdsa/ecdsa_p1363.cc
  • */crypto/engine/engine.cc
  • */crypto/err/err.cc
  • */crypto/evp/evp.cc
  • */crypto/evp/evp_asn1.cc
  • */crypto/evp/evp_ctx.cc
  • */crypto/evp/evp_kem.cc
  • */crypto/evp/p_dh.cc
  • */crypto/evp/p_dsa.cc
  • */crypto/evp/p_ec.cc
  • */crypto/evp/p_ed25519.cc
  • */crypto/evp/p_hkdf.cc
  • */crypto/evp/p_keccak.cc
  • */crypto/evp/p_mldsa.cc
  • */crypto/evp/p_mlkem.cc
  • */crypto/evp/p_rsa.cc
  • */crypto/evp/p_slhdsa.cc
  • */crypto/evp/p_x25519.cc
  • */crypto/evp/p_xwing.cc
  • */crypto/evp/pbkdf.cc
  • */crypto/evp/print.cc
  • */crypto/evp/scrypt.cc
  • */crypto/evp/sign.cc
  • */crypto/ex_data.cc
  • */crypto/fipsmodule/fips_shared_support.cc
  • */crypto/fuzzer_mode.cc
  • */crypto/hpke/hpke.cc
  • */crypto/hrss/hrss.cc
  • */crypto/lhash/lhash.cc
  • */crypto/md4/md4.cc
  • */crypto/md5/md5.cc
  • */crypto/mem.cc
  • */crypto/mldsa/mldsa.cc
  • */crypto/mlkem/mlkem.cc
  • */crypto/obj/obj.cc
  • */crypto/obj/obj_xref.cc
  • */crypto/pem/pem_all.cc
  • */crypto/pem/pem_info.cc
  • */crypto/pem/pem_lib.cc
  • */crypto/pem/pem_oth.cc
  • */crypto/pem/pem_pk8.cc
  • */crypto/pem/pem_pkey.cc
  • */crypto/pem/pem_x509.cc
  • */crypto/pem/pem_xaux.cc
  • */crypto/pkcs7/pkcs7.cc
  • */crypto/pkcs7/pkcs7_x509.cc
  • */crypto/pkcs8/p5_pbev2.cc
  • */crypto/pkcs8/pkcs8.cc
  • */crypto/pkcs8/pkcs8_x509.cc
  • */crypto/poly1305/poly1305.cc
  • */crypto/poly1305/poly1305_arm.cc
  • */crypto/poly1305/poly1305_vec.cc
  • */crypto/pool/pool.cc
  • */crypto/rand/deterministic.cc
  • */crypto/rand/fork_detect.cc
  • */crypto/rand/forkunsafe.cc
  • */crypto/rand/getentropy.cc
  • */crypto/rand/ios.cc
  • */crypto/rand/rand.cc
  • */crypto/rand/trusty.cc
  • */crypto/rand/urandom.cc
  • */crypto/rand/windows.cc
  • */crypto/rc4/rc4.cc
  • */crypto/refcount.cc
  • */crypto/rsa/rsa_asn1.cc
  • */crypto/rsa/rsa_crypt.cc
  • */crypto/rsa/rsa_extra.cc
  • */crypto/rsa/rsa_print.cc
  • */crypto/sha/sha1.cc
  • */crypto/sha/sha256.cc
  • */crypto/sha/sha512.cc
  • */crypto/siphash/siphash.cc
  • */crypto/slhdsa/slhdsa.cc
  • */crypto/spake2plus/spake2plus.cc
  • */crypto/stack/stack.cc
  • */crypto/thread.cc
  • */crypto/thread_none.cc
  • */crypto/thread_pthread.cc
  • */crypto/thread_win.cc
  • */crypto/trust_token/pmbtoken.cc
  • */crypto/trust_token/trust_token.cc
  • */crypto/trust_token/voprf.cc
  • */crypto/x509/a_digest.cc
  • */crypto/x509/a_sign.cc
  • */crypto/x509/a_verify.cc
  • */crypto/x509/algorithm.cc
  • */crypto/x509/asn1_gen.cc
  • */crypto/x509/by_dir.cc
  • */crypto/x509/by_file.cc
  • */crypto/x509/i2d_pr.cc
  • */crypto/x509/name_print.cc
  • */crypto/x509/policy.cc
  • */crypto/x509/rsa_pss.cc
  • */crypto/x509/t_crl.cc
  • */crypto/x509/t_req.cc
  • */crypto/x509/t_x509.cc
  • */crypto/x509/t_x509a.cc
  • */crypto/x509/v3_akey.cc
  • */crypto/x509/v3_akeya.cc
  • */crypto/x509/v3_alt.cc
  • */crypto/x509/v3_bcons.cc
  • */crypto/x509/v3_bitst.cc
  • */crypto/x509/v3_conf.cc
  • */crypto/x509/v3_cpols.cc
  • */crypto/x509/v3_crld.cc
  • */crypto/x509/v3_enum.cc
  • */crypto/x509/v3_extku.cc
  • */crypto/x509/v3_genn.cc
  • */crypto/x509/v3_ia5.cc
  • */crypto/x509/v3_info.cc
  • */crypto/x509/v3_int.cc
  • */crypto/x509/v3_lib.cc
  • */crypto/x509/v3_ncons.cc
  • */crypto/x509/v3_ocsp.cc
  • */crypto/x509/v3_pcons.cc
  • */crypto/x509/v3_pmaps.cc
  • */crypto/x509/v3_prn.cc
  • */crypto/x509/v3_purp.cc
  • */crypto/x509/v3_skey.cc
  • */crypto/x509/v3_utl.cc
  • */crypto/x509/x509.cc
  • */crypto/x509/x509_att.cc
  • */crypto/x509/x509_cmp.cc
  • */crypto/x509/x509_d2.cc
  • */crypto/x509/x509_def.cc
  • */crypto/x509/x509_ext.cc
  • */crypto/x509/x509_lu.cc
  • */crypto/x509/x509_mtc.cc
  • */crypto/x509/x509_obj.cc
  • */crypto/x509/x509_req.cc
  • */crypto/x509/x509_set.cc
  • */crypto/x509/x509_trs.cc
  • */crypto/x509/x509_txt.cc
  • */crypto/x509/x509_v3.cc
  • */crypto/x509/x509_vfy.cc
  • */crypto/x509/x509_vpm.cc
  • */crypto/x509/x509cset.cc
  • */crypto/x509/x509name.cc
  • */crypto/x509/x509rset.cc
  • */crypto/x509/x509spki.cc
  • */crypto/x509/x_algor.cc
  • */crypto/x509/x_all.cc
  • */crypto/x509/x_attrib.cc
  • */crypto/x509/x_crl.cc
  • */crypto/x509/x_exten.cc
  • */crypto/x509/x_name.cc
  • */crypto/x509/x_pubkey.cc
  • */crypto/x509/x_req.cc
  • */crypto/x509/x_sig.cc
  • */crypto/x509/x_spki.cc
  • */crypto/x509/x_x509.cc
  • */crypto/x509/x_x509a.cc
  • */crypto/xwing/xwing.cc
  • */gen/crypto/err_data.cc
  • */ssl/bio_ssl.cc
  • */ssl/d1_both.cc
  • */ssl/d1_lib.cc
  • */ssl/d1_pkt.cc
  • */ssl/d1_srtp.cc
  • */ssl/dtls_method.cc
  • */ssl/dtls_record.cc
  • */ssl/encrypted_client_hello.cc
  • */ssl/extensions.cc
  • */ssl/handoff.cc
  • */ssl/handshake.cc
  • */ssl/handshake_client.cc
  • */ssl/handshake_server.cc
  • */ssl/s3_both.cc
  • */ssl/s3_lib.cc
  • */ssl/s3_pkt.cc
  • */ssl/ssl_aead_ctx.cc
  • */ssl/ssl_asn1.cc
  • */ssl/ssl_buffer.cc
  • */ssl/ssl_cert.cc
  • */ssl/ssl_cipher.cc
  • */ssl/ssl_credential.cc
  • */ssl/ssl_file.cc
  • */ssl/ssl_key_share.cc
  • */ssl/ssl_lib.cc
  • */ssl/ssl_privkey.cc
  • */ssl/ssl_session.cc
  • */ssl/ssl_stat.cc
  • */ssl/ssl_transcript.cc
  • */ssl/ssl_versions.cc
  • */ssl/ssl_x509.cc
  • */ssl/t1_enc.cc
  • */ssl/tls13_both.cc
  • */ssl/tls13_client.cc
  • */ssl/tls13_enc.cc
  • */ssl/tls13_server.cc
  • */ssl/tls_method.cc
  • */ssl/tls_record.cc

Versions

VersionPlatforms Mirrorssha256
0.20261105.0 latest LinuxWindowsmacOS source 2df2b287f340…