Home
last modified time | relevance | path

Searched refs:elliptic_curve (Results 1 – 25 of 113) sorted by relevance

12345

/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/elliptic_curves/include/LiDIA/
H A Delliptic_curve.h60 elliptic_curve();
61 elliptic_curve(const elliptic_curve< T > &);
62 elliptic_curve(const T & x4, const T & x6,
66 elliptic_curve(const T & x1, const T & x2,
71 ~elliptic_curve();
76 elliptic_curve< T > & operator = (const elliptic_curve< T > &);
77 void assign(const elliptic_curve< T > &);
102 elliptic_curve();
103 elliptic_curve(const elliptic_curve< gf_element > &);
114 ~elliptic_curve();
[all …]
H A Delliptic_curve.cc44 elliptic_curve< T >::elliptic_curve () in elliptic_curve() function in LiDIA::elliptic_curve
54 elliptic_curve< T >::elliptic_curve (const elliptic_curve< T > & E) in elliptic_curve() function in LiDIA::elliptic_curve
64 elliptic_curve< T >::elliptic_curve (const T & x4, const T & x6, in elliptic_curve() function in LiDIA::elliptic_curve
76 elliptic_curve< T >::elliptic_curve (const T & x1, const T & x2, in elliptic_curve() function in LiDIA::elliptic_curve
90 elliptic_curve< T >::~elliptic_curve () in ~elliptic_curve()
105 elliptic_curve< T > &
106 elliptic_curve< T >::operator = (const elliptic_curve< T > & E) in operator =()
119 elliptic_curve< T >::assign (const elliptic_curve< T > & E) in assign()
153 elliptic_curve< T >::j_invariant () const in j_invariant()
H A Delliptic_curve_bigint.h75 template< class T > class elliptic_curve; variable
79 class elliptic_curve< bigint > : public base_elliptic_curve< bigint >
92 elliptic_curve();
96 elliptic_curve(const bigint& x1, const bigint& x2, const bigint& x3,
106 elliptic_curve(const bigint& cc4, const bigint& cc6,
109 elliptic_curve(const elliptic_curve< bigint > & E);
110 virtual ~elliptic_curve();
117 elliptic_curve< bigint > & operator = (const elliptic_curve< bigint > & E);
118 void assign (const elliptic_curve< bigint > & E);
173 operator >> (std::istream & in, elliptic_curve< bigint > & ec)
[all …]
H A Dcurve_isomorphism.h68 bool find_urst(const elliptic_curve< S > & e1, const elliptic_curve< T > & e2, S& u, S& r, S& s, S&…
82 elliptic_curve< S > *ec1;
83 elliptic_curve< T > *ec2;
94 curve_isomorphism(elliptic_curve< S > &, elliptic_curve< T > &);
98 curve_isomorphism(elliptic_curve< S > & e1, elliptic_curve< T > & e2, in curve_isomorphism()
125 void init(elliptic_curve< S > & e1, elliptic_curve< T > & e2, in init()
187 bool are_isomorphic(const elliptic_curve< S > &, const elliptic_curve< T > &);
190 bool are_isomorphic(const elliptic_curve< S > &, const elliptic_curve< T > &,
196 elliptic_curve< S > make_isomorphic_curve(const elliptic_curve< T > &,
H A Dpoint.h43 template< class T > class elliptic_curve; variable
54 point(const T & xp, const T & yp, const elliptic_curve< T > & e);
55 point(const T & xp, const T & yp, const T & zp, const elliptic_curve< T > & e);
57 point(const elliptic_curve< T > &e);
77 point(const gf_element & xp, const gf_element & yp, const elliptic_curve< gf_element > & e);
78 …point(const gf_element & xp, const gf_element & yp, const gf_element & zp, const elliptic_curve< g…
80 point(const elliptic_curve< gf_element > &e);
H A Dpoint_bigint.h43 template< class T > class elliptic_curve; variable
63 elliptic_curve< bigint > *ec; // Must be a pointer to avoid include in both directions,
76 point(const bigint & xp, const bigint & yp, const elliptic_curve< bigint > &ecp);
77 point(const bigint & xp, const bigint& yp, const bigint& zp, const elliptic_curve< bigint > &ecp);
79 point(const elliptic_curve< bigint > &e);
86 void assign_zero(const elliptic_curve< bigint > & e);
88 void assign(const bigint & xx, const bigint & yy, const elliptic_curve< bigint > & e);
89 …void assign(const bigint & xx, const bigint & yy, const bigint &zz, const elliptic_curve< bigint >…
137 elliptic_curve< bigint > get_curve() const;
H A Dcurve_isomorphism.cc45 find_urst (const elliptic_curve< S > & e1, const elliptic_curve< T > & e2, S& u, S& r, S& s, S& t) in find_urst()
130 curve_isomorphism< S, T >::curve_isomorphism (elliptic_curve< S > & e1, elliptic_curve< T > & e2) in curve_isomorphism()
143 are_isomorphic (const elliptic_curve< S > & e1, const elliptic_curve< T > & e2) in are_isomorphic()
153 are_isomorphic (const elliptic_curve< S >& e1, const elliptic_curve< T >& e2, in are_isomorphic()
272 elliptic_curve< S >
273 make_isomorphic_curve (const elliptic_curve< T > & ee, in make_isomorphic_curve()
288 elliptic_curve< S > e(a1, a2, a3, a4, a6); in make_isomorphic_curve()
H A Dpoint.cc68 const elliptic_curve< T > & e) : base_point< T > () in point()
82 const elliptic_curve< T > & e) : base_point< T > () in point()
104 ::point(const elliptic_curve< T > &e) : base_point< T > () in point()
/dports/devel/dtool/dtool-0.11.0/cargo-crates/p256-0.9.0/src/
H A Dlib.rs67 pub use elliptic_curve::{self, bigint::U256};
78 pub use elliptic_curve::pkcs8;
104 impl elliptic_curve::Curve for NistP256 {
113 impl elliptic_curve::weierstrass::Curve for NistP256 {}
122 impl elliptic_curve::JwkParameters for NistP256 {
127 impl elliptic_curve::AlgorithmParameters for NistP256 {
137 pub type FieldBytes = elliptic_curve::FieldBytes<NistP256>;
148 pub type PublicKey = elliptic_curve::PublicKey<NistP256>;
153 pub type SecretKey = elliptic_curve::SecretKey<NistP256>;
156 impl elliptic_curve::sec1::ValidatePublicKey for NistP256 {}
[all …]
/dports/devel/dtool/dtool-0.11.0/cargo-crates/p384-0.8.0/src/
H A Dlib.rs24 pub use elliptic_curve;
27 pub use elliptic_curve::pkcs8;
29 use elliptic_curve::bigint::U384;
54 impl elliptic_curve::Curve for NistP384 {
63 impl elliptic_curve::weierstrass::Curve for NistP384 {}
65 impl elliptic_curve::weierstrass::PointCompression for NistP384 {
71 impl elliptic_curve::JwkParameters for NistP384 {
76 impl elliptic_curve::AlgorithmParameters for NistP384 {
83 pub type FieldBytes = elliptic_curve::FieldBytes<NistP384>;
91 pub type SecretKey = elliptic_curve::SecretKey<NistP384>;
[all …]
/dports/dns/doh-proxy/doh-proxy-0.9.2/cargo-crates/p256-0.7.3/src/
H A Dlib.rs67 pub use elliptic_curve;
79 pub use elliptic_curve::pkcs8;
81 use elliptic_curve::consts::U32;
105 impl elliptic_curve::Curve for NistP256 {
110 impl elliptic_curve::weierstrass::Curve for NistP256 {}
112 impl elliptic_curve::weierstrass::point::Compression for NistP256 {
118 impl elliptic_curve::AlgorithmParameters for NistP256 {
125 pub type FieldBytes = elliptic_curve::FieldBytes<NistP256>;
132 pub type PublicKey = elliptic_curve::PublicKey<NistP256>;
137 pub type SecretKey = elliptic_curve::SecretKey<NistP256>;
[all …]
/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/elliptic_curves/ec_rationals/
H A Dinstant_curve_isomorphism.cc40 template elliptic_curve< bigrational >
41 make_isomorphic_curve(const elliptic_curve< bigrational > &,
45 template elliptic_curve< bigrational >
46 make_isomorphic_curve(const elliptic_curve< bigint > &,
63 template bool find_urst(const elliptic_curve< bigrational > &,
64 const elliptic_curve< bigint > &, bigrational&,
66 template bool find_urst(const elliptic_curve< bigrational > &,
67 const elliptic_curve< bigrational > &, bigrational&,
H A Delliptic_curve_bigint.cc49 elliptic_curve< bigint >::elliptic_curve() in elliptic_curve() function in LiDIA::elliptic_curve
58 elliptic_curve< bigint >::elliptic_curve(const elliptic_curve< bigint > & E) in elliptic_curve() function in LiDIA::elliptic_curve
73 elliptic_curve< bigint >::elliptic_curve(const bigint & cc4, const bigint & cc6, in elliptic_curve() function in LiDIA::elliptic_curve
85 elliptic_curve< bigint >::elliptic_curve(const bigint & x1, const bigint & x2, in elliptic_curve() function in LiDIA::elliptic_curve
98 elliptic_curve< bigint >::~elliptic_curve() in ~elliptic_curve()
140 elliptic_curve< bigint >::assign (const elliptic_curve< bigint > & E) in assign()
174 elliptic_curve< bigint > &
175 elliptic_curve< bigint >::operator = (const elliptic_curve< bigint > & E) in operator =()
252 elliptic_curve< bigint >::make_torsion() in make_torsion()
579 elliptic_curve< bigint >::get_omega_1() in get_omega_1()
[all …]
H A Dpoint_bigint.cc51 ec = new elliptic_curve< bigint > (); in point()
58 const elliptic_curve< bigint > &ecp) in point()
67 ec = new elliptic_curve< bigint > (ecp); in point()
75 const elliptic_curve< bigint > &ecp) in point()
84 ec = new elliptic_curve< bigint > (ecp); in point()
99 ec = new elliptic_curve< bigint > (*(P.ec)); in point()
113 ec = new elliptic_curve< bigint > (e); in point()
129 elliptic_curve< bigint >
171 elliptic_curve< bigint > & e) in assign()
185 const elliptic_curve< bigint > & e) in assign()
[all …]
H A Dec_bigint_appl.cc39 elliptic_curve< bigrational > ER; in main_LiDIA()
40 elliptic_curve< bigint > Emin; in main_LiDIA()
65 elliptic_curve< bigint > Emincopy2; in main_LiDIA()
66 elliptic_curve< bigint > Emincopy1(Emin); in main_LiDIA()
105 elliptic_curve< bigint > E_from_periods = trans_to_curve(cp); in main_LiDIA()
/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/doc/
H A Dcurve_isomorphism.tex47 const elliptic_curve< T > & $E_2$}%
72 \begin{fcode}{void}{init}{const elliptic_curve< S > & $E_1$,
82 \begin{fcode}{int}{are_isomorphic}{const elliptic_curve < S > & $E_1$, const elliptic_curve < T > &…
86 \begin{fcode}{int}{are_isomorphic} {const elliptic_curve< S > & $E_1$,
92 \begin{fcode}{elliptic_curve< S >}{make_isomorphic_curve} {const elliptic_curve< T > & $E_2$, S & $…
146 #include <LiDIA/elliptic_curve.h>
152 elliptic_curve< bigrational > Er1(1,2,3,4,5);
153 elliptic_curve< bigrational > Er2(6,0,24,16,320);
154 elliptic_curve< bigint > Ei(1,2,3,4,5);
205 \SEE{elliptic_curve< T >},
[all …]
H A Delliptic_curve_bigint.tex6 %% elliptic_curve< bigint >
17 \code{elliptic_curve< bigint >} \dotfill class for holding the minimal model of a rational
37 This class is a specialization of the template class \code{elliptic_curve< T >} and is for
49 The constructors are the same as in the general template class \code{elliptic_curve< T >},
52 \begin{fcode}{ct}{elliptic_curve}{const bigint & $c_4$, const bigint & $c_6$}
76 These are the same as for the general template class \code{elliptic_curve< T >}.
83 These are almost the same as for the general template class \code{elliptic_curve< T >}, but
163 As for \code{elliptic_curve< T >}, except that ``long'' format now produces even more data. In
186 elliptic_curve< bigint > ER(a1, a2, a3, a4, a6);
216 \SEE{elliptic_curve< T >},
H A Delliptic_curve.tex3 %% elliptic_curve.tex Documentation
5 %% This file contains the documentation of the class elliptic_curve
69 \begin{fcode}{ct}{elliptic_curve< T >}{}
73 \begin{fcode}{ct}{elliptic_curve< T >}{const T & $a$, const T & $b$,
91 \begin{fcode}{dt}{~elliptic_curve< T >}{}
126 Let $C$ be an instance of type \code{elliptic_curve< T >}.
182 Let $C$ be an instance of \code{elliptic_curve< T >}.
209 \code{elliptic_curve< gf_element >}.
220 \begin{fcode}{point< T >}{random_point}{const elliptic_curve< T > & $C$}
334 #include <LiDIA/elliptic_curve.h>
[all …]
H A Dpoint_bigint.tex47 const elliptic_curve< bigint > & $E$}%
52 const bigint & $z$, const elliptic_curve< bigint > & $E$}%
60 \begin{fcode}{ct}{point< bigint >}{const elliptic_curve< bigint > & $E$}
75 \begin{fcode}{void}{$P$.assign_zero}{const elliptic_curve< bigint > & $E$}
84 const elliptic_curve< bigint > & $E$}%
89 const bigint & $z$, const elliptic_curve< bigint > & $E$}%
149 \begin{cfcode}{const elliptic_curve< bigint > *}{$P$.get_curve}{}
153 \begin{cfcode}{elliptic_curve< bigint >}{$P$.get_curve}{}
259 elliptic_curve< bigint > ER(a1, a2, a3, a4, a6);
305 \SEE{elliptic_curve< T >},
[all …]
H A DLiDIA_EC.tex25 \begin{class}{elliptic_curve}
26 \input{elliptic_curve}
33 \begin{class}{elliptic_curve< bigint >}
/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/elliptic_curves/ec_finite_fields/
H A Delliptic_curve_gf_element.cc41 elliptic_curve< gf_element >
42 ::elliptic_curve() in elliptic_curve() function in LiDIA::elliptic_curve
53 elliptic_curve< gf_element >
54 ::elliptic_curve(const elliptic_curve< gf_element > & E) in elliptic_curve() function in LiDIA::elliptic_curve
68 elliptic_curve< gf_element >
85 elliptic_curve< gf_element >
103 elliptic_curve< gf_element >
104 ::~elliptic_curve() in ~elliptic_curve()
118 elliptic_curve< gf_element > & elliptic_curve< gf_element >
130 void elliptic_curve< gf_element >
[all …]
/dports/devel/dtool/dtool-0.11.0/cargo-crates/ecdsa-0.12.4/src/
H A Ddev.rs4 use elliptic_curve::{
67 elliptic_curve::{
101 elliptic_curve::{
170 use $crate::{elliptic_curve::sec1::EncodedPoint, signature::Verifier, Signature};
175 use elliptic_curve::{bigint::Encoding as _, generic_array::typenum::Unsigned};
179 fn element_from_padded_slice<C: elliptic_curve::Curve>(
181 ) -> elliptic_curve::FieldBytes<C> {
188 elliptic_curve::FieldBytes::<C>::clone_from_slice(&data[offset..])
195 elliptic_curve::FieldBytes::<C>::from_exact_iter(iter).unwrap()
/dports/math/lidia/lidia-2.3.0+latte-patches-2014-10-04/src/elliptic_curves/include/LiDIA/elliptic_curves/
H A Dbase_point.h175 elliptic_curve< T > ec;
191 const elliptic_curve< T > & e);
195 const elliptic_curve< T > & e);
199 base_point(const elliptic_curve< T > &e);
211 void assign(const elliptic_curve< T > & e);
220 const elliptic_curve< T > & e);
226 const elliptic_curve< T > & e);
228 const elliptic_curve< T > & e);
408 const elliptic_curve< T > & e) in base_point()
421 const elliptic_curve< T > & e) in base_point()
[all …]
H A Delliptic_curve_rep_bigint.h66 template< class T > class elliptic_curve; variable
75 friend template elliptic_curve< bigint >;
77 friend class elliptic_curve< bigint >;
/dports/security/py-certbot/certbot-1.22.0/certbot/
H A Dcrypto_util.py57 elliptic_curve: str = "secp256r1", keyname: str = "key-certbot.pem",
82 bits=key_size, elliptic_curve=elliptic_curve or "secp256r1", key_type=key_type,
105 elliptic_curve: str = "secp256r1",
134 return generate_key(key_size, key_dir, key_type=key_type, elliptic_curve=elliptic_curve,
270 elliptic_curve: Optional[str] = None) -> bytes:
288 if not elliptic_curve:
291 name = elliptic_curve.upper()
294 curve=getattr(ec, elliptic_curve.upper(), None)(),
298 raise errors.Error("Unsupported elliptic curve: {}".format(elliptic_curve))
300 raise errors.Error("Unsupported elliptic curve: {}".format(elliptic_curve))

12345