Lines Matching refs:enc
47 const u8 iv[AES_BLOCK_SIZE], bool enc);
135 static inline int riscv64_aes_ecb_crypt(struct skcipher_request *req, bool enc) in riscv64_aes_ecb_crypt() argument
146 if (enc) in riscv64_aes_ecb_crypt()
173 static int riscv64_aes_cbc_crypt(struct skcipher_request *req, bool enc) in riscv64_aes_cbc_crypt() argument
184 if (enc) in riscv64_aes_cbc_crypt()
213 static int riscv64_aes_cbc_cts_crypt(struct skcipher_request *req, bool enc) in riscv64_aes_cbc_cts_crypt() argument
246 err = riscv64_aes_cbc_crypt(&subreq, enc); in riscv64_aes_cbc_cts_crypt()
260 walk.nbytes, req->iv, enc); in riscv64_aes_cbc_cts_crypt()
354 static int riscv64_aes_xts_crypt(struct skcipher_request *req, bool enc) in riscv64_aes_xts_crypt() argument
405 if (enc) in riscv64_aes_xts_crypt()
434 if (enc) in riscv64_aes_xts_crypt()