crypto_cipher
struct crypto_cipher *blockcipher;
struct crypto_cipher *blockcipher;
struct crypto_cipher *child;
struct crypto_cipher *tfm = tctx->child;
struct crypto_cipher *tfm = tctx->child;
struct crypto_cipher *cipher;
static int setkey_unaligned(struct crypto_cipher *tfm, const u8 *key,
int crypto_cipher_setkey(struct crypto_cipher *tfm,
static inline void cipher_crypt_one(struct crypto_cipher *tfm,
void crypto_cipher_encrypt_one(struct crypto_cipher *tfm,
void crypto_cipher_decrypt_one(struct crypto_cipher *tfm,
struct crypto_cipher *crypto_clone_cipher(struct crypto_cipher *cipher)
struct crypto_cipher *ncipher;
struct crypto_cipher *tfm = tctx->child;
struct crypto_cipher *tfm = tctx->child;
struct crypto_cipher *cipher;
struct crypto_cipher *cipher;
struct crypto_cipher *child;
struct crypto_cipher *cipher = skcipher_cipher_simple(tfm);
struct crypto_cipher *tfm)
struct crypto_cipher *tfm)
struct crypto_cipher *tfm)
inst->alg.co.base.cra_ctxsize = sizeof(struct crypto_cipher *);
static int crypto_ecb_crypt(struct crypto_cipher *cipher, const u8 *src,
struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm);
struct crypto_cipher *cipher = *ctx;
struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm);
struct crypto_cipher *cipher = *ctx;
struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm);
struct crypto_cipher *cipher = *ctx;
struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm);
struct crypto_cipher *cipher;
struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm);
struct crypto_cipher *essiv_cipher;
struct crypto_cipher *essiv_cipher;
struct crypto_cipher *blockcipher;
struct crypto_cipher *blockcipher;
struct crypto_cipher *tfm)
struct crypto_cipher *cipher = skcipher_cipher_simple(tfm);
struct crypto_cipher *tfm)
struct crypto_cipher *tfm)
struct crypto_cipher *cipher = skcipher_cipher_simple(tfm);
struct crypto_cipher *tfm)
struct crypto_cipher *cipher = skcipher_cipher_simple(tfm);
struct crypto_cipher *cipher;
static int test_cipher(struct crypto_cipher *tfm, int enc,
struct crypto_cipher *tfm;
struct crypto_cipher *cipher;
struct crypto_cipher *child;
struct crypto_cipher *tfm = tctx->child;
struct crypto_cipher *tfm = tctx->child;
struct crypto_cipher *cipher = skcipher_cipher_simple(tfm);
struct crypto_cipher *tfm, u32 byte_ctr)
struct crypto_cipher *tfm, u32 byte_ctr)
struct crypto_cipher *tfm, u32 byte_ctr)
struct crypto_cipher *tweak;
struct crypto_cipher *tweak;
struct crypto_cipher *tweak;
struct crypto_cipher *cip;
struct crypto_cipher *tweak;
static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm)
static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm)
static inline u32 crypto_cipher_get_flags(struct crypto_cipher *tfm)
static inline void crypto_cipher_set_flags(struct crypto_cipher *tfm,
static inline void crypto_cipher_clear_flags(struct crypto_cipher *tfm,
int crypto_cipher_setkey(struct crypto_cipher *tfm,
void crypto_cipher_encrypt_one(struct crypto_cipher *tfm,
void crypto_cipher_decrypt_one(struct crypto_cipher *tfm,
struct crypto_cipher *crypto_clone_cipher(struct crypto_cipher *cipher);
static inline struct crypto_cipher *crypto_spawn_cipher(
static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm)
static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm)
return (struct crypto_cipher *)tfm;
static inline struct crypto_cipher *crypto_alloc_cipher(const char *alg_name,
static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm)
static inline void crypto_free_cipher(struct crypto_cipher *tfm)
struct crypto_cipher *cipher; /* underlying block cipher */
static inline struct crypto_cipher *
char *crypto_cipher;
.crypto_cipher = "ecb(aes)",
args.crypto_cipher = strdup(arg);
if (!strlen(args.crypto_cipher) ||
strlen(args.crypto_cipher) > MAX_CIPHER_LEN) {
snprintf(ctx.skel->bss->cipher, 128, "%s", args.crypto_cipher);