aboutsummaryrefslogtreecommitdiff
path: root/src/BTLS
Commit message (Collapse)AuthorAge
* Factor out common allocate-modify-read patternGravatar Benjamin Barenblat2018-08-23
| | | | | | | Many functions in BoringSSL accept a buffer and a pointer to size, write data into the buffer, and mutate the size. Create a function representing this pattern that also loads the result into a ByteString for convenience.
* Eliminate Data.Digest.InternalGravatar Benjamin Barenblat2018-08-02
| | | | | | Move Data.Digest.Internal’s functions and types into more appropriate modules. There’s now a single BTLS hierarchy that contains all internal modules for the project.
* Move BTLS.ConstantTimeEquals into the BTLS.BoringSSL hierarchyGravatar Benjamin Barenblat2018-08-02
| | | | | It’s a direct wrapper around a BoringSSL function, so it really belongs there.
* Factor out common char* ↔ unsigned char* castGravatar Benjamin Barenblat2018-08-02
|
* Begin cleaning up internal modulesGravatar Benjamin Barenblat2018-08-02
Clarify the division between internal and external modules in the source by consolidating all internal modules except Data.Digest.Internal into a flatter BTLS directory.