Home
last modified time | relevance | path

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

/drivers/crypto/aspeed/
Daspeed-hace-crypto.c405 if (crypto_alg == HACE_CMD_CBC || crypto_alg == HACE_CMD_ECB) { in aspeed_des_crypt()
503 return aspeed_des_crypt(req, HACE_CMD_DECRYPT | HACE_CMD_ECB | in aspeed_tdes_ecb_decrypt()
509 return aspeed_des_crypt(req, HACE_CMD_ENCRYPT | HACE_CMD_ECB | in aspeed_tdes_ecb_encrypt()
563 return aspeed_des_crypt(req, HACE_CMD_DECRYPT | HACE_CMD_ECB | in aspeed_des_ecb_decrypt()
569 return aspeed_des_crypt(req, HACE_CMD_ENCRYPT | HACE_CMD_ECB | in aspeed_des_ecb_encrypt()
581 if (crypto_alg == HACE_CMD_CBC || crypto_alg == HACE_CMD_ECB) { in aspeed_aes_crypt()
683 return aspeed_aes_crypt(req, HACE_CMD_DECRYPT | HACE_CMD_ECB); in aspeed_aes_ecb_decrypt()
688 return aspeed_aes_crypt(req, HACE_CMD_ENCRYPT | HACE_CMD_ECB); in aspeed_aes_ecb_encrypt()
Daspeed-hace.h64 #define HACE_CMD_ECB (0x0 << 4) macro