Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: f8394f232b1eab649ce2df5c5f15b0e528c92091 authored by Linus Torvalds on 09 November 2020, 00:10:16 UTC
Linux 5.10-rc3
Tip revision: f8394f2
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