Searched refs:ecp (Results 1 – 9 of 9) sorted by relevance
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | psa_crypto_ecp.c | 97 mbedtls_ecp_keypair *ecp = NULL; in mbedtls_psa_ecp_load_representation() local 134 ecp = mbedtls_calloc(1, sizeof(mbedtls_ecp_keypair)); in mbedtls_psa_ecp_load_representation() 135 if (ecp == NULL) { in mbedtls_psa_ecp_load_representation() 138 mbedtls_ecp_keypair_init(ecp); in mbedtls_psa_ecp_load_representation() 154 mbedtls_ecp_group_load(&ecp->grp, grp_id)); in mbedtls_psa_ecp_load_representation() 163 mbedtls_ecp_point_read_binary(&ecp->grp, &ecp->Q, in mbedtls_psa_ecp_load_representation() 172 mbedtls_ecp_check_pubkey(&ecp->grp, &ecp->Q)); in mbedtls_psa_ecp_load_representation() 179 mbedtls_ecp_read_key(ecp->grp.id, in mbedtls_psa_ecp_load_representation() 180 ecp, in mbedtls_psa_ecp_load_representation() 188 *p_ecp = ecp; in mbedtls_psa_ecp_load_representation() [all …]
|
| H A D | psa_crypto_ecp.h | 46 psa_status_t mbedtls_psa_ecp_load_public_part(mbedtls_ecp_keypair *ecp); 89 mbedtls_ecp_keypair *ecp,
|
| H A D | ecdsa.c | 146 #define ECDSA_RS_ECP (rs_ctx == NULL ? NULL : &rs_ctx->ecp) 155 if (rs_ctx != NULL && rs_ctx->ecp.depth++ == 0) \ 156 rs_ctx->ecp.ops_done = 0; \ 182 rs_ctx->ecp.depth--; \ 831 mbedtls_ecp_restart_init(&ctx->ecp); in mbedtls_ecdsa_restart_init() 849 mbedtls_ecp_restart_free(&ctx->ecp); in mbedtls_ecdsa_restart_free()
|
| H A D | pk_ecc.c | 35 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec_rw(*pk); in mbedtls_pk_ecc_set_group() 44 return mbedtls_ecp_group_load(&(ecp->grp), grp_id); in mbedtls_pk_ecc_set_group()
|
| H A D | pk_wrap.c | 530 mbedtls_ecp_keypair *ecp = (mbedtls_ecp_keypair *) pk->pk_ctx; in eckey_get_bitlen() 531 return ecp->grp.pbits; in eckey_get_bitlen() 1106 mbedtls_ecp_keypair *ecp = (mbedtls_ecp_keypair *) pk->pk_ctx; in eckey_debug() 1109 items->value = &(ecp->Q); in eckey_debug()
|
| H A D | psa_crypto.c | 4131 operation->num_ops += operation->restart_ctx.ecp.ops_done; in mbedtls_psa_sign_hash_complete() 4344 operation->num_ops += operation->restart_ctx.ecp.ops_done; in mbedtls_psa_verify_hash_complete()
|
| /optee_os/lib/libmbedtls/ |
| H A D | sub.mk | 32 SRCS_CRYPTO += ecp.c 89 SRCS_CRYPTO += ecp.c
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | ecdsa.h | 99 mbedtls_ecp_restart_ctx MBEDTLS_PRIVATE(ecp); /*!< base context for ECP restart and
|
| /optee_os/lib/libmbedtls/mbedtls/ |
| H A D | ChangeLog | 263 ecp.h, rsa.h. 5397 * Split off curves from ecp.c into ecp_curves.c
|