Home
last modified time | relevance | path

Searched refs:CRYPTO_SM4 (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/drivers/crypto/rockchip/
H A Dcrypto_v2.c313 {CRYPTO_SM4_VERSION, CRYPTO_ECB_FLAG, CRYPTO_SM4}, in crypto_v3_dynamic_cap()
582 mask |= (CRYPTO_DES | CRYPTO_AES | CRYPTO_SM4); in rockchip_crypto_capability()
927 case CRYPTO_SM4: in hw_cipher_init()
934 if (algo == CRYPTO_AES || algo == CRYPTO_SM4) { in hw_cipher_init()
1223 CRYPTO_SM4, mode, enc); in hw_sm4_init()
1310 case CRYPTO_SM4: in rockchip_crypto_cipher()
1335 if (algo != CRYPTO_AES && algo != CRYPTO_SM4) in rk_crypto_mac()
1382 if (algo != CRYPTO_AES && algo != CRYPTO_SM4) in rk_crypto_ae()
1434 case CRYPTO_SM4: in rockchip_crypto_fw_cipher()
1775 CRYPTO_SM4,
H A Dcrypto_ce.c80 {CRYPTO_SM4, RKCE_SYMM_ALGO_SM4},
672 case CRYPTO_SM4: in rk_get_cipher_cemode()
/rk3399_rockchip-uboot/include/
H A Dcrypto.h33 #define CRYPTO_SM4 BIT(22) macro