/third_party/openssl/test/ssl-tests/ |
D | 14-curves.conf | 5 test-0 = 0-curve-sect163k1 6 test-1 = 1-curve-sect163r1 7 test-2 = 2-curve-sect163r2 8 test-3 = 3-curve-sect193r1 9 test-4 = 4-curve-sect193r2 10 test-5 = 5-curve-sect233k1 11 test-6 = 6-curve-sect233r1 12 test-7 = 7-curve-sect239k1 13 test-8 = 8-curve-sect283k1 14 test-9 = 9-curve-sect283r1 [all …]
|
D | 14-curves.conf.in | 26 my $curve = $curves[$_]; 28 name => "curve-${curve}", 30 "Curves" => $curve, 37 "Curves" => $curve 40 "ExpectedTmpKeyType" => $curve,
|
/third_party/mbedtls/tests/scripts/ |
D | curves.pl | 63 for my $curve ($stanza =~ /(?<=\()MBEDTLS_ECP_DP_\w+_ENABLED(?=\))/g) { 64 $curve_supports_ecdsa{$curve} = 1; 81 for my $curve (@curves) { 82 system( "scripts/config.pl unset $curve" ) 83 and abort "Failed to disable $curve\n"; 90 for my $curve (@curves) { 94 print "* Testing with only curve: $curve\n"; 96 $ENV{MBEDTLS_TEST_CONFIGURATION} = "$curve"; 98 system( "scripts/config.pl set $curve" ) 99 and abort "Failed to enable $curve\n"; [all …]
|
/third_party/node/deps/npm/node_modules/ecc-jsbn/lib/ |
D | sec.js | 12 function X9ECParameters(curve,g,n,h) { argument 13 this.curve = curve; 20 return this.curve; 53 var curve = new ECCurveFp(p, a, b); 54 var G = curve.decodePointHex("04" 57 return new X9ECParameters(curve, G, n, h); 68 var curve = new ECCurveFp(p, a, b); 69 var G = curve.decodePointHex("04" 72 return new X9ECParameters(curve, G, n, h); 83 var curve = new ECCurveFp(p, a, b); [all …]
|
D | ec.js | 65 function ECPointFp(curve,x,y,z) { argument 66 this.curve = curve; 83 this.zinv = this.z.modInverse(this.curve.q); 86 this.curve.reduce(r); 87 return this.curve.fromBigInteger(r); 92 this.zinv = this.z.modInverse(this.curve.q); 95 this.curve.reduce(r); 96 return this.curve.fromBigInteger(r); 105 …oBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(other.z)).mod(this.curve.q); 108 …oBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(other.z)).mod(this.curve.q); [all …]
|
/third_party/skia/src/pathops/ |
D | SkOpEdgeBuilder.cpp | 33 static bool can_add_curve(SkPath::Verb verb, SkPoint* curve) { in can_add_curve() argument 38 curve[index] = force_small_to_zero(curve[index]); in can_add_curve() 40 return SkPath::kLine_Verb != verb || !SkDPoint::ApproximatelyEqual(curve[0], curve[1]); in can_add_curve() 89 SkPoint curve[4]; in preFetch() local 96 closeContour(curve[0], curveStart); in preFetch() 99 curve[0] = force_small_to_zero(pts[0]); in preFetch() 100 *fPathPts.append() = curve[0]; in preFetch() 101 curveStart = curve[0]; in preFetch() 105 curve[1] = force_small_to_zero(pts[1]); in preFetch() 106 if (SkDPoint::ApproximatelyEqual(curve[0], curve[1])) { in preFetch() [all …]
|
D | SkPathOpsRect.h | 52 void setBounds(const SkDConic& curve) { in setBounds() 53 setBounds(curve, curve, 0, 1); in setBounds() 56 void setBounds(const SkDConic& curve, const SkDConic& sub, double tStart, double tEnd); 58 void setBounds(const SkDCubic& curve) { in setBounds() 59 setBounds(curve, curve, 0, 1); in setBounds() 62 void setBounds(const SkDCubic& curve, const SkDCubic& sub, double tStart, double tEnd); 64 void setBounds(const SkDQuad& curve) { in setBounds() 65 setBounds(curve, curve, 0, 1); in setBounds() 68 void setBounds(const SkDQuad& curve, const SkDQuad& sub, double tStart, double tEnd); 70 void setBounds(const SkTCurve& curve);
|
D | SkPathOpsRect.cpp | 13 void SkDRect::setBounds(const SkDQuad& curve, const SkDQuad& sub, double startT, double endT) { in setBounds() argument 26 add(curve.ptAtT(t)); in setBounds() 30 void SkDRect::setBounds(const SkDConic& curve, const SkDConic& sub, double startT, double endT) { in setBounds() argument 43 add(curve.ptAtT(t)); in setBounds() 47 void SkDRect::setBounds(const SkDCubic& curve, const SkDCubic& sub, double startT, double endT) { in setBounds() argument 60 add(curve.ptAtT(t)); in setBounds() 64 void SkDRect::setBounds(const SkTCurve& curve) { in setBounds() argument 65 curve.setBounds(this); in setBounds()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | dpp_pkex.c | 38 const struct dpp_curve_params *curve = pkex->own_bi->curve; in dpp_pkex_build_exchange_req() local 44 Qi = dpp_pkex_derive_Qi(curve, v2 ? NULL : pkex->own_mac, pkex->code, in dpp_pkex_build_exchange_req() 60 pkex->x = dpp_gen_keypair(curve); in dpp_pkex_build_exchange_req() 63 pkex->x = dpp_gen_keypair(curve); in dpp_pkex_build_exchange_req() 87 attr_len += 4 + 2 * curve->prime_len; in dpp_pkex_build_exchange_req() 112 wpabuf_put_le16(msg, curve->ike_group); in dpp_pkex_build_exchange_req() 134 wpabuf_put_le16(msg, 2 * curve->prime_len); in dpp_pkex_build_exchange_req() 139 if (dpp_test_gen_invalid_key(msg, curve) < 0) in dpp_pkex_build_exchange_req() 145 Mx = wpabuf_put(msg, curve->prime_len); in dpp_pkex_build_exchange_req() 146 My = wpabuf_put(msg, curve->prime_len); in dpp_pkex_build_exchange_req() [all …]
|
D | dpp_crypto.c | 99 static int dpp_hash_vector(const struct dpp_curve_params *curve, in dpp_hash_vector() argument 103 if (curve->hash_len == 32) in dpp_hash_vector() 105 if (curve->hash_len == 48) in dpp_hash_vector() 107 if (curve->hash_len == 64) in dpp_hash_vector() 249 struct crypto_ec_key * dpp_gen_keypair(const struct dpp_curve_params *curve) in dpp_gen_keypair() argument 255 key = crypto_ec_key_gen(curve->ike_group); in dpp_gen_keypair() 263 struct crypto_ec_key * dpp_set_keypair(const struct dpp_curve_params **curve, in dpp_set_keypair() argument 281 *curve = dpp_get_curve_ike_group(group); in dpp_set_keypair() 282 if (!*curve) { in dpp_set_keypair() 312 int dpp_keygen(struct dpp_bootstrap_info *bi, const char *curve, in dpp_keygen() argument [all …]
|
D | dpp_reconfig.c | 137 4 + auth->curve->nonce_len; in dpp_reconfig_build_req() 159 wpabuf_put_le16(msg, auth->curve->nonce_len); in dpp_reconfig_build_req() 160 wpabuf_put_data(msg, auth->c_nonce, auth->curve->nonce_len); in dpp_reconfig_build_req() 172 const struct dpp_curve_params *curve) in dpp_configurator_build_own_connector() argument 182 conf->curve->name); in dpp_configurator_build_own_connector() 183 conf->connector_key = dpp_gen_keypair(curve); in dpp_configurator_build_own_connector() 188 dppcon = wpabuf_alloc(1000 + 2 * curve->prime_len * 4 / 3); in dpp_configurator_build_own_connector() 201 curve) < 0) { in dpp_configurator_build_own_connector() 228 const struct dpp_curve_params *curve; in dpp_reconfig_init() local 232 curve = dpp_get_curve_ike_group(group); in dpp_reconfig_init() [all …]
|
/third_party/flutter/skia/src/pathops/ |
D | SkPathOpsRect.h | 52 void setBounds(const SkDConic& curve) { in setBounds() 53 setBounds(curve, curve, 0, 1); in setBounds() 56 void setBounds(const SkDConic& curve, const SkDConic& sub, double tStart, double tEnd); 58 void setBounds(const SkDCubic& curve) { in setBounds() 59 setBounds(curve, curve, 0, 1); in setBounds() 62 void setBounds(const SkDCubic& curve, const SkDCubic& sub, double tStart, double tEnd); 64 void setBounds(const SkDQuad& curve) { in setBounds() 65 setBounds(curve, curve, 0, 1); in setBounds() 68 void setBounds(const SkDQuad& curve, const SkDQuad& sub, double tStart, double tEnd); 70 void setBounds(const SkTCurve& curve);
|
D | SkOpEdgeBuilder.cpp | 29 static bool can_add_curve(SkPath::Verb verb, SkPoint* curve) { in can_add_curve() argument 34 force_small_to_zero(&curve[index]); in can_add_curve() 36 return SkPath::kLine_Verb != verb || !SkDPoint::ApproximatelyEqual(curve[0], curve[1]); in can_add_curve() 86 SkPoint curve[4]; in preFetch() local 95 closeContour(curve[0], curveStart); in preFetch() 100 curveStart = curve[0] = pts[0]; in preFetch() 105 if (SkDPoint::ApproximatelyEqual(curve[0], pts[1])) { in preFetch() 108 fPathPts.top() = curve[0] = pts[1]; in preFetch() 116 curve[1] = pts[1]; in preFetch() 117 curve[2] = pts[2]; in preFetch() [all …]
|
D | SkPathOpsRect.cpp | 13 void SkDRect::setBounds(const SkDQuad& curve, const SkDQuad& sub, double startT, double endT) { in setBounds() argument 26 add(curve.ptAtT(t)); in setBounds() 30 void SkDRect::setBounds(const SkDConic& curve, const SkDConic& sub, double startT, double endT) { in setBounds() argument 43 add(curve.ptAtT(t)); in setBounds() 47 void SkDRect::setBounds(const SkDCubic& curve, const SkDCubic& sub, double startT, double endT) { in setBounds() argument 60 add(curve.ptAtT(t)); in setBounds() 64 void SkDRect::setBounds(const SkTCurve& curve) { in setBounds() argument 65 curve.setBounds(this); in setBounds()
|
/third_party/flutter/flutter/packages/flutter/lib/src/animation/ |
D | curves.dart | 9 /// An easing curve, i.e. a mapping of the unit interval to the unit interval. 15 /// A curve must map t=0.0 to 0.0 and t=1.0 to 1.0. 31 /// Returns the value of the curve at point `t`. 50 /// Returns the value of the curve at point `t`, in cases where 57 /// Returns a new curve that is the reversed inversion of this one. 68 /// * [CurvedAnimation], which can take a separate curve and reverse curve. 87 /// A sawtooth curve that repeats a given number of times over the unit interval. 89 /// The curve rises linearly from 0.0 to 1.0 and then falls discontinuously back 94 /// Creates a sawtooth curve. 114 /// A curve that is 0.0 until [begin], then curved (according to [curve]) from [all …]
|
/third_party/flutter/flutter/packages/flutter/test/animation/ |
D | curves_test.dart | 16 expect(const Interval(0.25, 0.75, curve: Curves.ease), hasOneLineDescription); 37 void assertMaximumSlope(Curve curve, double maximumSlope) { 40 final double deltaY = curve.transform(x) - curve.transform(x + delta); 41 assert(deltaY.abs() < delta * maximumSlope, '${curve.toString()} discontinuous at $x'); 87 void expectStaysInBounds(Curve curve) { 88 expect(curve.transform(0.0), inInclusiveRange(0.0, 1.0)); 89 expect(curve.transform(0.1), inInclusiveRange(0.0, 1.0)); 90 expect(curve.transform(0.2), inInclusiveRange(0.0, 1.0)); 91 expect(curve.transform(0.3), inInclusiveRange(0.0, 1.0)); 92 expect(curve.transform(0.4), inInclusiveRange(0.0, 1.0)); [all …]
|
/third_party/flutter/skia/third_party/skcms/ |
D | skcms.cc | 64 static float eval_curve(const skcms_Curve* curve, float x) { in eval_curve() argument 65 if (curve->table_entries == 0) { in eval_curve() 66 return skcms_TransferFunction_eval(&curve->parametric, x); in eval_curve() 69 float ix = fmaxf_(0, fminf_(x, 1)) * (curve->table_entries - 1); in eval_curve() 75 if (curve->table_8) { in eval_curve() 76 l = curve->table_8[lo] * (1/255.0f); in eval_curve() 77 h = curve->table_8[hi] * (1/255.0f); in eval_curve() 80 memcpy(&be_l, curve->table_16 + 2*lo, 2); in eval_curve() 81 memcpy(&be_h, curve->table_16 + 2*hi, 2); in eval_curve() 90 static float max_roundtrip_error(const skcms_Curve* curve, const skcms_TransferFunction* inv_tf) { in max_roundtrip_error() argument [all …]
|
/third_party/skia/third_party/skcms/ |
D | skcms.cc | 233 static float eval_curve(const skcms_Curve* curve, float x) { in eval_curve() argument 234 if (curve->table_entries == 0) { in eval_curve() 235 return skcms_TransferFunction_eval(&curve->parametric, x); in eval_curve() 238 float ix = fmaxf_(0, fminf_(x, 1)) * (curve->table_entries - 1); in eval_curve() 244 if (curve->table_8) { in eval_curve() 245 l = curve->table_8[lo] * (1/255.0f); in eval_curve() 246 h = curve->table_8[hi] * (1/255.0f); in eval_curve() 249 memcpy(&be_l, curve->table_16 + 2*lo, 2); in eval_curve() 250 memcpy(&be_h, curve->table_16 + 2*hi, 2); in eval_curve() 259 float skcms_MaxRoundtripError(const skcms_Curve* curve, const skcms_TransferFunction* inv_tf) { in skcms_MaxRoundtripError() argument [all …]
|
/third_party/node/deps/npm/node_modules/sshpk/lib/ |
D | dhe.js | 27 this._curve = key.curve; 62 var curve = { variable in DiffieHellman 66 }[key.curve]; 67 this._dh = crypto.createECDH(curve); 117 if (pk.curve !== this._curve) { 118 throw (new Error('A key from the ' + pk.curve + ' curve ' + 227 curve: this._curve, property 253 curve: this._curve, property 293 var curve = new ec.ECCurveFp(p, a, b); 294 var G = curve.decodePointHex(params.G.toString('hex')); [all …]
|
/third_party/gstreamer/gstplugins_base/ext/gl/effects/ |
D | gstgleffectrgbtocurve.c | 29 const GstGLEffectsCurve * curve, gint curve_index, GstGLMemory * in_tex, in gst_gl_effects_rgb_to_curve() argument 50 if (effects->curve[curve_index] == 0) { in gst_gl_effects_rgb_to_curve() 52 gl->GenTextures (1, &effects->curve[curve_index]); in gst_gl_effects_rgb_to_curve() 54 gl->BindTexture (GL_TEXTURE_2D, effects->curve[curve_index]); in gst_gl_effects_rgb_to_curve() 61 curve->width, 1, 0, GL_RGB, GL_UNSIGNED_BYTE, curve->pixel_data); in gst_gl_effects_rgb_to_curve() 66 gl->BindTexture (GL_TEXTURE_2D, effects->curve[curve_index]); in gst_gl_effects_rgb_to_curve()
|
D | gstgleffectlumatocurve.c | 29 const GstGLEffectsCurve * curve, gint curve_index, GstGLMemory * in_tex, in gst_gl_effects_luma_to_curve() argument 50 if (effects->curve[curve_index] == 0) { in gst_gl_effects_luma_to_curve() 52 gl->GenTextures (1, &effects->curve[curve_index]); in gst_gl_effects_luma_to_curve() 54 gl->BindTexture (GL_TEXTURE_2D, effects->curve[curve_index]); in gst_gl_effects_luma_to_curve() 61 curve->width, 1, 0, GL_RGB, GL_UNSIGNED_BYTE, curve->pixel_data); in gst_gl_effects_luma_to_curve() 66 gl->BindTexture (GL_TEXTURE_2D, effects->curve[curve_index]); in gst_gl_effects_luma_to_curve()
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | lws-genec.c | 58 const struct lws_ec_curves *curve; in lws_genec_keypair_import() local 71 curve = lws_genec_curve(ctx->curve_table, in lws_genec_keypair_import() 73 if (!curve) in lws_genec_keypair_import() 82 el[LWS_GENCRYPTO_EC_KEYEL_D].len != curve->key_bytes) || in lws_genec_keypair_import() 83 el[LWS_GENCRYPTO_EC_KEYEL_X].len != curve->key_bytes || in lws_genec_keypair_import() 84 el[LWS_GENCRYPTO_EC_KEYEL_Y].len != curve->key_bytes) in lws_genec_keypair_import() 89 (mbedtls_ecp_group_id)curve->tls_lib_nid)) in lws_genec_keypair_import() 241 const struct lws_ec_curves *curve; in lws_genecdh_new_keypair() local 250 curve = lws_genec_curve(ctx->curve_table, curve_name); in lws_genecdh_new_keypair() 251 if (!curve) { in lws_genecdh_new_keypair() [all …]
|
/third_party/node/deps/npm/node_modules/sshpk/lib/formats/ |
D | pkcs8.js | 218 var curve = {}; 225 var p = curve.p = utils.mpNormalize( 231 curve.size = p.length * 8 - utils.countZeros(p); 235 curve.a = utils.mpNormalize( 237 curve.b = utils.mpNormalize( 240 curve.s = der.readString(asn1.Ber.BitString, true); 243 curve.G = der.readString(asn1.Ber.OctetString, true); 244 assert.strictEqual(curve.G[0], 0x4, 247 curve.n = utils.mpNormalize( 249 curve.h = utils.mpNormalize( [all …]
|
/third_party/flutter/skia/tests/ |
D | PathOpsThreeWayTest.cpp | 16 CubicPts curve; // largest can hold lines / quads/ cubics member 53 SkDLine oLine = {{ oTest.curve.fPts[0], oTest.curve.fPts[1] }}; in testSetTest() 54 SkDLine iLine = {{ iTest.curve.fPts[0], iTest.curve.fPts[1] }}; in testSetTest() 56 iCurve.debugSet(iTest.curve.fPts); in testSetTest() 57 oCurve.debugSet(oTest.curve.fPts); in testSetTest()
|
/third_party/skia/tests/ |
D | PathOpsThreeWayTest.cpp | 16 CubicPts curve; // largest can hold lines / quads/ cubics member 53 SkDLine oLine = {{ oTest.curve.fPts[0], oTest.curve.fPts[1] }}; in testSetTest() 54 SkDLine iLine = {{ iTest.curve.fPts[0], iTest.curve.fPts[1] }}; in testSetTest() 56 iCurve.debugSet(iTest.curve.fPts); in testSetTest() 57 oCurve.debugSet(oTest.curve.fPts); in testSetTest()
|