Home
last modified time | relevance | path

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

/linux/drivers/crypto/aspeed/
H A Daspeed-hace-crypto.c40 if (rctx->enc_cmd & HACE_CMD_ENCRYPT) in aspeed_crypto_do_fallback()
55 if ((rctx->enc_cmd & HACE_CMD_DES_SELECT) && in aspeed_crypto_need_fallback()
59 if ((!(rctx->enc_cmd & HACE_CMD_DES_SELECT)) && in aspeed_crypto_need_fallback()
111 if (rctx->enc_cmd & HACE_CMD_IV_REQUIRE) { in aspeed_sk_complete()
112 if (rctx->enc_cmd & HACE_CMD_DES_SELECT) in aspeed_sk_complete()
214 ast_hace_write(hace_dev, rctx->enc_cmd, ASPEED_HACE_CMD); in aspeed_sk_start()
237 rctx->enc_cmd |= HACE_CMD_DES_SG_CTRL | HACE_CMD_SRC_SG_CTRL | in aspeed_sk_start_sg()
338 ast_hace_write(hace_dev, rctx->enc_cmd, ASPEED_HACE_CMD); in aspeed_sk_start_sg()
378 rctx->enc_cmd |= HACE_CMD_ISR_EN; in aspeed_hace_skcipher_trigger()
386 if (rctx->enc_cmd & HACE_CMD_IV_REQUIRE) { in aspeed_hace_skcipher_trigger()
[all …]
H A Daspeed-hace.h237 int enc_cmd; member