4 Commits

Author SHA1 Message Date
Damien Miller
60cb7a627f new functions for read-only buffers with external storage
This adds some new functions: sshbuf_from(), sshbuf_fromb() and sshbuf_froms()
that create new buffers from a read-only blob, the contents of a buffer and
the contents of a string in a buffer respectively. In all cases the memory
contents are not copied - the new buffer, which is read-only, just refers to
the original location in memory.
2012-10-09 23:22:53 +02:00
Damien Miller
2a99b71b39 Include CRC compensation attack detector in per-transport state structure 2012-09-17 21:41:05 +02:00
Markus Friedl
91f929fc6f de-fatal deattack and use sshbuf.h instead of misc.c 2012-03-04 21:19:23 +01:00
Markus Friedl
a87828ec88 import openssh as of 2012/01/05 2012-01-05 12:08:12 +01:00