Home
last modified time | relevance | path

Searched refs:TEE_ECC_CURVE_SM2 (Results 1 – 7 of 7) sorted by relevance

/optee_os/lib/libmbedtls/core/
H A Decc.c71 case TEE_ECC_CURVE_SM2: in ecc_get_keysize()
100 case TEE_ECC_CURVE_SM2: in curve_to_group_id()
414 s->curve = TEE_ECC_CURVE_SM2; in crypto_asym_alloc_ecc_keypair()
421 s->curve = TEE_ECC_CURVE_SM2; in crypto_asym_alloc_ecc_keypair()
428 s->curve = TEE_ECC_CURVE_SM2; in crypto_asym_alloc_ecc_keypair()
514 s->curve = TEE_ECC_CURVE_SM2; in crypto_asym_alloc_ecc_public_key()
521 s->curve = TEE_ECC_CURVE_SM2; in crypto_asym_alloc_ecc_public_key()
528 s->curve = TEE_ECC_CURVE_SM2; in crypto_asym_alloc_ecc_public_key()
/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Decc.c27 case TEE_ECC_CURVE_SM2: in get_ecc_key_size_bytes()
54 case TEE_ECC_CURVE_SM2: in get_ecc_key_size_bits()
92 if (curve == TEE_ECC_CURVE_SM2) in algo_is_valid()
404 case TEE_ECC_CURVE_SM2: in ecc_encrypt()
488 case TEE_ECC_CURVE_SM2: in ecc_decrypt()
535 key->curve = TEE_ECC_CURVE_SM2; in drvcrypt_asym_alloc_ecc_keypair()
586 key->curve = TEE_ECC_CURVE_SM2; in drvcrypt_asym_alloc_ecc_public_key()
/optee_os/core/lib/libtomcrypt/
H A Decc.c90 case TEE_ECC_CURVE_SM2: in ecc_get_curve_info()
430 s->curve = TEE_ECC_CURVE_SM2; in crypto_asym_alloc_ecc_keypair()
437 s->curve = TEE_ECC_CURVE_SM2; in crypto_asym_alloc_ecc_keypair()
444 s->curve = TEE_ECC_CURVE_SM2; in crypto_asym_alloc_ecc_keypair()
508 s->curve = TEE_ECC_CURVE_SM2; in crypto_asym_alloc_ecc_public_key()
515 s->curve = TEE_ECC_CURVE_SM2; in crypto_asym_alloc_ecc_public_key()
522 s->curve = TEE_ECC_CURVE_SM2; in crypto_asym_alloc_ecc_public_key()
/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_ecc.c358 .id = TEE_ECC_CURVE_SM2,
836 if (curve->id == TEE_ECC_CURVE_SM2) in hpre_ecc_request_init()
1120 if (curve->id == TEE_ECC_CURVE_SM2) in hpre_ecc_sign_request_init()
1387 if (curve->id == TEE_ECC_CURVE_SM2) in hpre_ecc_verify_request_init()
/optee_os/lib/libutee/include/
H A Dtee_api_defines.h501 #define TEE_ECC_CURVE_SM2 0x00000400 macro
/optee_os/lib/libutee/
H A Dtee_api_operations.c2704 if (alg == TEE_ALG_SM2_DSA_SM3 && element == TEE_ECC_CURVE_SM2) in TEE_IsAlgorithmSupported()
2708 if (alg == TEE_ALG_SM2_KEP && element == TEE_ECC_CURVE_SM2) in TEE_IsAlgorithmSupported()
2712 if (alg == TEE_ALG_SM2_PKE && element == TEE_ECC_CURVE_SM2) in TEE_IsAlgorithmSupported()
/optee_os/core/tee/
H A Dtee_svc_cryp.c1882 case TEE_ECC_CURVE_SM2: in get_ec_key_size()
3555 peer_key->curve = TEE_ECC_CURVE_SM2; in get_sm2_kep_params()
3556 peer_eph_key->curve = TEE_ECC_CURVE_SM2; in get_sm2_kep_params()