Searched refs:curve (Results 76 - 100 of 140) sorted by relevance

123456

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
H A DAlgorithmParametersSpi.java42 throw new InvalidParameterSpecException("EC curve name not recognized: " + ecGenParameterSpec.getName());
80 ECCurve curve = EC5Util.getCurve(BouncyCastleProvider.CONFIGURATION, params);
93 ecParameterSpec = EC5Util.convertToSpec(params, curve);
H A DKeyPairGeneratorSpi.java204 ECCurve curve = EC5Util.convertCurve(p.getCurve());
205 ECPoint g = EC5Util.convertPoint(curve, p.getGenerator(), false);
208 ECDomainParameters dp = new ECDomainParameters(curve, g, n, h);
215 // NOTE: Don't bother with custom curves here as the curve will be converted to JCE type shortly
232 throw new InvalidAlgorithmParameterException("unknown curve OID: " + curveName);
238 throw new InvalidAlgorithmParameterException("unknown curve name: " + curveName);
H A DBCECPrivateKey.java76 ECCurve curve = spec.getParams().getCurve();
79 ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed());
218 ECCurve curve = EC5Util.getCurve(configuration, params);
219 ecSpec = EC5Util.convertToSpec(params, curve);
/external/webrtc/webrtc/base/
H A Dsslidentity.h144 // Generate a a KeyParams for ECDSA specifying the curve.
145 static KeyParams ECDSA(ECCurve curve = EC_NIST_P256);
162 ECCurve curve; member in union:rtc::KeyParams::__anon30610
/external/skia/src/gpu/ops/
H A DGrAAConvexTessellator.h179 // Represents whether a given point is within a curve. A point is inside a curve only if it is
181 // or conic with another curve meeting it at (more or less) the same angle.
185 // endpoint of a curve with the other side's curvature not yet determined
187 // point is in the interior of a curve
196 int addPt(const SkPoint& pt, SkScalar depth, SkScalar coverage, bool movable, CurveState curve);
216 void lineTo(const SkPoint& p, CurveState curve);
218 void lineTo(const SkMatrix& m, SkPoint p, CurveState curve);
255 // Tracks whether a given point is interior to a curve. Such points are
/external/skqp/src/gpu/ops/
H A DGrAAConvexTessellator.h179 // Represents whether a given point is within a curve. A point is inside a curve only if it is
181 // or conic with another curve meeting it at (more or less) the same angle.
185 // endpoint of a curve with the other side's curvature not yet determined
187 // point is in the interior of a curve
196 int addPt(const SkPoint& pt, SkScalar depth, SkScalar coverage, bool movable, CurveState curve);
216 void lineTo(const SkPoint& p, CurveState curve);
218 void lineTo(const SkMatrix& m, SkPoint p, CurveState curve);
255 // Tracks whether a given point is interior to a curve. Such points are
/external/adhd/cras/src/server/
H A Dcras_alsa_io.c70 * volume_curve - Volume curve for this node.
124 * default_volume_curve - Default volume curve that converts from an index
627 * Gets the curve for the active output node. If the node doesn't have volume
628 * curve specified, return the default volume curve of the parent iodev.
640 * Gets the curve for the active output.
654 const struct cras_volume_curve *curve; local
660 curve = get_curve_for_active_output(aio);
662 curve->get_dBFS(curve,
691 const struct cras_volume_curve *curve; local
1348 struct cras_volume_curve *curve; local
1602 const struct cras_volume_curve *curve; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Ddpp_supplicant.c135 char *chan = NULL, *mac = NULL, *info = NULL, *pk = NULL, *curve = NULL; local
157 curve = get_param(cmd, " curve=");
168 pk = dpp_keygen(bi, curve, privkey, privkey_len);
202 os_free(curve);
288 "curve=%s\n",
293 bi->curve->name);
530 if (peer_bi->curve != own_bi->curve) {
533 peer_bi->curve
1691 char *curve = NULL; local
1766 char *curve = NULL; local
[all...]
/external/adhd/cras/src/tests/
H A Dalsa_mixer_unittest.cc1703 static long get_dBFS_default(const struct cras_volume_curve *curve, argument
1711 struct cras_volume_curve *curve; local
1712 curve = (struct cras_volume_curve *)calloc(1, sizeof(*curve));
1713 if (curve)
1714 curve->get_dBFS = get_dBFS_default;
1715 return curve;
1718 void cras_volume_curve_destroy(struct cras_volume_curve *curve) argument
1721 free(curve);
1729 struct cras_volume_curve *curve; local
[all...]
/external/adhd/scripts/mic_testing/frontend/
H A Danalysis.js54 * Audio curve class
97 * Adds curve on the canvas
98 * @param {AudioCurve} audio curve object
107 * Removes curve from the canvas
108 * @param {int} curve index
174 * @param {int} curve index
239 * Draws a channel of a curve
241 * @param {string} curve color
314 var curve = curveBuffer[j];
315 for (var k = 0; k < curve
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DJCEECPrivateKey.java76 ECCurve curve = spec.getParams().getCurve();
79 ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed());
313 ECCurve curve = EC5Util.convertCurve(ecSpec.getCurve());
316 curve,
317 EC5Util.convertPoint(curve, ecSpec.getGenerator(), withCompression),
/external/scapy/scapy/layers/tls/
H A Dkeyexchange.py460 PacketField("curve", None, ECCurvePkt),
502 PacketField("curve", ECCurvePkt(), ECCurvePkt),
545 curve = ec.SECP256R1()
546 s.server_kx_privkey = ec.generate_private_key(curve,
550 if name == curve.name:
558 curve = ec.SECP256R1()
563 curve = ec.SECP256R1()
565 curve = curve_cls()
566 s.server_kx_privkey = ec.generate_private_key(curve,
577 s.client_kx_ecdh_params = curve
[all...]
H A Dkeyexchange_tls13.py77 curve = ec._CURVE_TYPES[_tls_named_curves[self.group]]()
78 privkey = ec.generate_private_key(curve, default_backend())
113 curve = ec._CURVE_TYPES[_tls_named_curves[self.group]]()
115 public_numbers = import_point(curve, self.key_exchange)
H A Dcert.py229 # We cannot import an ECDSA public key without curve knowledge
310 def fill_and_store(self, curve=None):
311 curve = curve or ec.SECP256R1
312 private_key = ec.generate_private_key(curve(), default_backend())
508 def fill_and_store(self, curve=None):
509 curve = curve or ec.SECP256R1
510 self.key = ec.generate_private_key(curve(), default_backend())
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DECAlgorithms.java129 throw new IllegalArgumentException("Point must be on the same curve");
223 ECCurve curve = P.getCurve();
224 ECPoint infinity = curve.getInfinity();
231 curve.normalizeAll(points);
311 ECCurve curve = preCompP[0].getCurve();
312 ECPoint infinity = curve.getInfinity();
445 ECCurve curve = infos[0].getPreComp()[0].getCurve();
446 ECPoint infinity = curve.getInfinity();
/external/skia/src/pathops/
H A DSkPathOpsCurve.h67 SkDPoint conicTop(const SkPoint curve[3], SkScalar curveWeight,
69 SkDPoint cubicTop(const SkPoint curve[4], SkScalar , double s, double e, double* topT);
75 SkDPoint quadTop(const SkPoint curve[3], SkScalar , double s, double e, double* topT);
77 void setConicBounds(const SkPoint curve[3], SkScalar curveWeight,
79 void setCubicBounds(const SkPoint curve[4], SkScalar ,
81 void setQuadBounds(const SkPoint curve[3], SkScalar ,
99 extern SkDPoint (SkDCurve::* const Top[])(const SkPoint curve[], SkScalar cWeight,
H A DSkOpAngle.cpp179 // given a line, see if the opposite curve's convex hull is all on one side
218 // If the curve's control point in its original position is on one side of a compared line,
225 // This should support all curve types, but only bug that requires this has lines
277 // compute the perpendicular to the endpoints and see where it intersects the opposite curve
440 // if the curve is a line, then the line and the ray intersect only at their crossing
475 // If this point is on the curve, it should have been detected earlier by ordinary
476 // curve intersection. This may be hard to determine in general, but for lines,
503 const SkDCurve& curve = index ? rh->fPart.fCurve : this->fPart.fCurve; local
506 minX = SkTMin(minX, curve[idx2].fX);
507 minY = SkTMin(minY, curve[idx
521 const SkDCurve& curve = sIndex ? rh->fPart.fCurve : this->fPart.fCurve; local
563 const SkDCurve& curve = rh->fPart.fCurve; local
[all...]
/external/skqp/src/pathops/
H A DSkPathOpsCurve.h67 SkDPoint conicTop(const SkPoint curve[3], SkScalar curveWeight,
69 SkDPoint cubicTop(const SkPoint curve[4], SkScalar , double s, double e, double* topT);
75 SkDPoint quadTop(const SkPoint curve[3], SkScalar , double s, double e, double* topT);
77 void setConicBounds(const SkPoint curve[3], SkScalar curveWeight,
79 void setCubicBounds(const SkPoint curve[4], SkScalar ,
81 void setQuadBounds(const SkPoint curve[3], SkScalar ,
99 extern SkDPoint (SkDCurve::* const Top[])(const SkPoint curve[], SkScalar cWeight,
H A DSkOpAngle.cpp179 // given a line, see if the opposite curve's convex hull is all on one side
218 // If the curve's control point in its original position is on one side of a compared line,
225 // This should support all curve types, but only bug that requires this has lines
277 // compute the perpendicular to the endpoints and see where it intersects the opposite curve
440 // if the curve is a line, then the line and the ray intersect only at their crossing
475 // If this point is on the curve, it should have been detected earlier by ordinary
476 // curve intersection. This may be hard to determine in general, but for lines,
503 const SkDCurve& curve = index ? rh->fPart.fCurve : this->fPart.fCurve; local
506 minX = SkTMin(minX, curve[idx2].fX);
507 minY = SkTMin(minY, curve[idx
521 const SkDCurve& curve = sIndex ? rh->fPart.fCurve : this->fPart.fCurve; local
563 const SkDCurve& curve = rh->fPart.fCurve; local
[all...]
/external/tpm2/
H A DCryptUtil.c1225 // the key size and schemes for a given curve.
1230 TPM_ECC_CURVE curveID // IN: id of the curve
1239 // This function returns the size in bits of the key associated with a curve.
1243 TPM_ECC_CURVE curveID // IN: id of the curve
1246 const ECC_CURVE *curve = CryptEccGetCurveDataPointer(curveID);
1248 if(curve != NULL)
1249 keySizeInBits = curve->keySizeBits;
1256 // This function returns a pointer to an ECC curve parameter. The parameter is selected by a single
1262 TPM_ECC_CURVE curveId // IN: the curve id
1265 const ECC_CURVE *curve
1245 const ECC_CURVE *curve = CryptEccGetCurveDataPointer(curveID); local
1264 const ECC_CURVE *curve = _cpri__EccGetParametersByCurveId(curveId); local
1308 const ECC_CURVE *curve = _cpri__EccGetParametersByCurveId(curveId); local
1701 const ECC_CURVE *curve = _cpri__EccGetParametersByCurveId(curveId); local
3607 TPM_ECC_CURVE curve; local
[all...]
/external/skia/experimental/docs/
H A DanimationCommon.js117 var curve = Object.keys(curves)[0];
119 copy[i][curve] = curves[curve].slice(0); // clone the array of curves
/external/skqp/experimental/docs/
H A DanimationCommon.js117 var curve = Object.keys(curves)[0];
119 copy[i][curve] = curves[curve].slice(0); // clone the array of curves
/external/speex/libspeex/
H A Dnb_celp.h70 float *curve; member in struct:EncState
/external/tensorflow/tensorflow/contrib/metrics/python/ops/
H A Dmetric_ops.py884 curve='ROC',
886 """Computes curve (ROC or PR) values for a prespecified number of points.
890 that are used to compute the curve values. To discretize the curve, a linearly
911 curve.
916 curve: Specifies the name of the curve to be computed, 'ROC' [default] or
917 'PR' for the Precision-Recall-curve.
922 the curve.
937 if curve !
[all...]
/external/dng_sdk/source/
H A Ddng_camera_profile.h267 // The "as shot" tone curve for this profile. Check IsValid method
692 // Accessors for tone curve.
694 /// Returns the tone curve of the profile.
701 /// Sets the tone curve of the profile to the specified curve.
703 void SetToneCurve (const dng_tone_curve &curve) argument
705 fToneCurve = curve;

Completed in 834 milliseconds

123456