root/drivers/crypto/cavium/nitrox/nitrox_algs.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. nitrox_crypto_register
  2. nitrox_crypto_unregister

   1 #include "nitrox_common.h"
   2 
   3 int nitrox_crypto_register(void)
   4 {
   5         int err;
   6 
   7         err = nitrox_register_skciphers();
   8         if (err)
   9                 return err;
  10 
  11         err = nitrox_register_aeads();
  12         if (err) {
  13                 nitrox_unregister_skciphers();
  14                 return err;
  15         }
  16 
  17         return 0;
  18 }
  19 
  20 void nitrox_crypto_unregister(void)
  21 {
  22         nitrox_unregister_aeads();
  23         nitrox_unregister_skciphers();
  24 }

/* [<][>][^][v][top][bottom][index][help] */