hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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();
}