Home
last modified time | relevance | path

Searched refs:mbedtls_ecp_point (Results 1 – 18 of 18) sorted by relevance

/trusted-firmware-m-latest/interface/include/mbedtls/
Decp.h158 typedef struct mbedtls_ecp_point { struct
163 mbedtls_ecp_point; typedef
243 mbedtls_ecp_point G; /*!< The generator of the subgroup used. */
254 int(*MBEDTLS_PRIVATE(t_pre))(mbedtls_ecp_point *, void *); /*!< Unused. */
255 int(*MBEDTLS_PRIVATE(t_post))(mbedtls_ecp_point *, void *); /*!< Unused. */
257 mbedtls_ecp_point *MBEDTLS_PRIVATE(T); /*!< Pre-computed points for ecp_mul_comb(). */
431 mbedtls_ecp_point MBEDTLS_PRIVATE(Q); /*!< our public value */
605 void mbedtls_ecp_point_init(mbedtls_ecp_point *pt);
630 void mbedtls_ecp_point_free(mbedtls_ecp_point *pt);
680 int mbedtls_ecp_copy(mbedtls_ecp_point *P, const mbedtls_ecp_point *Q);
[all …]
Decdh.h89 mbedtls_ecp_point MBEDTLS_PRIVATE(Q); /*!< The public key. */
90 mbedtls_ecp_point MBEDTLS_PRIVATE(Qp); /*!< The value of the public key of the peer. */
109 mbedtls_ecp_point MBEDTLS_PRIVATE(Q); /*!< The public key. */
110 mbedtls_ecp_point MBEDTLS_PRIVATE(Qp); /*!< The value of the public key of the peer. */
113 mbedtls_ecp_point MBEDTLS_PRIVATE(Vi); /*!< The blinding value. */
114 mbedtls_ecp_point MBEDTLS_PRIVATE(Vf); /*!< The unblinding value. */
191 int mbedtls_ecdh_gen_public(mbedtls_ecp_group *grp, mbedtls_mpi *d, mbedtls_ecp_point *Q,
227 const mbedtls_ecp_point *Q, const mbedtls_mpi *d,
Decjpake.h66 mbedtls_ecp_point MBEDTLS_PRIVATE(Xm1); /**< My public key 1 C: X1, S: X3 */
67 mbedtls_ecp_point MBEDTLS_PRIVATE(Xm2); /**< My public key 2 C: X2, S: X4 */
68 mbedtls_ecp_point MBEDTLS_PRIVATE(Xp1); /**< Peer public key 1 C: X3, S: X1 */
69 mbedtls_ecp_point MBEDTLS_PRIVATE(Xp2); /**< Peer public key 2 C: X4, S: X2 */
70 mbedtls_ecp_point MBEDTLS_PRIVATE(Xp); /**< Peer public key C: Xs, S: Xc */
Decdsa.h375 const mbedtls_ecp_point *Q, const mbedtls_mpi *r,
416 const mbedtls_ecp_point *Q,
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/shared/include/mbedtls/
Dcc_ecc_internal.h17 const mbedtls_ecp_point *G,
18 mbedtls_mpi *d, mbedtls_ecp_point *Q,
26 mbedtls_mpi *d, mbedtls_ecp_point *Q,
36 int cc_ecp_mul( mbedtls_ecp_group *grp, mbedtls_ecp_point *R,
37 const mbedtls_mpi *m, const mbedtls_ecp_point *P,
/trusted-firmware-m-latest/platform/ext/target/stm/common/hal/accelerator/
Decp_alt.h98 mbedtls_ecp_point G; /*!< The generator of the subgroup used. */
107 int (*t_pre)(mbedtls_ecp_point *, void *); /*!< Unused. */
108 int (*t_post)(mbedtls_ecp_point *, void *); /*!< Unused. */
110 mbedtls_ecp_point *T; /*!< Pre-computed points for ecp_mul_comb(). */
Decp_alt.c154 mbedtls_ecp_point R; /* current intermediate result */
156 mbedtls_ecp_point *T; /* table for precomputed points */
208 mbedtls_ecp_point mP; /* mP value */
209 mbedtls_ecp_point R; /* R intermediate result */
516 void mbedtls_ecp_point_init( mbedtls_ecp_point *pt ) in mbedtls_ecp_point_init()
577 void mbedtls_ecp_point_free( mbedtls_ecp_point *pt ) in mbedtls_ecp_point_free()
666 int mbedtls_ecp_copy( mbedtls_ecp_point *P, const mbedtls_ecp_point *Q ) in mbedtls_ecp_copy()
694 int mbedtls_ecp_set_zero( mbedtls_ecp_point *pt ) in mbedtls_ecp_set_zero()
710 int mbedtls_ecp_is_zero( mbedtls_ecp_point *pt ) in mbedtls_ecp_is_zero()
720 int mbedtls_ecp_point_cmp( const mbedtls_ecp_point *P, in mbedtls_ecp_point_cmp()
[all …]
Decdsa_alt.c195 const mbedtls_ecp_point *Q, in mbedtls_ecdsa_verify()
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/cc3x/
Dmbedtls_cc_ecdsa_edwards.h116 const mbedtls_ecp_point *Q,
132 mbedtls_ecp_point *Q,
148 const mbedtls_ecp_point *Q,
Dmbedtls_cc_ecies.h81 mbedtls_ecp_point *pRecipUzPublKey,
94 mbedtls_ecp_point *pExtEphUzPublicKey,
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Dcc_ecp_internal.c143 static int ecp_mont_mul( mbedtls_ecp_point *R, in ecp_mont_mul()
144 const mbedtls_mpi *m, const mbedtls_ecp_point *P ) in ecp_mont_mul()
211 static int ecp_wrst_mul( mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in ecp_wrst_mul()
212 const mbedtls_mpi *m, const mbedtls_ecp_point *P ) in ecp_wrst_mul()
280 int cc_ecp_mul( mbedtls_ecp_group *grp, mbedtls_ecp_point *R, in cc_ecp_mul()
281 const mbedtls_mpi *m, const mbedtls_ecp_point *P, in cc_ecp_mul()
333 … const mbedtls_ecp_point *G, /* can be NULL in order to use the curve generator*/ in ecp_mont_gen_keypair_base()
334 mbedtls_mpi *d, mbedtls_ecp_point *Q, in ecp_mont_gen_keypair_base()
452 … const mbedtls_ecp_point *G, /* can be NULL in order to use the curve generator*/ in ecp_wrst_gen_keypair_base()
453 mbedtls_mpi *d, mbedtls_ecp_point *Q, in ecp_wrst_gen_keypair_base()
[all …]
Decdh_alt.c20 mbedtls_mpi *d, mbedtls_ecp_point *Q, in cc_ecp_gen_keypair()
30 int mbedtls_ecdh_gen_public( mbedtls_ecp_group *grp, mbedtls_mpi *d, mbedtls_ecp_point *Q, in mbedtls_ecdh_gen_public()
43 const mbedtls_ecp_point *Q, const mbedtls_mpi *d, in mbedtls_ecdh_compute_shared()
48 mbedtls_ecp_point P; in mbedtls_ecdh_compute_shared()
Decdsa_edwards.c71 mbedtls_ecp_point *Q; in mbedtls_ecdsa_genkey_edwards()
261 … const mbedtls_ecp_point *Q, const mbedtls_mpi *r, const mbedtls_mpi *s) in mbedtls_ecdsa_verify_edwards()
354 int mbedtls_ecdsa_public_key_read_edwards( mbedtls_ecp_point *Q, in mbedtls_ecdsa_public_key_read_edwards()
387 int mbedtls_ecdsa_public_key_write_edwards( const mbedtls_ecp_point *Q, in mbedtls_ecdsa_public_key_write_edwards()
Decdsa_alt.c244 const mbedtls_ecp_point *Q, const mbedtls_mpi *r, const mbedtls_mpi *s) in ecdsa_wrst_verify()
349 const mbedtls_ecp_point *Q, const mbedtls_mpi *r, const mbedtls_mpi *s) in mbedtls_ecdsa_verify()
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/
Drun_integration_ecies.c62 mbedtls_ecp_point *pQ = NULL; in runIt_eciesRandom()
93 ALLOC_STRUCT(mbedtls_ecp_point, qPtr, pQ); in runIt_eciesRandom()
198 mbedtls_ecp_point *pQ = NULL; in runIt_eciesVector()
200 mbedtls_ecp_point *pQEph = NULL; in runIt_eciesVector()
226 ALLOC_STRUCT(mbedtls_ecp_point, qPtr, pQ); in runIt_eciesVector()
227 ALLOC_STRUCT(mbedtls_ecp_point, qEphPtr, pQEph); in runIt_eciesVector()
Drun_integration_ecdh.c60 mbedtls_ecp_point *pQA = NULL; in runIt_ecdhPrimRandom()
61 mbedtls_ecp_point *pQB = NULL; in runIt_ecdhPrimRandom()
83 ALLOC_STRUCT(mbedtls_ecp_point, qAPtr, pQA); in runIt_ecdhPrimRandom()
84 ALLOC_STRUCT(mbedtls_ecp_point, qBPtr, pQB); in runIt_ecdhPrimRandom()
Drun_integration_ecdsa.c71 mbedtls_ecp_point *pQ = NULL; in runIt_ecdsaPrimRandomTest()
84 ALLOC_STRUCT(mbedtls_ecp_point, qPtr, pQ); in runIt_ecdsaPrimRandomTest()
175 mbedtls_ecp_point *pQ = NULL; in runIt_ecdsaPrimVectorsTest()
196 ALLOC_STRUCT(mbedtls_ecp_point, qPtr, pQ); in runIt_ecdsaPrimVectorsTest()
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/
Dmbedtls_cc_ecies.c57 mbedtls_ecp_point *pPubKey, /*in*/ in ecies_convert_mbed_to_cc_public_key()
166 mbedtls_ecp_point *pRecipUzPublKey, in mbedtls_ecies_kem_encrypt_full()
170 mbedtls_ecp_point *pExtEphUzPublicKey, in mbedtls_ecies_kem_encrypt_full()