/packages/apps/Camera2/src/com/android/camera/ui/focus/ |
FocusRingRenderer.java | 213 // Find a time on the exit curve such that it will produce the same value. 218 // equals the computed exit curve animation position. 230 // Find a time on the exit curve such that it will produce the same value. 235 // equals the computed exit curve animation position.
|
/prebuilts/go/darwin-x86/src/crypto/tls/ |
generate_cert.go | 35 rsaBits = flag.Int("rsa-bits", 2048, "Size of RSA key to generate. Ignored if --ecdsa-curve is set") 36 ecdsaCurve = flag.String("ecdsa-curve", "", "ECDSA curve to use to generate a key. Valid values are P224, P256 (recommended), P384, P521") 87 fmt.Fprintf(os.Stderr, "Unrecognized elliptic curve: %q", *ecdsaCurve)
|
/prebuilts/go/linux-x86/src/crypto/tls/ |
generate_cert.go | 35 rsaBits = flag.Int("rsa-bits", 2048, "Size of RSA key to generate. Ignored if --ecdsa-curve is set") 36 ecdsaCurve = flag.String("ecdsa-curve", "", "ECDSA curve to use to generate a key. Valid values are P224, P256 (recommended), P384, P521") 87 fmt.Fprintf(os.Stderr, "Unrecognized elliptic curve: %q", *ecdsaCurve)
|
/system/iot/attestation/atap/ops/ |
openssl_ops.cpp | 52 AtapCurveType curve, 60 if (curve == ATAP_CURVE_TYPE_X25519) { 73 } else if (curve == ATAP_CURVE_TYPE_P256) { 130 atap_error("Unsupported ECDH curve");
|
/external/skia/src/pathops/ |
SkPathOpsCurve.h | 67 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,
|
/external/skqp/src/pathops/ |
SkPathOpsCurve.h | 67 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,
|
/external/speex/libspeex/ |
scal.c | 65 float *curve; member in struct:SpeexDecorrState_ 92 st->curve = speex_alloc(frame_size*sizeof(float)); 232 compute_curve(st->psy, buff, st->curve); 241 gain = coef*sqrt(.1+st->curve[i]); 245 frame[0] = coef*uni_rand(&st->seed)*sqrt(.1+st->curve[0]); 246 frame[2*st->frame_size-1] = coef*uni_rand(&st->seed)*sqrt(.1+st->curve[st->frame_size-1]); 279 speex_free(st->curve);
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_pwd_common.c | 85 * compute a "random" secret point on an elliptic curve based 165 "curve"); 169 wpa_printf(MSG_INFO, "EAP-pwd: unable to get order for curve"); 174 "curve"); 189 "point on curve for group %d, something's " 257 * on the curve so why check again explicitly? OpenSSL code 262 wpa_printf(MSG_INFO, "EAP-pwd: point is not on curve");
|
/frameworks/base/core/java/android/transition/ |
ArcMotion.java | 32 * When the two points are near horizontal or vertical, the curve of the motion will be 83 * exaggerated curve to the path. 100 * exaggerated curve to the path. 115 * exaggerated curve to the path. 132 * exaggerated curve to the path. 145 * have close to equal x and y differences, the curve between them is large. This forces 160 * have close to equal x and y differences, the curve between them is large. This forces
|
/frameworks/support/transition/src/main/java/androidx/transition/ |
ArcMotion.java | 35 * When the two points are near horizontal or vertical, the curve of the motion will be 90 * exaggerated curve to the path. 106 * exaggerated curve to the path. 120 * exaggerated curve to the path. 136 * exaggerated curve to the path. 148 * have close to equal x and y differences, the curve between them is large. This forces 162 * have close to equal x and y differences, the curve between them is large. This forces
|
/external/google-benchmark/src/ |
complexity.cc | 67 // minimizing the sum of squares of relative error, for the fitting curve 117 // - complexity : If different than oAuto, the fitting curve will stick to 119 // fitting curve. 123 CHECK_GE(n.size(), 2); // Do not compute fitting curve is less than two 132 // Take o1 as default best fitting curve
|
/external/libcxx/utils/google-benchmark/src/ |
complexity.cc | 67 // minimizing the sum of squares of relative error, for the fitting curve 117 // - complexity : If different than oAuto, the fitting curve will stick to 119 // fitting curve. 123 CHECK_GE(n.size(), 2); // Do not compute fitting curve is less than two 132 // Take o1 as default best fitting curve
|
/external/wpa_supplicant_8/src/ap/ |
dpp_hostapd.c | 115 char *chan = NULL, *mac = NULL, *info = NULL, *pk = NULL, *curve = NULL; local 137 curve = get_param(cmd, " curve="); 148 pk = dpp_keygen(bi, curve, privkey, privkey_len); 182 os_free(curve); 268 "curve=%s\n", 273 bi->curve->name); 479 if (peer_bi->curve != own_bi->curve) { 482 peer_bi->curve->name, own_bi->curve->name) 1280 char *curve = NULL; local [all...] |
/frameworks/layoutlib/bridge/src/android/graphics/ |
Path_Delegate.java | 69 // true if the path contains does not contain a curve or line. 710 * @param x1 The x-coordinate of the control point on a quadratic curve 711 * @param y1 The y-coordinate of the control point on a quadratic curve 712 * @param x2 The x-coordinate of the end point on a quadratic curve 713 * @param y2 The y-coordinate of the end point on a quadratic curve 725 * this contour, for the control point of a quadratic curve 727 * this contour, for the control point of a quadratic curve 729 * this contour, for the end point of a quadratic curve 731 * this contour, for the end point of a quadratic curve 749 * @param x1 The x-coordinate of the 1st control point on a cubic curve [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
ECCurve.java | 15 * base class for an elliptic curve 75 throw new IllegalStateException("implementation returned current curve"); 184 * Adds <code>PreCompInfo</code> for a point on this curve, under a given name. Used by 358 * Decode a point on this curve from its ASN.1 encoding. The different 448 throw new IllegalArgumentException("'point' must be non-null and on this curve"); 473 throw new IllegalArgumentException("'points' entries must be null or on this curve"); 518 * If y is not a square, then we haven't got a point on the curve 536 * Elliptic curve over Fp 865 * Returns true if this is a Koblitz curve (ABC curve) [all...] |
/external/tpm2/ |
CpriECC.c | 36 // This function returns the number of the i-th implemented curve. The normal use would be to call this 60 // This function returns a pointer to the curve data that is associated with the indicated curveId. If there is no 61 // curve with the indicated ID, the function returns NULL. 68 // NULL curve with the indicated TPM_ECC_CURVE value is not 70 // non-NULL pointer to the curve data 92 const ECC_CURVE *curve = _cpri__EccGetParametersByCurveId(curveId); local 93 return curve->curveData; 142 TPM_ECC_CURVE curveId, // IN: the ID of the curve 159 // Context must be provided and curve selector must be valid 268 EC_GROUP *group, // IN: group curve [all...] |
/external/syslinux/gpxe/src/drivers/net/ath5k/ |
ath5k_phy.c | [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
dpp_supplicant.c | 135 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->name, own_bi->curve->name) 1691 char *curve = NULL; local 1766 char *curve = NULL; local [all...] |
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
EcdsaTest.java | 57 static final String CURVE = "secp256r1"; 573 * signature is DER encoded. and that the order of the curve is smaller than 2^1024. 679 String curve = "secp256r1"; local [all...] |
EcdhTest.java | 45 * or invalid public keys. For example, invalid public keys can contain points not on the curve, 51 * Elliptic Curve Cryptosystems", Crypto '00, pp. 131-164 54 * Elliptic Curve Public Keys", PKC 2003, https://www.iacr.org/archive/pkc2003/25670211/25670211.pdf 57 * curve. BouncyCastle v.1.52 checks that the public key point is on the public key curve but does 58 * not check whether public key and private key use the same curve. BouncyCastle v.1.53 is still 59 * vulnerable to attacks with modified public keys. An attacker can change the order of the curve 473 EllipticCurve curve = new EllipticCurve(fp, a, b); local 479 ECParameterSpec params = new ECParameterSpec(curve, g, n, h); 513 "public point not on curve", [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
JCEECPrivateKey.java | 76 ECCurve curve = spec.getParams().getCurve(); local 79 ellipticCurve = EC5Util.convertCurve(curve, spec.getParams().getSeed()); 209 if (ecP == null) // GOST Curve 313 ECCurve curve = EC5Util.convertCurve(ecSpec.getCurve()); local 316 curve, 317 EC5Util.convertPoint(curve, ecSpec.getGenerator(), withCompression),
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
authorization_set.h | 270 AuthorizationSetBuilder& EcdsaKey(EcCurve curve); 277 AuthorizationSetBuilder& EcdsaSigningKey(EcCurve curve); 328 inline AuthorizationSetBuilder& AuthorizationSetBuilder::EcdsaKey(EcCurve curve) { 330 Authorization(TAG_EC_CURVE, curve); 362 inline AuthorizationSetBuilder& AuthorizationSetBuilder::EcdsaSigningKey(EcCurve curve) { 363 EcdsaKey(curve);
|
/external/scapy/scapy/layers/tls/ |
keyexchange.py | 369 ### Elliptic Curve Diffie-Hellman 378 name = "Elliptic Curve" 460 PacketField("curve", None, ECCurvePkt), 502 PacketField("curve", ECCurvePkt(), ECCurvePkt), 522 name = "Server ECDH parameters - Named Curve" 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( [all...] |
/external/mesa3d/src/mesa/math/ |
m_eval.c | 55 * Since stability is not important for displaying curve 58 * A cubic Bezier curve with control points b0, b1, b2, b3 can be 96 else { /* order=1 -> constant curve */ 107 * TP Bezier surface. First a control polygon for a curve 109 * then the point on the curve for the other parameter 112 * To store the curve control polygon additional storage 129 /* Compute the control polygon for the surface-curve in u-direction */ 134 /* curve defined by the control polygons in u-direction */ 152 /* Evaluate curve point in v */ 155 else /* uorder=1 -> cn defines a curve in v * [all...] |
/external/adhd/cras/src/server/ |
cras_alsa_io.c | 70 * 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, 1), /* min * 691 const struct cras_volume_curve *curve; local 1348 struct cras_volume_curve *curve; local 1602 const struct cras_volume_curve *curve; local [all...] |