Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 16fbf79b0f83bc752cee8589279f1ebfe57b3b6e authored by Linus Torvalds on 23 March 2020, 01:31:56 UTC
Linux 5.6-rc7
Tip revision: 16fbf79
nitrox_algs.c
#include "nitrox_common.h"

int nitrox_crypto_register(void)
{
	int err;

	err = nitrox_register_skciphers();
	if (err)
		return err;

	err = nitrox_register_aeads();
	if (err) {
		nitrox_unregister_skciphers();
		return err;
	}

	return 0;
}

void nitrox_crypto_unregister(void)
{
	nitrox_unregister_aeads();
	nitrox_unregister_skciphers();
}
back to top