Home
last modified time | relevance | path

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

/linux/drivers/crypto/
H A Domap-des.c72 #define FLAGS_CBC BIT(1) macro
259 if ((dd->flags & FLAGS_CBC) && dd->req->iv) in omap_des_write_ctrl()
262 if (dd->flags & FLAGS_CBC) in omap_des_write_ctrl()
609 if ((dd->flags & FLAGS_CBC) && dd->req->iv) in omap_des_done_task()
628 !!(mode & FLAGS_CBC)); in omap_des_crypt()
695 return omap_des_crypt(req, FLAGS_ENCRYPT | FLAGS_CBC); in omap_des_cbc_encrypt()
700 return omap_des_crypt(req, FLAGS_CBC); in omap_des_cbc_decrypt()
H A Dsahara.c45 #define FLAGS_CBC BIT(1) macro
238 if (dev->flags & FLAGS_CBC) { in sahara_aes_key_hdr()
443 if (dev->flags & FLAGS_CBC) { in sahara_hw_descriptor_create()
579 if ((dev->flags & FLAGS_CBC) && req->iv) { in sahara_aes_process()
613 if ((dev->flags & FLAGS_CBC) && req->iv) in sahara_aes_process()
678 req->cryptlen, !!(mode & FLAGS_ENCRYPT), !!(mode & FLAGS_CBC)); in sahara_aes_crypt()
700 return sahara_aes_crypt(req, FLAGS_ENCRYPT | FLAGS_CBC); in sahara_aes_cbc_encrypt()
705 return sahara_aes_crypt(req, FLAGS_CBC); in sahara_aes_cbc_decrypt()
H A Domap-aes.c143 if ((dd->flags & (FLAGS_CBC | FLAGS_CTR)) && dd->req->iv) in omap_aes_write_ctrl()
152 if (dd->flags & FLAGS_CBC) in omap_aes_write_ctrl()
521 if (dd->flags & (FLAGS_CBC | FLAGS_CTR)) in omap_aes_done_task()
542 !!(mode & FLAGS_CBC)); in omap_aes_crypt()
608 return omap_aes_crypt(req, FLAGS_ENCRYPT | FLAGS_CBC); in omap_aes_cbc_encrypt()
613 return omap_aes_crypt(req, FLAGS_CBC); in omap_aes_cbc_decrypt()
H A Domap-aes.h75 #define FLAGS_CBC BIT(1) macro