Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.h42 SEC_CMODE_CTR = 0x4, enumerator
H A Dsec_crypto.c883 GEN_SEC_SETKEY_FUNC(aes_ctr, SEC_CALG_AES, SEC_CMODE_CTR) in GEN_SEC_SETKEY_FUNC()
890 GEN_SEC_SETKEY_FUNC(sm4_ctr, SEC_CALG_SM4, SEC_CMODE_CTR) in GEN_SEC_SETKEY_FUNC()
1455 ctx->c_ctx.c_mode == SEC_CMODE_CTR) && req->c_req.encrypt) in sec_skcipher_callback()
1786 ctx->c_ctx.c_mode == SEC_CMODE_CTR)) in sec_process()
2035 case SEC_CMODE_CTR: in sec_skcipher_cryptlen_check()