#include <linux/module.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/scatterlist.h>
#include <linux/crypto.h>
#include <crypto/algapi.h>
#include <crypto/scatterwalk.h>
#include <crypto/internal/des.h>
#include "ccp-crypto.h"
static int ccp_des3_complete(struct crypto_async_request *async_req, int ret)
{ … }
static int ccp_des3_setkey(struct crypto_skcipher *tfm, const u8 *key,
unsigned int key_len)
{ … }
static int ccp_des3_crypt(struct skcipher_request *req, bool encrypt)
{ … }
static int ccp_des3_encrypt(struct skcipher_request *req)
{ … }
static int ccp_des3_decrypt(struct skcipher_request *req)
{ … }
static int ccp_des3_init_tfm(struct crypto_skcipher *tfm)
{ … }
static const struct skcipher_alg ccp_des3_defaults = …;
struct ccp_des3_def { … };
static const struct ccp_des3_def des3_algs[] = …;
static int ccp_register_des3_alg(struct list_head *head,
const struct ccp_des3_def *def)
{ … }
int ccp_register_des3_algs(struct list_head *head)
{ … }