Home
last modified time | relevance | path

Searched refs:FLAGS_CBC (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/crypto/
Domap-des.c76 #define FLAGS_CBC BIT(1) macro
265 if ((dd->flags & FLAGS_CBC) && dd->req->iv) in omap_des_write_ctrl()
268 if (dd->flags & FLAGS_CBC) in omap_des_write_ctrl()
619 if ((dd->flags & FLAGS_CBC) && dd->req->iv) in omap_des_done_task()
638 !!(mode & FLAGS_CBC)); in omap_des_crypt()
705 return omap_des_crypt(req, FLAGS_ENCRYPT | FLAGS_CBC); in omap_des_cbc_encrypt()
710 return omap_des_crypt(req, FLAGS_CBC); in omap_des_cbc_decrypt()
Domap-aes.c145 if ((dd->flags & (FLAGS_CBC | FLAGS_CTR)) && dd->req->iv) in omap_aes_write_ctrl()
154 if (dd->flags & FLAGS_CBC) in omap_aes_write_ctrl()
527 if (dd->flags & (FLAGS_CBC | FLAGS_CTR)) in omap_aes_done_task()
548 !!(mode & FLAGS_CBC)); in omap_aes_crypt()
614 return omap_aes_crypt(req, FLAGS_ENCRYPT | FLAGS_CBC); in omap_aes_cbc_encrypt()
619 return omap_aes_crypt(req, FLAGS_CBC); in omap_aes_cbc_decrypt()
Dsahara.c45 #define FLAGS_CBC BIT(1) macro
248 if (dev->flags & FLAGS_CBC) { in sahara_aes_key_hdr()
455 if (dev->flags & FLAGS_CBC) { in sahara_hw_descriptor_create()
574 if ((dev->flags & FLAGS_CBC) && req->iv) in sahara_aes_process()
634 req->cryptlen, !!(mode & FLAGS_ENCRYPT), !!(mode & FLAGS_CBC)); in sahara_aes_crypt()
710 return sahara_aes_crypt(req, FLAGS_ENCRYPT | FLAGS_CBC); in sahara_aes_cbc_encrypt()
730 return sahara_aes_crypt(req, FLAGS_CBC); in sahara_aes_cbc_decrypt()
Domap-aes.h76 #define FLAGS_CBC BIT(1) macro