Hi,

On 22/07/18 18:06, Steffan Karger wrote:
> From: Steffan Karger <steffan.kar...@fox-it.com>
> 
> Needed for tls-crypt-v2, but isolated enough to be reviewed as a separate
> patch.
> 
> The encode API allocates memory, because it fits our typical gc-oriented
> code pattern and the caller does not have to do multiple calls or
> calculations to determine the required destination buffer size.
> 
> The decode API does not allocate memory, because the required destination
> buffer is always smaller than the input buffer (so is easy to manage by
> the caller) and does not force the caller to use the heap.
> 
> Signed-off-by: Steffan Karger <steffan.kar...@fox-it.com>

Acked-by: Antonio Quartulli <anto...@openvpn.net>

-- 
Antonio Quartulli

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to