Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Stop using newtypes for labeled arguments | Benjamin Barenblat | 2018-09-28 |
| | | | | It’s getting messy, so switch to a parameters datatype pattern. | ||
* | Enable error checking for HKDF computations | Benjamin Barenblat | 2018-09-04 |
| | |||
* | Documentation improvements | Benjamin Barenblat | 2018-09-04 |
| | |||
* | Consolidate buffer-handling functions | Benjamin Barenblat | 2018-09-04 |
| | |||
* | Remove some unnecessary `fromIntegral`s | Benjamin Barenblat | 2018-08-31 |
| | |||
* | Marshal `ByteString` input arguments to `fun`s | Benjamin Barenblat | 2018-08-31 |
| | |||
* | 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. | ||
* | Codec.Crypto.HKDF: Implement `hkdf` convenience function | 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. | ||
* | 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. | ||
* | Codec.Crypto.HKDF: Implement `expand` | Benjamin Barenblat | 2018-08-02 |
| | |||
* | Codec.Crypto.HKDF: Add test 7 from RFC 5869 | Benjamin Barenblat | 2018-08-02 |
| | |||
* | Begin implementing HKDF | Benjamin Barenblat | 2018-07-31 |
Implement the `extract` phase of HKDF. |