Lines Matching refs:aspeed_des_crypt
395 static int aspeed_des_crypt(struct skcipher_request *req, u32 cmd) in aspeed_des_crypt() function
455 return aspeed_des_crypt(req, HACE_CMD_DECRYPT | HACE_CMD_CTR | in aspeed_tdes_ctr_decrypt()
461 return aspeed_des_crypt(req, HACE_CMD_ENCRYPT | HACE_CMD_CTR | in aspeed_tdes_ctr_encrypt()
467 return aspeed_des_crypt(req, HACE_CMD_DECRYPT | HACE_CMD_OFB | in aspeed_tdes_ofb_decrypt()
473 return aspeed_des_crypt(req, HACE_CMD_ENCRYPT | HACE_CMD_OFB | in aspeed_tdes_ofb_encrypt()
479 return aspeed_des_crypt(req, HACE_CMD_DECRYPT | HACE_CMD_CFB | in aspeed_tdes_cfb_decrypt()
485 return aspeed_des_crypt(req, HACE_CMD_ENCRYPT | HACE_CMD_CFB | in aspeed_tdes_cfb_encrypt()
491 return aspeed_des_crypt(req, HACE_CMD_DECRYPT | HACE_CMD_CBC | in aspeed_tdes_cbc_decrypt()
497 return aspeed_des_crypt(req, HACE_CMD_ENCRYPT | HACE_CMD_CBC | in aspeed_tdes_cbc_encrypt()
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()
515 return aspeed_des_crypt(req, HACE_CMD_DECRYPT | HACE_CMD_CTR | in aspeed_des_ctr_decrypt()
521 return aspeed_des_crypt(req, HACE_CMD_ENCRYPT | HACE_CMD_CTR | in aspeed_des_ctr_encrypt()
527 return aspeed_des_crypt(req, HACE_CMD_DECRYPT | HACE_CMD_OFB | in aspeed_des_ofb_decrypt()
533 return aspeed_des_crypt(req, HACE_CMD_ENCRYPT | HACE_CMD_OFB | in aspeed_des_ofb_encrypt()
539 return aspeed_des_crypt(req, HACE_CMD_DECRYPT | HACE_CMD_CFB | in aspeed_des_cfb_decrypt()
545 return aspeed_des_crypt(req, HACE_CMD_ENCRYPT | HACE_CMD_CFB | in aspeed_des_cfb_encrypt()
551 return aspeed_des_crypt(req, HACE_CMD_DECRYPT | HACE_CMD_CBC | in aspeed_des_cbc_decrypt()
557 return aspeed_des_crypt(req, HACE_CMD_ENCRYPT | HACE_CMD_CBC | in aspeed_des_cbc_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()