Home
last modified time | relevance | path

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

/optee_os/lib/libmbedtls/mbedtls/library/
H A Decp_internal_alt.h109 mbedtls_ecp_point *pt, int (*f_rng)(void *,
156 mbedtls_ecp_point *R, const mbedtls_ecp_point *P,
157 const mbedtls_ecp_point *Q);
181 mbedtls_ecp_point *R, const mbedtls_ecp_point *P);
211 mbedtls_ecp_point *T[], size_t t_len);
229 mbedtls_ecp_point *pt);
238 mbedtls_ecp_point *R,
239 mbedtls_ecp_point *S,
240 const mbedtls_ecp_point *P,
241 const mbedtls_ecp_point *Q,
[all …]
H A Decp.c125 mbedtls_ecp_point R; /* current intermediate result */
127 mbedtls_ecp_point *T; /* table for precomputed points */
179 mbedtls_ecp_point mP; /* mP value */
180 mbedtls_ecp_point R; /* R intermediate result */
506 void mbedtls_ecp_point_init(mbedtls_ecp_point *pt) in mbedtls_ecp_point_init()
548 void mbedtls_ecp_point_free(mbedtls_ecp_point *pt) in mbedtls_ecp_point_free()
621 int mbedtls_ecp_copy(mbedtls_ecp_point *P, const mbedtls_ecp_point *Q) in mbedtls_ecp_copy()
643 int mbedtls_ecp_set_zero(mbedtls_ecp_point *pt) in mbedtls_ecp_set_zero()
657 int mbedtls_ecp_is_zero(mbedtls_ecp_point *pt) in mbedtls_ecp_is_zero()
665 int mbedtls_ecp_point_cmp(const mbedtls_ecp_point *P, in mbedtls_ecp_point_cmp()
[all …]
H A Decjpake.c160 const mbedtls_ecp_point *P) in ecjpake_write_len_point()
195 const mbedtls_ecp_point *G, in ecjpake_hash()
196 const mbedtls_ecp_point *V, in ecjpake_hash()
197 const mbedtls_ecp_point *X, in ecjpake_hash()
246 const mbedtls_ecp_point *G, in ecjpake_zkp_read()
247 const mbedtls_ecp_point *X, in ecjpake_zkp_read()
253 mbedtls_ecp_point V, VV; in ecjpake_zkp_read()
316 const mbedtls_ecp_point *G, in ecjpake_zkp_write()
318 const mbedtls_ecp_point *X, in ecjpake_zkp_write()
326 mbedtls_ecp_point V; in ecjpake_zkp_write()
[all …]
H A Decdh.c55 mbedtls_mpi *d, mbedtls_ecp_point *Q, in ecdh_gen_public_restartable()
81 int mbedtls_ecdh_gen_public(mbedtls_ecp_group *grp, mbedtls_mpi *d, mbedtls_ecp_point *Q, in mbedtls_ecdh_gen_public()
95 const mbedtls_ecp_point *Q, const mbedtls_mpi *d, in ecdh_compute_shared_restartable()
101 mbedtls_ecp_point P; in ecdh_compute_shared_restartable()
125 const mbedtls_ecp_point *Q, const mbedtls_mpi *d, in mbedtls_ecdh_compute_shared()
H A Ddebug_internal.h115 const char *text, const mbedtls_ecp_point *X);
H A Decdsa.c253 mbedtls_ecp_point R; in mbedtls_ecdsa_sign_restartable()
490 const mbedtls_ecp_point *Q, in mbedtls_ecdsa_verify_restartable()
497 mbedtls_ecp_point R; in mbedtls_ecdsa_verify_restartable()
598 const mbedtls_ecp_point *Q, in mbedtls_ecdsa_verify()
H A Decp_curves.c247 static const mbedtls_ecp_point secp192r1_T[16] = {
497 static const mbedtls_ecp_point secp224r1_T[16] = {
747 static const mbedtls_ecp_point secp256r1_T[16] = {
1328 static const mbedtls_ecp_point secp384r1_T[32] = {
2132 static const mbedtls_ecp_point secp521r1_T[32] = {
2360 static const mbedtls_ecp_point secp192k1_T[16] = {
2609 static const mbedtls_ecp_point secp224k1_T[16] = {
2857 static const mbedtls_ecp_point secp256k1_T[16] = {
3114 static const mbedtls_ecp_point brainpoolP256r1_T[16] = {
3704 static const mbedtls_ecp_point brainpoolP384r1_T[32] = {
[all …]
H A Decp_curves_new.c252 static const mbedtls_ecp_point secp192r1_T[16] = {
502 static const mbedtls_ecp_point secp224r1_T[16] = {
752 static const mbedtls_ecp_point secp256r1_T[16] = {
1333 static const mbedtls_ecp_point secp384r1_T[32] = {
2137 static const mbedtls_ecp_point secp521r1_T[32] = {
2365 static const mbedtls_ecp_point secp192k1_T[16] = {
2614 static const mbedtls_ecp_point secp224k1_T[16] = {
2862 static const mbedtls_ecp_point secp256k1_T[16] = {
3119 static const mbedtls_ecp_point brainpoolP256r1_T[16] = {
3709 static const mbedtls_ecp_point brainpoolP384r1_T[32] = {
[all …]
H A Ddebug.c173 const char *text, const mbedtls_ecp_point *X) in mbedtls_debug_print_ecp()
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Decp.h160 typedef struct mbedtls_ecp_point { struct
165 mbedtls_ecp_point; typedef
245 mbedtls_ecp_point G; /*!< The generator of the subgroup used. */
256 int(*MBEDTLS_PRIVATE(t_pre))(mbedtls_ecp_point *, void *); /*!< Unused. */
257 int(*MBEDTLS_PRIVATE(t_post))(mbedtls_ecp_point *, void *); /*!< Unused. */
259 mbedtls_ecp_point *MBEDTLS_PRIVATE(T); /*!< Pre-computed points for ecp_mul_comb(). */
433 mbedtls_ecp_point MBEDTLS_PRIVATE(Q); /*!< our public value */
607 void mbedtls_ecp_point_init(mbedtls_ecp_point *pt);
632 void mbedtls_ecp_point_free(mbedtls_ecp_point *pt);
682 int mbedtls_ecp_copy(mbedtls_ecp_point *P, const mbedtls_ecp_point *Q);
[all …]
H A 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,
H A 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 */
H A Decdsa.h377 const mbedtls_ecp_point *Q, const mbedtls_mpi *r,
418 const mbedtls_ecp_point *Q,
/optee_os/lib/libmbedtls/core/
H A Dsm2-pke.c25 mbedtls_ecp_point *p, const uint8_t *x1y1, in sm2_uncompressed_bytes_to_point()
65 mbedtls_ecp_point *p, const uint8_t *buf, in sm2_bytes_to_point()
116 mbedtls_ecp_point C1 = { }; in sm2_mbedtls_pke_decrypt()
118 mbedtls_ecp_point x2y2p = { }; in sm2_mbedtls_pke_decrypt()
272 const mbedtls_ecp_point *p) in sm2_point_to_bytes()
308 mbedtls_ecp_point x2y2p = { }; in sm2_mbedtls_pke_encrypt()
309 mbedtls_ecp_point PB = { }; in sm2_mbedtls_pke_encrypt()
310 mbedtls_ecp_point C1 = { }; in sm2_mbedtls_pke_encrypt()
H A Dsm2-dsa.c31 mbedtls_ecp_point x1y1p = { }; in sm2_mbedtls_dsa_sign()
161 mbedtls_ecp_point x1y1p = { }; in sm2_mbedtls_dsa_verify()
162 mbedtls_ecp_point PA = { }; in sm2_mbedtls_dsa_verify()
H A Dsm2-kep.c134 mbedtls_ecp_point *UV, const uint8_t *ZAZB, in sm2_kep_compute_S()
293 mbedtls_ecp_point PB = { }; in crypto_acipher_sm2_kep_derive()
294 mbedtls_ecp_point RB = { }; in crypto_acipher_sm2_kep_derive()
295 mbedtls_ecp_point U = { }; in crypto_acipher_sm2_kep_derive()
/optee_os/ta/pkcs11/src/
H A Dpkcs11_attributes.c931 mbedtls_ecp_point key_pair_Q = { }; in create_ec_priv_key_hidden_attributes()