/third_party/mbedtls/library/ |
H A D | psa_crypto_ecp.c | 25 #include <mbedtls/ecp.h> 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 in mbedtls_psa_ecp_load_representation() 216 mbedtls_ecp_keypair *ecp = NULL; mbedtls_psa_ecp_import_key() local 251 mbedtls_psa_ecp_export_key(psa_key_type_t type, mbedtls_ecp_keypair *ecp, uint8_t *data, size_t data_size, size_t *data_length) mbedtls_psa_ecp_export_key() argument 296 mbedtls_ecp_keypair *ecp = NULL; mbedtls_psa_ecp_export_public_key() local 334 mbedtls_ecp_keypair ecp; mbedtls_psa_ecp_generate_key() local 372 mbedtls_ecp_keypair *ecp = NULL; mbedtls_psa_ecdsa_sign_hash() local 436 mbedtls_psa_ecp_load_public_part(mbedtls_ecp_keypair *ecp) mbedtls_psa_ecp_load_public_part() argument 458 mbedtls_ecp_keypair *ecp = NULL; mbedtls_psa_ecdsa_verify_hash() local 533 mbedtls_ecp_keypair *ecp = NULL; mbedtls_psa_key_agreement_ecdh() local [all...] |
H A D | psa_crypto_ecp.h | 25 #include <mbedtls/ecp.h> 53 * \param ecp The ECP context to load the public part for. 58 psa_status_t mbedtls_psa_ecp_load_public_part(mbedtls_ecp_keypair *ecp); 95 * \param[in] ecp The internal ECP representation from which to export 101 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 | 12 #include "mbedtls/ecp.h" 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 | 22 #include "mbedtls/ecp.h" 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_util.c | 41 #include <mbedtls/ecp.h>
|
/third_party/libcoap/man/ |
H A D | examples-code-check.c | 217 const char *ecp; in decode_synopsis_definition() local 287 ecp = strchr(cp, ','); in decode_synopsis_definition() 288 if (!ecp) in decode_synopsis_definition() 289 ecp = strchr(cp, ')'); in decode_synopsis_definition() 291 while (ecp) { in decode_synopsis_definition() 293 if (strncmp(cp, "void", ecp-cp) == 0) in decode_synopsis_definition() 295 (int)(ecp-cp), (int)(ecp-cp), cp, *ecp); in decode_synopsis_definition() 298 (int)(ecp in decode_synopsis_definition() 683 char *ecp = strchr(cp+1, '*'); main() local [all...] |
/third_party/mbedtls/programs/fuzz/ |
H A D | fuzz_pubkey.c | 49 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(pk); in LLVMFuzzerTestOneInput() local 50 mbedtls_ecp_group_id grp_id = mbedtls_ecp_keypair_get_group_id(ecp); in LLVMFuzzerTestOneInput() 64 if (mbedtls_ecp_export(ecp, NULL, &d, NULL) != 0) { in LLVMFuzzerTestOneInput()
|
H A D | fuzz_privkey.c | 73 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(pk); in LLVMFuzzerTestOneInput() local 74 mbedtls_ecp_group_id grp_id = mbedtls_ecp_keypair_get_group_id(ecp); in LLVMFuzzerTestOneInput()
|
/third_party/mbedtls/programs/pkey/ |
H A D | gen_key.c | 161 static int show_ecp_key(const mbedtls_ecp_keypair *ecp, int has_private) in show_ecp_key() argument 167 mbedtls_ecp_keypair_get_group_id(ecp)); in show_ecp_key() 179 MBEDTLS_MPI_CHK(mbedtls_ecp_export(ecp, &grp, in show_ecp_key()
|
H A D | key_app_writer.c | 177 static int show_ecp_key(const mbedtls_ecp_keypair *ecp, int has_private) in show_ecp_key() argument 183 mbedtls_ecp_keypair_get_group_id(ecp)); in show_ecp_key() 195 MBEDTLS_MPI_CHK(mbedtls_ecp_export(ecp, &grp, in show_ecp_key()
|
H A D | key_app.c | 57 static int show_ecp_key(const mbedtls_ecp_keypair *ecp, int has_private) in show_ecp_key() argument 63 mbedtls_ecp_keypair_get_group_id(ecp)); in show_ecp_key() 75 MBEDTLS_MPI_CHK(mbedtls_ecp_export(ecp, &grp, in show_ecp_key()
|
/third_party/mbedtls/tests/scripts/ |
H A D | generate_ecp_tests.py | 2 """Generate test data for ecp functions. 30 from mbedtls_dev import ecp # pylint: disable=unused-import namespace
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
H A D | mbedtls-x509.c | 156 mbedtls_ecp_keypair *ecp = mbedtls_pk_ec(x509->MBEDTLS_PRIVATE_V30_ONLY(pk)); in lws_tls_mbedtls_cert_info() local 158 if (mbedtls_mpi_write_string(&ecp->MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(X), 16, p, r, &u)) in lws_tls_mbedtls_cert_info() 162 if (mbedtls_mpi_write_string(&ecp->MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(Y), 16, p, r, &u)) in lws_tls_mbedtls_cert_info() 166 if (mbedtls_mpi_write_string(&ecp->MBEDTLS_PRIVATE(Q).MBEDTLS_PRIVATE(Z), 16, p, r, &u)) in lws_tls_mbedtls_cert_info()
|
/third_party/mbedtls/include/mbedtls/ |
H A D | psa_util.h | 73 #include <mbedtls/ecp.h>
|
H A D | ecdsa.h | 24 #include "mbedtls/ecp.h" 99 mbedtls_ecp_restart_ctx MBEDTLS_PRIVATE(ecp); /*!< base context for ECP restart and 138 * \see ecp.h 180 * \see ecp.h 234 * \see ecp.h 299 * \see ecp.h 353 * \see ecp.h 389 * \see ecp.h 444 * \see ecp.h 536 * \see ecp [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/math_test_data/ |
H A D | frexpf_data.h | 107 {0x1.3126ecp-5, 0x1.3126ecp-1, -4},
|
H A D | cbrtf_data.h | 149 {0x1.c6503p-7, 0x1.ecp-3}, 275 {-0x1.06fae83d70a3dp+1, -0x1.4571ecp+0}, 366 {0x1.c6502f920c80ap-7, 0x1.ecp-3}, 367 {-0x1.c6502ffdfd7cp-7, -0x1.ecp-3},
|
H A D | sqrtf_data.h | 82 {0x1.0053ep-6, 0x1.0029ecp-3},
|
/third_party/libwebsockets/test-apps/android/app/src/main/jni/ |
H A D | NativeLibs.mk | 159 TARGET_X86_OPENSSL_CONFIG := no-asm no-shared no-idea no-mdc2 no-rc5 no-zlib no-zlib-dynamic enable-tlsext no-ssl2 no-ssl3 enable-ec enable-ecdh enable-ecp 162 TARGET_X86_64_OPENSSL_CONFIG := no-asm no-shared no-idea no-mdc2 no-rc5 no-zlib no-zlib-dynamic enable-tlsext no-ssl2 no-ssl3 enable-ec enable-ecdh enable-ecp enable-ec_nistp_64_gcc_128 165 TARGET_ARM_OPENSSL_CONFIG := no-shared no-idea no-mdc2 no-rc5 no-zlib no-zlib-dynamic enable-tlsext no-ssl2 no-ssl3 enable-ec enable-ecdh enable-ecp 168 TARGET_ARM_V7A_OPENSSL_CONFIG := no-shared no-idea no-mdc2 no-rc5 no-zlib no-zlib-dynamic enable-tlsext no-ssl2 no-ssl3 enable-ec enable-ecdh enable-ecp 171 TARGET_ARM_V7A_HARD_OPENSSL_CONFIG := no-shared no-idea no-mdc2 no-rc5 no-zlib no-zlib-dynamic enable-tlsext no-ssl2 no-ssl3 enable-ec enable-ecdh enable-ecp 174 TARGET_ARM64_V8A_OPENSSL_CONFIG := no-shared no-idea no-mdc2 no-rc5 no-zlib no-zlib-dynamic enable-tlsext no-ssl2 no-ssl3 enable-ec enable-ecdh enable-ecp 177 TARGET_MIPS_OPENSSL_CONFIG := no-shared no-idea no-mdc2 no-rc5 no-zlib no-zlib-dynamic enable-tlsext no-ssl2 no-ssl3 enable-ec enable-ecdh enable-ecp 180 TARGET_MIPS64_OPENSSL_CONFIG := no-shared no-idea no-mdc2 no-rc5 no-zlib no-zlib-dynamic enable-tlsext no-ssl2 no-ssl3 enable-ec enable-ecdh enable-ecp
|
/third_party/libwebsockets/lib/tls/ |
H A D | private-lib-tls.h | 76 #include <mbedtls/ecp.h>
|
/third_party/mbedtls/tests/ |
H A D | Makefile | 66 generated_ecp_test_data: ../scripts/mbedtls_dev/ecp.py
|
/third_party/lwip/src/ |
H A D | Filelists.mk | 106 $(LWIPDIR)/netif/ppp/ecp.c \
|
/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/ |
H A D | ec_kmgmt.c | 740 const EC_POINT *ecp = EC_KEY_get0_public_key(key); in common_get_params() local 742 if (ecp == NULL) { in common_get_params() 746 p->return_size = EC_POINT_point2oct(ecg, ecp, in common_get_params()
|
/third_party/openssl/providers/implementations/keymgmt/ |
H A D | ec_kmgmt.c | 740 const EC_POINT *ecp = EC_KEY_get0_public_key(key); in common_get_params() local 742 if (ecp == NULL) { in common_get_params() 746 p->return_size = EC_POINT_point2oct(ecg, ecp, in common_get_params()
|