Lines Matching full:encrypt

160 	int encrypt;  member
176 struct ix_sa_dir encrypt; member
350 if (req_ctx->encrypt) { in finish_scattered_hmac()
565 ret = init_sa_dir(&ctx->encrypt); in init_tfm()
570 free_sa_dir(&ctx->encrypt); in init_tfm()
590 free_sa_dir(&ctx->encrypt); in exit_tfm()
660 static int setup_auth(struct crypto_tfm *tfm, int encrypt, unsigned authsize, in setup_auth() argument
671 dir = encrypt ? &ctx->encrypt : &ctx->decrypt; in setup_auth()
696 if (!encrypt) in setup_auth()
735 static int setup_cipher(struct crypto_tfm *tfm, int encrypt, in setup_cipher() argument
745 dir = encrypt ? &ctx->encrypt : &ctx->decrypt; in setup_cipher()
748 if (encrypt) { in setup_cipher()
781 if ((cipher_cfg & MOD_AES) && !encrypt) { in setup_cipher()
828 reset_sa_dir(&ctx->encrypt); in ablk_setkey()
831 ctx->encrypt.npe_mode = NPE_OP_HMAC_DISABLE; in ablk_setkey()
867 static int ablk_perform(struct skcipher_request *req, int encrypt) in ablk_perform() argument
887 dir = encrypt ? &ctx->encrypt : &ctx->decrypt; in ablk_perform()
972 static int aead_perform(struct aead_request *req, int encrypt, in aead_perform() argument
995 if (encrypt) { in aead_perform()
996 dir = &ctx->encrypt; in aead_perform()
1049 if (encrypt) { in aead_perform()
1064 if (!encrypt) { in aead_perform()
1068 req_ctx->encrypt = encrypt; in aead_perform()
1097 reset_sa_dir(&ctx->encrypt); in aead_setup()
1281 .encrypt = ablk_rfc3686_crypt,
1409 if (!cra->encrypt) in ixp_module_init()
1410 cra->encrypt = ablk_encrypt; in ixp_module_init()
1443 cra->encrypt = aead_encrypt; in ixp_module_init()