Home
last modified time | relevance | path

Searched refs:EC_POINT (Results 1 – 25 of 89) sorted by relevance

1234

/external/boringssl/src/include/openssl/
Dec.h130 OPENSSL_EXPORT const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group);
175 OPENSSL_EXPORT EC_POINT *EC_POINT_new(const EC_GROUP *group);
178 OPENSSL_EXPORT void EC_POINT_free(EC_POINT *point);
182 OPENSSL_EXPORT int EC_POINT_copy(EC_POINT *dest, const EC_POINT *src);
186 OPENSSL_EXPORT EC_POINT *EC_POINT_dup(const EC_POINT *src,
192 EC_POINT *point);
197 const EC_POINT *point);
203 const EC_POINT *point, BN_CTX *ctx);
207 OPENSSL_EXPORT int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a,
208 const EC_POINT *b, BN_CTX *ctx);
[all …]
Decdh.h89 void *out, size_t outlen, const EC_POINT *pub_key, const EC_KEY *priv_key,
105 const EC_POINT *pub_key,
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dec.h130 OPENSSL_EXPORT const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group);
175 OPENSSL_EXPORT EC_POINT *EC_POINT_new(const EC_GROUP *group);
178 OPENSSL_EXPORT void EC_POINT_free(EC_POINT *point);
182 OPENSSL_EXPORT int EC_POINT_copy(EC_POINT *dest, const EC_POINT *src);
186 OPENSSL_EXPORT EC_POINT *EC_POINT_dup(const EC_POINT *src,
192 EC_POINT *point);
197 const EC_POINT *point);
203 const EC_POINT *point, BN_CTX *ctx);
207 OPENSSL_EXPORT int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a,
208 const EC_POINT *b, BN_CTX *ctx);
[all …]
Decdh.h89 void *out, size_t outlen, const EC_POINT *pub_key, const EC_KEY *priv_key,
105 const EC_POINT *pub_key,
/external/boringssl/src/crypto/fipsmodule/ec/
Dec_test.cc138 const EC_POINT *p, point_conversion_form_t form) { in EncodeECPoint()
163 const EC_POINT *pub_key = EC_KEY_get0_public_key(key.get()); in TEST()
272 bssl::UniquePtr<EC_POINT> generator(EC_POINT_new(group.get())); in TEST()
285 bssl::UniquePtr<EC_POINT> point(EC_POINT_new(group.get())); in TEST()
306 bssl::UniquePtr<EC_POINT> generator2(EC_POINT_new(group2.get())); in TEST()
320 bssl::UniquePtr<EC_POINT> generator3(EC_POINT_new(group3.get())); in TEST()
342 bssl::UniquePtr<EC_POINT> generator4(EC_POINT_new(group4.get())); in TEST()
359 bssl::UniquePtr<EC_POINT> generator5(EC_POINT_new(group5.get())); in TEST()
460 bssl::UniquePtr<EC_POINT> g(EC_POINT_new(group.get())); in TEST()
467 bssl::UniquePtr<EC_POINT> q(EC_POINT_new(group.get())); in TEST()
[all …]
Dec.c84 static void ec_point_free(EC_POINT *point, int free_group);
390 int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, in EC_GROUP_set_generator()
613 const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group) { in EC_GROUP_get0_generator()
680 EC_POINT *EC_POINT_new(const EC_GROUP *group) { in EC_POINT_new()
686 EC_POINT *ret = OPENSSL_malloc(sizeof *ret); in EC_POINT_new()
697 static void ec_point_free(EC_POINT *point, int free_group) { in ec_point_free()
707 void EC_POINT_free(EC_POINT *point) { in EC_POINT_free()
711 void EC_POINT_clear_free(EC_POINT *point) { EC_POINT_free(point); } in EC_POINT_clear_free()
713 int EC_POINT_copy(EC_POINT *dest, const EC_POINT *src) { in EC_POINT_copy()
725 EC_POINT *EC_POINT_dup(const EC_POINT *a, const EC_GROUP *group) { in EC_POINT_dup()
[all …]
Doct.c135 static int ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point, in ec_GFp_simple_oct2point()
201 int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *point, in EC_POINT_oct2point()
210 size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point, in EC_POINT_point2oct()
225 EC_POINT *point, const BIGNUM *x, in EC_POINT_set_compressed_coordinates_GFp()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/
Dec_test.cc138 const EC_POINT *p, point_conversion_form_t form) { in EncodeECPoint()
163 const EC_POINT *pub_key = EC_KEY_get0_public_key(key.get()); in TEST()
272 bssl::UniquePtr<EC_POINT> generator(EC_POINT_new(group.get())); in TEST()
285 bssl::UniquePtr<EC_POINT> point(EC_POINT_new(group.get())); in TEST()
306 bssl::UniquePtr<EC_POINT> generator2(EC_POINT_new(group2.get())); in TEST()
320 bssl::UniquePtr<EC_POINT> generator3(EC_POINT_new(group3.get())); in TEST()
342 bssl::UniquePtr<EC_POINT> generator4(EC_POINT_new(group4.get())); in TEST()
359 bssl::UniquePtr<EC_POINT> generator5(EC_POINT_new(group5.get())); in TEST()
460 bssl::UniquePtr<EC_POINT> g(EC_POINT_new(group.get())); in TEST()
467 bssl::UniquePtr<EC_POINT> q(EC_POINT_new(group.get())); in TEST()
[all …]
Dec.c84 static void ec_point_free(EC_POINT *point, int free_group);
390 int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, in EC_GROUP_set_generator()
613 const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group) { in EC_GROUP_get0_generator()
680 EC_POINT *EC_POINT_new(const EC_GROUP *group) { in EC_POINT_new()
686 EC_POINT *ret = OPENSSL_malloc(sizeof *ret); in EC_POINT_new()
697 static void ec_point_free(EC_POINT *point, int free_group) { in ec_point_free()
707 void EC_POINT_free(EC_POINT *point) { in EC_POINT_free()
711 void EC_POINT_clear_free(EC_POINT *point) { EC_POINT_free(point); } in EC_POINT_clear_free()
713 int EC_POINT_copy(EC_POINT *dest, const EC_POINT *src) { in EC_POINT_copy()
725 EC_POINT *EC_POINT_dup(const EC_POINT *a, const EC_GROUP *group) { in EC_POINT_dup()
[all …]
Doct.c135 static int ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point, in ec_GFp_simple_oct2point()
201 int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *point, in EC_POINT_oct2point()
210 size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point, in EC_POINT_point2oct()
225 EC_POINT *point, const BIGNUM *x, in EC_POINT_set_compressed_coordinates_GFp()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLECPointContext.java24 private final NativeRef.EC_POINT pointCtx;
26 OpenSSLECPointContext(OpenSSLECGroupContext group, NativeRef.EC_POINT pointCtx) { in OpenSSLECPointContext()
50 NativeRef.EC_POINT getNativeRef() { in getNativeRef()
56 OpenSSLECPointContext point = new OpenSSLECPointContext(group, new NativeRef.EC_POINT( in getInstance()
DNativeRef.java84 static final class EC_POINT extends NativeRef { class in NativeRef
85 EC_POINT(long nativePointer) { in EC_POINT() method in NativeRef.EC_POINT
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLECPointContext.java25 private final NativeRef.EC_POINT pointCtx;
27 OpenSSLECPointContext(OpenSSLECGroupContext group, NativeRef.EC_POINT pointCtx) { in OpenSSLECPointContext()
51 NativeRef.EC_POINT getNativeRef() { in getNativeRef()
57 OpenSSLECPointContext point = new OpenSSLECPointContext(group, new NativeRef.EC_POINT( in getInstance()
DNativeRef.java85 static final class EC_POINT extends NativeRef { class in NativeRef
86 EC_POINT(long nativePointer) { in EC_POINT() method in NativeRef.EC_POINT
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ossl/
DTpmToOsslMath.c414 EC_POINT *pIn, // IN: the point to return in PointFromOssl()
444 static EC_POINT *
450 EC_POINT *P = NULL; in EcPointInitialized()
487 EC_POINT *P = NULL; in BnCurveInitialize()
555 EC_POINT *pR = EC_POINT_new(E->G); in BnEccModMult()
556 EC_POINT *pS = EcPointInitialized(S, E); in BnEccModMult()
584 EC_POINT *pR = EC_POINT_new(E->G); in BnEccModMult2()
586 EC_POINT *pQ = EcPointInitialized(Q, E); in BnEccModMult2()
614 EC_POINT *pR = EC_POINT_new(E->G); in BnEccAdd()
615 EC_POINT *pS = EcPointInitialized(S, E); in BnEccAdd()
[all …]
/external/openssh/
Dpacket.h28 # define EC_POINT void macro
34 # define EC_POINT void macro
192 int sshpkt_put_ec(struct ssh *ssh, const EC_POINT *v, const EC_GROUP *g);
204 int sshpkt_get_ec(struct ssh *ssh, EC_POINT *v, const EC_GROUP *g);
214 # undef EC_POINT
218 # undef EC_POINT
Dsshbuf-getput-crypto.c60 get_ec(const u_char *d, size_t len, EC_POINT *v, const EC_GROUP *g) in get_ec()
74 sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g) in sshbuf_get_ec()
97 EC_POINT *pt = EC_POINT_new(EC_KEY_get0_group(v)); in sshbuf_get_eckey()
154 sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g) in sshbuf_put_ec()
Dsshkey.h40 # define EC_POINT void macro
48 # define EC_POINT void macro
217 int sshkey_ec_validate_public(const EC_GROUP *, const EC_POINT *);
245 void sshkey_dump_ec_point(const EC_GROUP *, const EC_POINT *);
325 # undef EC_POINT
329 # undef EC_POINT
Dkexecdh.c54 const EC_POINT *public_key; in kex_ecdh_keypair()
96 const EC_POINT *pub_key; in kex_ecdh_enc()
143 EC_POINT *dh_pub = NULL; in kex_ecdh_dec_key_group()
Dkex.h41 # define EC_POINT void macro
48 # define EC_POINT void macro
256 # undef EC_POINT
/external/wpa_supplicant_8/src/common/
Ddpp_i.h92 const EC_POINT *point);
115 EC_POINT * dpp_pkex_derive_Qi(const struct dpp_curve_params *curve,
119 EC_POINT * dpp_pkex_derive_Qr(const struct dpp_curve_params *curve,
136 EC_POINT * dpp_decrypt_e_id(EVP_PKEY *ppkey, EVP_PKEY *a_nonce,
145 EC_POINT *e_id; /* E-id */
Ddpp_crypto.c147 const EC_POINT *point) in dpp_debug_print_point()
189 const EC_POINT *point; in dpp_debug_print_key()
433 EC_POINT *point = NULL; in dpp_set_pubkey_point_group()
641 const EC_POINT *point; in dpp_bootstrap_key_der()
1587 EC_POINT *l = NULL; in dpp_auth_derive_l_responder()
1589 const EC_POINT *BI_point; in dpp_auth_derive_l_responder()
1651 EC_POINT *l = NULL, *sum = NULL; in dpp_auth_derive_l_initiator()
1653 const EC_POINT *BR_point, *PR_point; in dpp_auth_derive_l_initiator()
2030 EC_POINT * dpp_pkex_derive_Qi(const struct dpp_curve_params *curve, in dpp_pkex_derive_Qi()
2039 EC_POINT *Qi = NULL; in dpp_pkex_derive_Qi()
[all …]
/external/boringssl/src/crypto/evp/
Dp_ec_asn1.c71 const EC_POINT *public_key = EC_KEY_get0_public_key(ec_key); in eckey_pub_encode()
96 EC_POINT *point = NULL; in eckey_pub_decode()
131 const EC_POINT *pa = EC_KEY_get0_public_key(a->pkey.ec), in eckey_pub_cmp()
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Dp_ec_asn1.c71 const EC_POINT *public_key = EC_KEY_get0_public_key(ec_key); in eckey_pub_encode()
96 EC_POINT *point = NULL; in eckey_pub_decode()
131 const EC_POINT *pa = EC_KEY_get0_public_key(a->pkey.ec), in eckey_pub_cmp()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c1770 EC_POINT_clear_free((EC_POINT *) p); in crypto_ec_point_deinit()
1772 EC_POINT_free((EC_POINT *) p); in crypto_ec_point_deinit()
1780 (const EC_POINT *) p, in crypto_ec_point_x()
1800 EC_POINT_get_affine_coordinates_GFp(e->group, (EC_POINT *) point, in crypto_ec_point_to_bin()
1823 EC_POINT *elem; in crypto_ec_point_from_bin()
1858 return EC_POINT_add(e->group, (EC_POINT *) c, (const EC_POINT *) a, in crypto_ec_point_add()
1859 (const EC_POINT *) b, e->bnctx) ? 0 : -1; in crypto_ec_point_add()
1869 return EC_POINT_mul(e->group, (EC_POINT *) res, NULL, in crypto_ec_point_mul()
1870 (const EC_POINT *) p, (const BIGNUM *) b, e->bnctx) in crypto_ec_point_mul()
1879 return EC_POINT_invert(e->group, (EC_POINT *) p, e->bnctx) ? 0 : -1; in crypto_ec_point_invert()
[all …]

1234