Home
last modified time | relevance | path

Searched refs:TEE_ALG_SM3 (Results 1 – 10 of 10) sorted by relevance

/optee_os/core/crypto/
H A Dsm2-kdf.c29 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_kdf()
H A Dcrypto.c65 case TEE_ALG_SM3: in crypto_hash_alloc_ctx()
/optee_os/lib/libutee/include/
H A Dutee_defines.h161 return TEE_ALG_SM3; in __tee_alg_hash_algo()
244 case TEE_ALG_SM3: in __tee_alg_get_digest_size()
H A Dtee_api_defines.h361 #define TEE_ALG_SM3 0x50000007 macro
/optee_os/lib/libmbedtls/core/
H A Dsm2-pke.c228 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_mbedtls_pke_decrypt()
422 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_mbedtls_pke_encrypt()
H A Dsm2-kep.c49 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_kep_compute_Z()
148 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_kep_compute_S()
/optee_os/core/lib/libtomcrypt/
H A Dsm2-kep.c43 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_kep_compute_Z()
116 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_kep_compute_S()
H A Dsm2-pke.c261 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_ltc_pke_decrypt()
485 res = crypto_hash_alloc_ctx(&ctx, TEE_ALG_SM3); in sm2_ltc_pke_encrypt()
/optee_os/core/drivers/crypto/hisilicon/
H A Dsec_hash.c80 case TEE_ALG_SM3: in sec_digest_get_alg_type()
526 case TEE_ALG_SM3: in sec_hash_get_mac_len()
/optee_os/lib/libutee/
H A Dtee_api_operations.c277 case TEE_ALG_SM3: in TEE_AllocateOperation()
2584 if (alg == TEE_ALG_SM3) in TEE_IsAlgorithmSupported()