Home
last modified time | relevance | path

Searched refs:aes_mode (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/crypto/ti/
H A Ddthev2-aes.c145 ctx->aes_mode = DTHE_AES_ECB; in dthe_aes_ecb_setkey()
154 ctx->aes_mode = DTHE_AES_CBC; in dthe_aes_cbc_setkey()
168 ctx->aes_mode = DTHE_AES_XTS; in dthe_aes_xts_setkey()
202 if (ctx->aes_mode == DTHE_AES_XTS) { in dthe_aes_set_ctrl_key()
232 switch (ctx->aes_mode) { in dthe_aes_set_ctrl_key()
351 if (ctx->aes_mode == DTHE_AES_ECB) in dthe_aes_run()
379 if (ctx->aes_mode != DTHE_AES_ECB) { in dthe_aes_run()
413 if (ctx->aes_mode == DTHE_AES_XTS) { in dthe_aes_crypt()
432 if (ctx->aes_mode == DTHE_AES_XTS) in dthe_aes_crypt()
H A Ddthev2-common.h88 enum dthe_aes_mode aes_mode; member