Initial import.
authorThomas Pornin <pornin@bolet.org>
Wed, 2 Nov 2016 23:01:13 +0000 (19:01 -0400)
committerThomas Pornin <pornin@bolet.org>
Wed, 2 Nov 2016 23:01:13 +0000 (19:01 -0400)
commit3210f38e0491b39aec1ef419cb4114e9483089fb
tree94564d501ef93cbca9e3f3d9dc12e85341c100ad
Initial import.
292 files changed:
LICENSE.txt [new file with mode: 0644]
Makefile [new file with mode: 0644]
README.txt [new file with mode: 0644]
T0/BlobWriter.cs [new file with mode: 0644]
T0/CPU.cs [new file with mode: 0644]
T0/CodeElement.cs [new file with mode: 0644]
T0/CodeElementJump.cs [new file with mode: 0644]
T0/CodeElementUInt.cs [new file with mode: 0644]
T0/CodeElementUIntExpr.cs [new file with mode: 0644]
T0/CodeElementUIntInt.cs [new file with mode: 0644]
T0/CodeElementUIntUInt.cs [new file with mode: 0644]
T0/ConstData.cs [new file with mode: 0644]
T0/Opcode.cs [new file with mode: 0644]
T0/OpcodeCall.cs [new file with mode: 0644]
T0/OpcodeConst.cs [new file with mode: 0644]
T0/OpcodeGetLocal.cs [new file with mode: 0644]
T0/OpcodeJump.cs [new file with mode: 0644]
T0/OpcodeJumpIf.cs [new file with mode: 0644]
T0/OpcodeJumpIfNot.cs [new file with mode: 0644]
T0/OpcodeJumpUncond.cs [new file with mode: 0644]
T0/OpcodePutLocal.cs [new file with mode: 0644]
T0/OpcodeRet.cs [new file with mode: 0644]
T0/SType.cs [new file with mode: 0644]
T0/T0Comp.cs [new file with mode: 0644]
T0/TPointerBase.cs [new file with mode: 0644]
T0/TPointerBlob.cs [new file with mode: 0644]
T0/TPointerExpr.cs [new file with mode: 0644]
T0/TPointerNull.cs [new file with mode: 0644]
T0/TPointerXT.cs [new file with mode: 0644]
T0/TValue.cs [new file with mode: 0644]
T0/Word.cs [new file with mode: 0644]
T0/WordBuilder.cs [new file with mode: 0644]
T0/WordData.cs [new file with mode: 0644]
T0/WordInterpreted.cs [new file with mode: 0644]
T0/WordNative.cs [new file with mode: 0644]
T0/kern.t0 [new file with mode: 0644]
T0Comp.exe [new file with mode: 0755]
build/.do_not_remove [new file with mode: 0644]
inc/bearssl.h [new file with mode: 0644]
inc/bearssl_block.h [new file with mode: 0644]
inc/bearssl_ec.h [new file with mode: 0644]
inc/bearssl_hash.h [new file with mode: 0644]
inc/bearssl_hmac.h [new file with mode: 0644]
inc/bearssl_pem.h [new file with mode: 0644]
inc/bearssl_prf.h [new file with mode: 0644]
inc/bearssl_rand.h [new file with mode: 0644]
inc/bearssl_rsa.h [new file with mode: 0644]
inc/bearssl_ssl.h [new file with mode: 0644]
inc/bearssl_x509.h [new file with mode: 0644]
mkT0.sh [new file with mode: 0755]
samples/README.txt [new file with mode: 0644]
samples/cert-ee-ec+rsa.pem [new file with mode: 0644]
samples/cert-ee-ec.pem [new file with mode: 0644]
samples/cert-ee-rsa.pem [new file with mode: 0644]
samples/cert-ica-ec.pem [new file with mode: 0644]
samples/cert-ica-rsa.pem [new file with mode: 0644]
samples/cert-root-ec.pem [new file with mode: 0644]
samples/cert-root-rsa.pem [new file with mode: 0644]
samples/chain-ec+rsa.h [new file with mode: 0644]
samples/chain-ec.h [new file with mode: 0644]
samples/chain-rsa.h [new file with mode: 0644]
samples/client_basic.c [new file with mode: 0644]
samples/custom_profile.c [new file with mode: 0644]
samples/key-ec.h [new file with mode: 0644]
samples/key-ee-ec.pem [new file with mode: 0644]
samples/key-ee-rsa.pem [new file with mode: 0644]
samples/key-ica-ec.pem [new file with mode: 0644]
samples/key-ica-rsa.pem [new file with mode: 0644]
samples/key-root-ec.pem [new file with mode: 0644]
samples/key-root-rsa.pem [new file with mode: 0644]
samples/key-rsa.h [new file with mode: 0644]
samples/server_basic.c [new file with mode: 0644]
src/codec/ccopy.c [new file with mode: 0644]
src/codec/dec16be.c [new file with mode: 0644]
src/codec/dec16le.c [new file with mode: 0644]
src/codec/dec32be.c [new file with mode: 0644]
src/codec/dec32le.c [new file with mode: 0644]
src/codec/dec64be.c [new file with mode: 0644]
src/codec/dec64le.c [new file with mode: 0644]
src/codec/enc16be.c [new file with mode: 0644]
src/codec/enc16le.c [new file with mode: 0644]
src/codec/enc32be.c [new file with mode: 0644]
src/codec/enc32le.c [new file with mode: 0644]
src/codec/enc64be.c [new file with mode: 0644]
src/codec/enc64le.c [new file with mode: 0644]
src/codec/pemdec.c [new file with mode: 0644]
src/codec/pemdec.t0 [new file with mode: 0644]
src/config.h [new file with mode: 0644]
src/ec/ec_prime_i31.c [new file with mode: 0644]
src/ec/ec_prime_i31_secp256r1.c [new file with mode: 0644]
src/ec/ec_prime_i31_secp384r1.c [new file with mode: 0644]
src/ec/ec_prime_i31_secp521r1.c [new file with mode: 0644]
src/ec/ec_secp256r1.c [new file with mode: 0644]
src/ec/ec_secp384r1.c [new file with mode: 0644]
src/ec/ec_secp521r1.c [new file with mode: 0644]
src/ec/ecdsa_atr.c [new file with mode: 0644]
src/ec/ecdsa_i31_bits.c [new file with mode: 0644]
src/ec/ecdsa_i31_sign_asn1.c [new file with mode: 0644]
src/ec/ecdsa_i31_sign_raw.c [new file with mode: 0644]
src/ec/ecdsa_i31_vrfy_asn1.c [new file with mode: 0644]
src/ec/ecdsa_i31_vrfy_raw.c [new file with mode: 0644]
src/ec/ecdsa_rta.c [new file with mode: 0644]
src/hash/dig_oid.c [new file with mode: 0644]
src/hash/dig_size.c [new file with mode: 0644]
src/hash/ghash_ctmul.c [new file with mode: 0644]
src/hash/ghash_ctmul32.c [new file with mode: 0644]
src/hash/ghash_ctmul64.c [new file with mode: 0644]
src/hash/md5.c [new file with mode: 0644]
src/hash/md5sha1.c [new file with mode: 0644]
src/hash/multihash.c [new file with mode: 0644]
src/hash/sha1.c [new file with mode: 0644]
src/hash/sha2big.c [new file with mode: 0644]
src/hash/sha2small.c [new file with mode: 0644]
src/inner.h [new file with mode: 0644]
src/int/i31_add.c [new file with mode: 0644]
src/int/i31_bitlen.c [new file with mode: 0644]
src/int/i31_decmod.c [new file with mode: 0644]
src/int/i31_decode.c [new file with mode: 0644]
src/int/i31_decred.c [new file with mode: 0644]
src/int/i31_encode.c [new file with mode: 0644]
src/int/i31_fmont.c [new file with mode: 0644]
src/int/i31_iszero.c [new file with mode: 0644]
src/int/i31_modpow.c [new file with mode: 0644]
src/int/i31_montmul.c [new file with mode: 0644]
src/int/i31_mulacc.c [new file with mode: 0644]
src/int/i31_muladd.c [new file with mode: 0644]
src/int/i31_ninv31.c [new file with mode: 0644]
src/int/i31_reduce.c [new file with mode: 0644]
src/int/i31_rshift.c [new file with mode: 0644]
src/int/i31_sub.c [new file with mode: 0644]
src/int/i31_tmont.c [new file with mode: 0644]
src/int/i32_add.c [new file with mode: 0644]
src/int/i32_bitlen.c [new file with mode: 0644]
src/int/i32_decmod.c [new file with mode: 0644]
src/int/i32_decode.c [new file with mode: 0644]
src/int/i32_decred.c [new file with mode: 0644]
src/int/i32_div32.c [new file with mode: 0644]
src/int/i32_encode.c [new file with mode: 0644]
src/int/i32_fmont.c [new file with mode: 0644]
src/int/i32_iszero.c [new file with mode: 0644]
src/int/i32_modpow.c [new file with mode: 0644]
src/int/i32_montmul.c [new file with mode: 0644]
src/int/i32_mulacc.c [new file with mode: 0644]
src/int/i32_muladd.c [new file with mode: 0644]
src/int/i32_ninv32.c [new file with mode: 0644]
src/int/i32_reduce.c [new file with mode: 0644]
src/int/i32_sub.c [new file with mode: 0644]
src/int/i32_tmont.c [new file with mode: 0644]
src/mac/hmac.c [new file with mode: 0644]
src/mac/hmac_ct.c [new file with mode: 0644]
src/rand/hmac_drbg.c [new file with mode: 0644]
src/rsa/rsa_i31_pkcs1_sign.c [new file with mode: 0644]
src/rsa/rsa_i31_pkcs1_vrfy.c [new file with mode: 0644]
src/rsa/rsa_i31_priv.c [new file with mode: 0644]
src/rsa/rsa_i31_pub.c [new file with mode: 0644]
src/rsa/rsa_i32_pkcs1_sign.c [new file with mode: 0644]
src/rsa/rsa_i32_pkcs1_vrfy.c [new file with mode: 0644]
src/rsa/rsa_i32_priv.c [new file with mode: 0644]
src/rsa/rsa_i32_pub.c [new file with mode: 0644]
src/rsa/rsa_ssl_decrypt.c [new file with mode: 0644]
src/ssl/prf.c [new file with mode: 0644]
src/ssl/prf_md5sha1.c [new file with mode: 0644]
src/ssl/prf_sha256.c [new file with mode: 0644]
src/ssl/prf_sha384.c [new file with mode: 0644]
src/ssl/ssl_client.c [new file with mode: 0644]
src/ssl/ssl_client_full.c [new file with mode: 0644]
src/ssl/ssl_engine.c [new file with mode: 0644]
src/ssl/ssl_hashes.c [new file with mode: 0644]
src/ssl/ssl_hs_client.c [new file with mode: 0644]
src/ssl/ssl_hs_client.t0 [new file with mode: 0644]
src/ssl/ssl_hs_common.t0 [new file with mode: 0644]
src/ssl/ssl_hs_server.c [new file with mode: 0644]
src/ssl/ssl_hs_server.t0 [new file with mode: 0644]
src/ssl/ssl_io.c [new file with mode: 0644]
src/ssl/ssl_lru.c [new file with mode: 0644]
src/ssl/ssl_rec_cbc.c [new file with mode: 0644]
src/ssl/ssl_rec_gcm.c [new file with mode: 0644]
src/ssl/ssl_server.c [new file with mode: 0644]
src/ssl/ssl_server_full_ec.c [new file with mode: 0644]
src/ssl/ssl_server_full_rsa.c [new file with mode: 0644]
src/ssl/ssl_server_mine2g.c [new file with mode: 0644]
src/ssl/ssl_server_minf2g.c [new file with mode: 0644]
src/ssl/ssl_server_minr2g.c [new file with mode: 0644]
src/ssl/ssl_server_minu2g.c [new file with mode: 0644]
src/ssl/ssl_server_minv2g.c [new file with mode: 0644]
src/ssl/ssl_single_ec.c [new file with mode: 0644]
src/ssl/ssl_single_rsa.c [new file with mode: 0644]
src/symcipher/aes_big_cbcdec.c [new file with mode: 0644]
src/symcipher/aes_big_cbcenc.c [new file with mode: 0644]
src/symcipher/aes_big_ctr.c [new file with mode: 0644]
src/symcipher/aes_big_dec.c [new file with mode: 0644]
src/symcipher/aes_big_enc.c [new file with mode: 0644]
src/symcipher/aes_common.c [new file with mode: 0644]
src/symcipher/aes_ct.c [new file with mode: 0644]
src/symcipher/aes_ct64.c [new file with mode: 0644]
src/symcipher/aes_ct64_cbcdec.c [new file with mode: 0644]
src/symcipher/aes_ct64_cbcenc.c [new file with mode: 0644]
src/symcipher/aes_ct64_ctr.c [new file with mode: 0644]
src/symcipher/aes_ct64_dec.c [new file with mode: 0644]
src/symcipher/aes_ct64_enc.c [new file with mode: 0644]
src/symcipher/aes_ct_cbcdec.c [new file with mode: 0644]
src/symcipher/aes_ct_cbcenc.c [new file with mode: 0644]
src/symcipher/aes_ct_ctr.c [new file with mode: 0644]
src/symcipher/aes_ct_dec.c [new file with mode: 0644]
src/symcipher/aes_ct_enc.c [new file with mode: 0644]
src/symcipher/aes_small_cbcdec.c [new file with mode: 0644]
src/symcipher/aes_small_cbcenc.c [new file with mode: 0644]
src/symcipher/aes_small_ctr.c [new file with mode: 0644]
src/symcipher/aes_small_dec.c [new file with mode: 0644]
src/symcipher/aes_small_enc.c [new file with mode: 0644]
src/symcipher/des_ct.c [new file with mode: 0644]
src/symcipher/des_ct_cbcdec.c [new file with mode: 0644]
src/symcipher/des_ct_cbcenc.c [new file with mode: 0644]
src/symcipher/des_support.c [new file with mode: 0644]
src/symcipher/des_tab.c [new file with mode: 0644]
src/symcipher/des_tab_cbcdec.c [new file with mode: 0644]
src/symcipher/des_tab_cbcenc.c [new file with mode: 0644]
src/x509/asn1.t0 [new file with mode: 0644]
src/x509/skey_decoder.c [new file with mode: 0644]
src/x509/skey_decoder.t0 [new file with mode: 0644]
src/x509/x509_decoder.c [new file with mode: 0644]
src/x509/x509_decoder.t0 [new file with mode: 0644]
src/x509/x509_knownkey.c [new file with mode: 0644]
src/x509/x509_minimal.c [new file with mode: 0644]
src/x509/x509_minimal.t0 [new file with mode: 0644]
test/test_crypto.c [new file with mode: 0644]
test/test_math.c [new file with mode: 0644]
test/test_speed.c [new file with mode: 0644]
test/test_x509.c [new file with mode: 0644]
test/x509/alltests.txt [new file with mode: 0644]
test/x509/dn-ee.der [new file with mode: 0644]
test/x509/dn-ica1.der [new file with mode: 0644]
test/x509/dn-ica2.der [new file with mode: 0644]
test/x509/dn-root.der [new file with mode: 0644]
test/x509/ee-badsig1.crt [new file with mode: 0644]
test/x509/ee-badsig2.crt [new file with mode: 0644]
test/x509/ee-dates.crt [new file with mode: 0644]
test/x509/ee-md5.crt [new file with mode: 0644]
test/x509/ee-names.crt [new file with mode: 0644]
test/x509/ee-names2.crt [new file with mode: 0644]
test/x509/ee-names3.crt [new file with mode: 0644]
test/x509/ee-names4.crt [new file with mode: 0644]
test/x509/ee-p256-sha1.crt [new file with mode: 0644]
test/x509/ee-p256-sha224.crt [new file with mode: 0644]
test/x509/ee-p256-sha256.crt [new file with mode: 0644]
test/x509/ee-p256-sha384.crt [new file with mode: 0644]
test/x509/ee-p256-sha512.crt [new file with mode: 0644]
test/x509/ee-p256.crt [new file with mode: 0644]
test/x509/ee-p384.crt [new file with mode: 0644]
test/x509/ee-p521.crt [new file with mode: 0644]
test/x509/ee-sha1.crt [new file with mode: 0644]
test/x509/ee-sha224.crt [new file with mode: 0644]
test/x509/ee-sha384.crt [new file with mode: 0644]
test/x509/ee-sha512.crt [new file with mode: 0644]
test/x509/ee-trailing.crt [new file with mode: 0644]
test/x509/ee.crt [new file with mode: 0644]
test/x509/ica1-1016.crt [new file with mode: 0644]
test/x509/ica1-1017.crt [new file with mode: 0644]
test/x509/ica1-4096.crt [new file with mode: 0644]
test/x509/ica1-p256.crt [new file with mode: 0644]
test/x509/ica1-p384.crt [new file with mode: 0644]
test/x509/ica1-p521.crt [new file with mode: 0644]
test/x509/ica1.crt [new file with mode: 0644]
test/x509/ica2-1016.crt [new file with mode: 0644]
test/x509/ica2-1017.crt [new file with mode: 0644]
test/x509/ica2-4096.crt [new file with mode: 0644]
test/x509/ica2-notCA.crt [new file with mode: 0644]
test/x509/ica2-p256.crt [new file with mode: 0644]
test/x509/ica2-p384.crt [new file with mode: 0644]
test/x509/ica2-p521.crt [new file with mode: 0644]
test/x509/ica2.crt [new file with mode: 0644]
test/x509/junk.crt [new file with mode: 0644]
test/x509/root-p256.crt [new file with mode: 0644]
test/x509/root-p384.crt [new file with mode: 0644]
test/x509/root-p521.crt [new file with mode: 0644]
test/x509/root.crt [new file with mode: 0644]
tools/brssl.c [new file with mode: 0644]
tools/brssl.h [new file with mode: 0644]
tools/certs.c [new file with mode: 0644]
tools/chain.c [new file with mode: 0644]
tools/client.c [new file with mode: 0644]
tools/errors.c [new file with mode: 0644]
tools/files.c [new file with mode: 0644]
tools/keys.c [new file with mode: 0644]
tools/names.c [new file with mode: 0644]
tools/server.c [new file with mode: 0644]
tools/skey.c [new file with mode: 0644]
tools/sslio.c [new file with mode: 0644]
tools/ta.c [new file with mode: 0644]
tools/vector.c [new file with mode: 0644]
tools/verify.c [new file with mode: 0644]
tools/xmem.c [new file with mode: 0644]