Re: [Openvpn-devel] [PATCH] Simplify key material exporter backend API

2020-10-09 Thread Arne Schwabe
Am 09.10.20 um 16:47 schrieb Steffan Karger: > Just pass pointer and length, instead of a gc and return (possibly) > allocated memory. Saves us some gc instantiations and memcpy()s. Exact > same functionality, 19 lines less code. > > (Didn't want to delay the TLS EKM reviews for this, so

[Openvpn-devel] [PATCH] Simplify key material exporter backend API

2020-10-09 Thread Steffan Karger
Just pass pointer and length, instead of a gc and return (possibly) allocated memory. Saves us some gc instantiations and memcpy()s. Exact same functionality, 19 lines less code. (Didn't want to delay the TLS EKM reviews for this, so submitted as a patch afterwards.) Signed-off-by: Steffan