Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Start using base16-bytestring in btls | Benjamin Barenblat | 2018-09-21 |
| | | | | | We’re already using it in tests, so eliminate some hand-rolled hexification code. | ||
* | Marshal `ForeignPtr` to `Ptr` within c2hs code | Benjamin Barenblat | 2018-09-04 |
| | |||
* | Enable error checking for HKDF computations | Benjamin Barenblat | 2018-09-04 |
| | |||
* | Remove `Eq Error` instance | Benjamin Barenblat | 2018-09-04 |
| | | | | | It’s not clear what equality between errors should mean, so don’t support it. | ||
* | Documentation improvements | Benjamin Barenblat | 2018-09-04 |
| | |||
* | Consolidate buffer-handling functions | Benjamin Barenblat | 2018-09-04 |
| | |||
* | Enable error checking for HMAC computations | Benjamin Barenblat | 2018-09-04 |
| | |||
* | Begin wrapping BoringSSL’s error type | Benjamin Barenblat | 2018-08-31 |
| | |||
* | Remove some unnecessary `fromIntegral`s | Benjamin Barenblat | 2018-08-31 |
| | |||
* | Replace `unsafeCoerce' with `castPtr' | Benjamin Barenblat | 2018-08-31 |
| | |||
* | Marshal `ByteString` input arguments to `fun`s | Benjamin Barenblat | 2018-08-31 |
| | |||
* | Begin switching to `fun` in c2hs | Benjamin Barenblat | 2018-08-31 |
| | | | | | Replace most invocations of `call` with `fun`. There’s a lot of explicit `id`-marshalling going on; future commits will remove it. | ||
* | Clean up casts | Benjamin Barenblat | 2018-08-23 |
| | | | | | | | Use unsigned char buffers more pervasively throughout the code. This removes most calls to `asCUCharBuf`, isolating `unsafeCoerce` further. By making some type signatures slightly more flexible, also eliminate most explicit integer conversions. | ||
* | Wrap random number generator | Benjamin Barenblat | 2018-08-23 |
| | |||
* | Factor out common allocate-modify-read pattern | Benjamin Barenblat | 2018-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.Internal | Benjamin Barenblat | 2018-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 hierarchy | Benjamin Barenblat | 2018-08-02 |
| | | | | | It’s a direct wrapper around a BoringSSL function, so it really belongs there. | ||
* | Factor out common char* ↔ unsigned char* cast | Benjamin Barenblat | 2018-08-02 |
| | |||
* | Begin cleaning up internal modules | Benjamin Barenblat | 2018-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. |