Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 2c85ebc57b3e1817b6ce1a6b703928e113a90442 authored by Linus Torvalds on 13 December 2020, 22:41:30 UTC
Linux 5.10
Tip revision: 2c85ebc
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