]> git.proxmox.com Git - mirror_kronosnet.git/commit
[crypto] rework knet_handle_crypto external API to be more solid
authorFabio M. Di Nitto <fdinitto@redhat.com>
Tue, 28 May 2019 03:24:47 +0000 (05:24 +0200)
committerFabio M. Di Nitto <fdinitto@redhat.com>
Tue, 28 May 2019 03:24:47 +0000 (05:24 +0200)
commite717b4a05df6481b472e5cf5b9121363253c8fd7
tree822c6370fba5c5450b5deb2e54fac717e1de339e
parentff7accf85bde59f2ed00dbd4569f85e53dd8396a
[crypto] rework knet_handle_crypto external API to be more solid

the API was rather weak and could potentially leave traffic uncrypted
in case of certain, corner case, failures.

this patch is a subset of a bigger rework of the crypto layer that
will in future allow runtime reconfiguration without traffic disruption
of the crypto config.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
libknet/crypto.c
libknet/crypto_model.h
libknet/crypto_nss.c
libknet/crypto_openssl.c
libknet/handle.c
libknet/libknet.h
libknet/tests/api_knet_handle_crypto.c