aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
Commit message (Collapse)AuthorAgeFilesLines
* Make eax_test example (which reads LTC's EAX test file) an actuallloyd2013-12-313-881/+0
| | | | | test. Update to new AEAD api. Currently requires boost_regex (for tests only), done via hardcoding in makefile template.
* Add MSG_NOSIGNAL as 0 on platforms that don't have it.lloyd2013-12-312-0/+8
| | | | Patch from Uri Blumenthal <[email protected]> sent to the list.
* Compile fixlloyd2013-12-311-3/+9
|
* Add CPUID::printlloyd2013-12-311-33/+1
|
* Make Boost easier to disable with minimal feature losslloyd2013-12-281-1/+1
|
* Add CPUID check for AVX-512lloyd2013-12-251-1/+2
|
* Fix TLS-SRP examplelloyd2013-12-211-1/+1
|
* Add cpuid support for new x86 feature flags like AVX2 and RDSEEDlloyd2013-12-141-2/+5
|
* Turn off asking for client cert in TLS server examplelloyd2013-12-051-2/+10
|
* Have OCSP responses return an enum allowing a range of conditions to be ↵lloyd2013-11-291-14/+9
| | | | | | | | | | expressed (good status, cert revoked, some other error, etc). Add a certificate store backed by files (requiring boost filesystem). Change Certificate_Store interface somewhat to support retrieval without copying.
* Add OCSP example. Fix minor compile issues.lloyd2013-11-285-4/+28
|
* Split TLS callbacks into a data callback and an alert callback.lloyd2013-11-053-40/+54
| | | | | In practice applications treated these two cases completely differently, so there was no reason to combine them into a single callback.
* Always include modules requiring ISA extensions as long as thelloyd2013-04-171-1/+0
| | | | | | | | | | | compiler and target platform might support it. For instance the AES SSSE3 code is now always in any x86 build, with just that specific file being compiled with -mssse3. Since we'll only call that code if cpuid confirms it works at runtime, we don't have portability issues, and it can be safely included in generic builds (eg for distributions). Tweak how machine specific compiler flags are generated to be a bit easier to maintain.
* In examples makefile, trust that g++ is C++11 capablelloyd2013-03-201-1/+1
|
* Remove the Turing and WiderWAKE4+1 stream cipher implementations.lloyd2013-03-191-1/+1
| | | | Both never saw much deployment or analysis.
* Example compile fixeslloyd2012-12-083-3/+4
|
* Update for new cred APIlloyd2012-11-131-11/+6
|
* Offer DTLS if connecting over UDPlloyd2012-11-071-0/+6
|
* Add TLS::Server_Information to encapsulate the hostname/port pair.lloyd2012-10-131-2/+1
| | | | | | | Add a service identifier as well, to help out clients which may want to negotiate multiple protocols over a single port and need to keep the sessions disambiguated. Not sure if that is useful, but it might be.
* secure_renegotiation isn't a session value anymorelloyd2012-09-142-8/+0
|
* This buffer size does not need to match TLSlloyd2012-09-111-1/+1
|
* Remove debug outputlloyd2012-09-091-1/+1
|
* Support both TLS and DTLS in the tls_server example.lloyd2012-09-092-410/+159
| | | | Drop the fairly bogus socket wrapper layer.
* Support DTLS in tls_client. Support client-initiated close_notify (via 'Q')lloyd2012-09-091-98/+103
|
* Turn on NPNlloyd2012-08-061-1/+2
|
* OpenSSL gets cranky if we send application data mid handshakelloyd2012-07-281-3/+2
|
* Add an optional parameter to TLS::Client specifying the port number.lloyd2012-07-121-8/+9
| | | | | | Pass this down into the session managers. Also document how to use session tickets with TLS servers.
* Fix leak in read_ssh example, reported by Martin Olsson to the mailing listlloyd2012-07-091-2/+3
|
* Rename all text files that are actually reStructuredText to .rstlloyd2012-07-012-4/+2
|
* Use new header for sqlite session managerlloyd2012-06-291-2/+2
|
* Return existing certs fast if there is a matchlloyd2012-06-201-0/+15
|
* Allow configurable # of threads, useful for scale testinglloyd2012-06-201-2/+4
|
* Reformat output on the TLS client on handshake completion.lloyd2012-06-134-23/+49
| | | | In ASN.1 print values as URL % escaped instead of all hex.
* Various examples fixes, most notable updating cert_verify to the new APIlloyd2012-05-315-16/+26
|
* Fix examples buildinglloyd2012-05-301-2/+2
|
* Remove the PRIVATE ASN.1 tag. Not being used outside of the prettylloyd2012-05-271-13/+24
| | | | | | | | | | | | | | printer example, and really is just CONSTRUCTED | CONTEXT_SPECIFIC. Extend the ASN.1 printer to recurse into OCTET STRINGS that contain DER, and to print enumeration values. BOTAN_DLL export some OID operators (+, !=, <) Add an OID entry for 1.3.6.1.5.5.7.48.1.1 OCSP basic response. Correct the Certificate_Policies code, it was dumping policy OIDs into the extended key usage!
* Fairly huge update that replaces the old secmem types with std::vectorlloyd2012-05-1821-73/+64
| | | | | | using a custom allocator. Currently our allocator just does new/delete with a memset before deletion, and the mmap and mlock allocators have been removed.
* Huge pile of post merge fixups, mtn really fucked that mergelloyd2012-04-255-53/+13
|
* propagate from branch 'net.randombit.botan.tls-state-machine' (head ↵lloyd2012-04-254-29/+204
|\ | | | | | | | | | | a4741cd07f50a9e1b29b0dd97c6fb8697c038ade) to branch 'net.randombit.botan.cxx11' (head 116e5ff139c07000be431e07d3472cc8f3919b91)
| * Various hacks for testing client auth, SRP, etclloyd2012-04-203-10/+37
| |
| * Finish up server side SRP support, a little ugly but it works.lloyd2012-04-063-16/+129
| | | | | | | | | | | | Add SRP hooks in the examples Fix next protocol support in the tls_server example.
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2012-04-053-4/+4
| |\ | | | | | | | | | | | | | | | 91305e3daaae9ea8a1786daf058d961991c68251) to branch 'net.randombit.botan.tls-state-machine' (head 474a00b316f5b21a4e56033d4d990d87d9d3eed6)
* | | propagate from branch 'net.randombit.botan.tls-state-machine' (head ↵lloyd2012-03-304-16/+41
|\| | | | | | | | | | | | | | | | | 63b88a65b699c95ef839bc18336bceccfbfabd2e) to branch 'net.randombit.botan.cxx11' (head 1adcc46808b403b8f6bf1669f022e65f9c30e8ea)
| * | Use the SQLite session manager if availablelloyd2012-03-231-0/+11
| | |
| * | Call Credentials_Manager::psk for the session ticket key.lloyd2012-03-221-3/+13
| | |
| * | Add makefile dependency on credentials.h. Use 1024 bit keys forlloyd2012-02-273-11/+19
| | | | | | | | | | | | RSA/DSA. Add function for choosing thread count.
* | | Enable TLS again (bad merge)lloyd2012-02-204-43/+7
| | | | | | | | | | | | | | | | | | | | | Fixes for examples. Remove locking from session manager in the asio example, now done by default in the lib.
* | | Merge fixupslloyd2012-02-201-8/+4
| | |
* | | propagate from branch 'net.randombit.botan' (head ↵lloyd2012-02-203-3/+3
|\ \ \ | | |/ | |/| | | | | | | | | | c247a55e7c0bcd239fcfc672139b59ef63d7ee84) to branch 'net.randombit.botan.cxx11' (head 16d7756c6b8933d0d543ebdda9c7e8f4908a4a33)
| * | The benchmark examples ran very slowly because they were passinglloyd2012-02-203-4/+4
| | | | | | | | | | | | | | | | | | | | | 16*1024 to an argument that treated those values as KiB, it took the RNG ~3 seconds to create 16 MiB of data to randomize the input. Change to 16. Also cap the value that can be passed to --buf-size to 1024, for a 1 MiB buffer.