Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use standard unsigned integer types | Andreas Steffen | 2016-03-24 | 4 | -55/+55 |
| | |||||
* | Ensure buffer in bio_writer_t is properly increased | Tobias Brunner | 2013-06-11 | 1 | -49/+29 |
| | | | | | | | The previous code was problematic if bufsize/increase was smaller than 8 and an u_int64_t was written when the buffer was too small. Also, for large chunks and small bufsizes realloc() was called several times instead of just once. | ||||
* | Add a bio_reader_t constructor variant freeing passed data during destruction | Martin Willi | 2013-01-15 | 2 | -1/+32 |
| | |||||
* | Don't use bio_writer_t.skip() to write length field when appending more data | Martin Willi | 2013-01-11 | 1 | -2/+5 |
| | | | | | If the writer reallocates its buffer, the length pointer might not be valid anymore, or even worse, point to an arbitrary allocation. | ||||
* | Moved debug.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Added a method to bio_writer_t that allows to skip a number of bytes | Tobias Brunner | 2012-08-08 | 2 | -0/+24 |
| | | | | | A chunk pointing to the skipped bytes is returned, allowing users of bio_writer_t to write/copy data to the skipped bytes themselves. | ||||
* | Added a method to bio_writer_t that allows to extract the internal buffer | Tobias Brunner | 2012-08-08 | 2 | -0/+29 |
| | |||||
* | Added methods to bio_reader_t to read data from end of buffer | Tobias Brunner | 2012-08-08 | 2 | -24/+204 |
| | |||||
* | extended bio_reader and bio_writer to handle u_int64_t | Andreas Steffen | 2011-11-28 | 4 | -0/+42 |
| | |||||
* | renamed tls_reader|writer to bio_* and moved to libstrongswan | Andreas Steffen | 2011-05-31 | 4 | -125/+125 |
| | |||||
* | fixed type | Andreas Steffen | 2011-05-31 | 4 | -0/+704 |