/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
WTauNafMultiplier.java | 31 ECCurve.AbstractF2m curve = (ECCurve.AbstractF2m)p.getCurve(); local 32 int m = curve.getFieldSize(); 33 byte a = curve.getA().toBigInteger().byteValue(); 35 BigInteger[] s = curve.getSi(); 39 return multiplyWTnaf(p, rho, curve.getPreCompInfo(p, PRECOMP_NAME), a, mu); 76 ECCurve.AbstractF2m curve = (ECCurve.AbstractF2m)p.getCurve(); local 77 byte a = curve.getA().toBigInteger().byteValue(); 86 curve.setPreCompInfo(p, PRECOMP_NAME, pre);
|
GLVMultiplier.java | 9 protected final ECCurve curve; field in class:GLVMultiplier 12 public GLVMultiplier(ECCurve curve, GLVEndomorphism glvEndomorphism) 14 if (curve == null || curve.getOrder() == null) 16 throw new IllegalArgumentException("Need curve with known group order"); 19 this.curve = curve; 25 if (!curve.equals(p.getCurve()))
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
ECCurves.java | 29 // NIST EC curve parameters copied from "Standards for Efficient Cryptography 2 (SEC 2)". 115 EllipticCurve curve = new EllipticCurve(field, a, b, seed); local 118 curve,
|
/external/libvorbis/doc/ |
07-floor1.tex | 9 encode a spectral envelope curve. The representation plots this curve 20 Floor type one represents a spectral curve as a series of 21 line segments. Synthesis constructs a floor curve using iterative 177 indicating this floor curve (and thus this channel) is unused this 226 An end-of-packet condition during curve decode should be considered a 237 \paragraph{curve computation} \label{vorbis:spec:floor1-synth} 239 Curve computation is split into two logical steps; the first step 241 values taken from the bitstream. The second step plots the curve 336 \item[step 2: curve synthesis [all...] |
/external/skia/tests/ |
PathOpsBoundsTest.cpp | 65 SkDCurve curve; local 66 curve.fQuad.set(curvePts); 67 curve.setQuadBounds(curvePts, 1, 0, 1, &bounds); 70 curve.fCubic.set(curvePts); 71 curve.setCubicBounds(curvePts, 1, 0, 1, &bounds);
|
PathOpsThreeWayTest.cpp | 14 struct Curve { 16 CubicPts curve; // largest can hold lines / quads/ cubics member in struct:Curve 19 static const Curve testSet0[] = { // extracted from skpClip2 25 static const Curve testSet1[] = { // extracted from cubicOp85i 33 const Curve* tests; 48 const Curve& oTest = testSet.tests[outer]; 50 const Curve& iTest = testSet.tests[inner]; 53 SkDLine oLine = {{ oTest.curve.fPts[0], oTest.curve.fPts[1] }}; 54 SkDLine iLine = {{ iTest.curve.fPts[0], iTest.curve.fPts[1] }} [all...] |
/libcore/ojluni/src/main/java/java/security/spec/ |
ECParameterSpec.java | 32 * used with elliptic curve cryptography (ECC). 42 private final EllipticCurve curve; field in class:ECParameterSpec 48 * Creates elliptic curve domain parameters based on the 50 * @param curve the elliptic curve which this parameter 55 * @exception NullPointerException if {@code curve}, 60 public ECParameterSpec(EllipticCurve curve, ECPoint g, 62 if (curve == null) { 63 throw new NullPointerException("curve is null"); 77 this.curve = curve [all...] |
EllipticCurve.java | 33 * an elliptic curve. 70 * Creates an elliptic curve with the specified elliptic field 73 * @param field the finite field that this elliptic curve is over. 74 * @param a the first coefficient of this elliptic curve. 75 * @param b the second coefficient of this elliptic curve. 87 * Creates an elliptic curve with the specified elliptic field 89 * {@code b}, and the {@code seed} used for curve generation. 90 * @param field the finite field that this elliptic curve is over. 91 * @param a the first coefficient of this elliptic curve. 92 * @param b the second coefficient of this elliptic curve 173 EllipticCurve curve = (EllipticCurve) obj; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
ECDomainParameters.java | 13 private ECCurve curve; field in class:ECDomainParameters 20 ECCurve curve, 24 this(curve, G, n, ONE, null); 28 ECCurve curve, 33 this(curve, G, n, h, null); 37 ECCurve curve, 43 this.curve = curve; 52 return curve; 87 return this.curve.equals(other.curve) && this.G.equals(other.G) && this.n.equals(other.n) && this.h.equals(other.h) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
ECUtils.java | 82 ECCurve curve = EC5Util.convertCurve(ecSpec.getCurve()); local 85 curve, 86 EC5Util.convertPoint(curve, ecSpec.getGenerator(), withCompression),
|
AlgorithmParametersSpi.java | 42 throw new InvalidParameterSpecException("EC curve name not recognized: " + ecGenParameterSpec.getName()); 80 ECCurve curve = EC5Util.getCurve(BouncyCastleProvider.CONFIGURATION, params); local 93 ecParameterSpec = EC5Util.convertToSpec(params, curve);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/ |
ECParameterSpec.java | 10 * basic domain parameters for an Elliptic Curve public or private key. 15 private ECCurve curve; field in class:ECParameterSpec 22 ECCurve curve, 26 this.curve = curve; 34 ECCurve curve, 39 this.curve = curve; 47 ECCurve curve, 53 this.curve = curve [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/endo/ |
GLVTypeBEndomorphism.java | 12 protected final ECCurve curve; field in class:GLVTypeBEndomorphism 16 public GLVTypeBEndomorphism(ECCurve curve, GLVTypeBParameters parameters) 18 this.curve = curve; 20 this.pointMap = new ScaleXPointMap(curve.fromBigInteger(parameters.getBeta()));
|
/libcore/luni/src/test/java/tests/security/spec/ |
ECParameterSpecTest.java | 29 EllipticCurve curve; field in class:ECParameterSpecTest 37 curve = new EllipticCurve(new ECFieldF2m(2), BigInteger.valueOf(1), 40 ecps = new ECParameterSpec(curve, ecpoint, BigInteger.valueOf(1), 1); 44 curve = null; 54 * case 2: NullPointerException - if curve is null 64 assertEquals("wrong elliptic curve", curve, ecps.getCurve()); 70 // case 2: NullPointerException - if curve is null. 80 new ECParameterSpec(curve, null, BigInteger.valueOf(1), 1); 88 new ECParameterSpec(curve, ecpoint, null, 1) [all...] |
ECPrivateKeySpecTest.java | 41 EllipticCurve curve = new EllipticCurve(new ECFieldF2m(2), BigInteger local 45 ecparams = new ECParameterSpec(curve, ecpoint, BigInteger.valueOf(1), 1);
|
ECPublicKeySpecTest.java | 39 EllipticCurve curve = new EllipticCurve(new ECFieldF2m(2), BigInteger local 43 params = new ECParameterSpec(curve, ecpoint, BigInteger.valueOf(1), 1);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
X9Curve.java | 18 * ASN.1 def for Elliptic-Curve Curve structure. See 25 private ECCurve curve; field in class:X9Curve 30 ECCurve curve) 32 this.curve = curve; 38 ECCurve curve, 41 this.curve = curve; 58 curve = new ECCurve.Fp(p, x9A.getValue().toBigInteger(), x9B.getValue().toBigInteger()) [all...] |
X9ECParameters.java | 18 * ASN.1 def for Elliptic-Curve ECParameters structure. See 28 private ECCurve curve; field in class:X9ECParameters 47 this.curve = x9c.getCurve(); 56 this.g = new X9ECPoint(curve, (ASN1OctetString)p); 84 ECCurve curve, 88 this(curve, g, n, null, null); 92 ECCurve curve, 97 this(curve, g, n, h, null); 101 ECCurve curve, 106 this(curve, g, n, h, null) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterHighlights.java | 63 float[][] curve = mSpline.calculatetCurve(256); local 64 float[] luminanceMap = new float[curve.length]; 66 luminanceMap[i] = curve[i][1];
|
ImageFilterCurves.java | 49 float[] curve = spline.getAppliedCurve(); local 51 array[i] = (int) (curve[i] * 255);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ec/ |
CustomNamedCurves.java | 57 private static ECCurve configureCurve(ECCurve curve) 59 return curve; 76 // ECCurve curve = configureCurve(new Curve25519()); 87 // X9ECPoint G = new X9ECPoint(curve, Hex.decode("04" 91 // return new X9ECParameters(curve, G, curve.getOrder(), curve.getCofactor(), S); 103 // ECCurve curve = configureCurve(new SecP128R1Curve()); 104 // X9ECPoint G = new X9ECPoint(curve, Hex.decode("04" 107 // return new X9ECParameters(curve, G, curve.getOrder(), curve.getCofactor(), S) 652 Object curve = oidToCurve.get(oid); local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
EC5Util.java | 44 if (curveParams != null) // there may not be a regular curve, may just be a custom curve. 64 ECCurve curve; local 80 curve = ecP.getCurve(); 84 throw new IllegalStateException("named curve not acceptable"); 89 curve = configuration.getEcImplicitlyCa().getCurve(); 95 curve = ecP.getCurve(); 102 return curve; 126 X962Parameters params, ECCurve curve) 144 ellipticCurve = EC5Util.convertCurve(curve, ecP.getSeed()) 222 ECCurve.Fp curve = new ECCurve.Fp(((ECFieldFp)field).getP(), a, b); local 286 ECCurve curve = convertCurve(ecSpec.getCurve()); local [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLECGroupContext.java | 43 // (aka ANSI X9.62 prime192v1 and prime256v1) curve names. 81 // Try to find recognise the underlying curve from the parameters. 82 final EllipticCurve curve = params.getCurve(); local 83 final ECField field = curve.getField(); 94 final BigInteger b = curve.getB(); 139 final BigInteger a = curve.getA(); 172 final EllipticCurve curve = new EllipticCurve(field, a, b); local 181 ECParameterSpec spec = new ECParameterSpec(curve, generator, order, cofactor.intValue());
|
/external/vulkan-validation-layers/demos/smoke/ |
Simulation.h | 50 class Curve; 65 std::shared_ptr<Curve> curve; member in struct:Path::Subpath
|
/system/bt/stack/smp/ |
p_256_ecc_pp.cc | 21 * This file contains simple pairing algorithms using Elliptic Curve 31 elliptic_curve_t curve; variable 207 modp = curve.p;
|