Lines Matching full:curve
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);
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
323 // the specified curve and G is the default generator of the curve.
328 // The sizes of xOut and yOut' will be set to be the size of the degree of the curve
337 // CRYPT_POINT the point Qin is not on the curve
343 TPM_ECC_CURVE curveId, // IN: the curve to use
345 // curve generator
360 // If a point is provided for the multiply, make sure that it is on the curve
370 // There should be no path for getting a bad curve ID into this function.
412 // Use the generator of the curve
447 // If B or M is provided, they must be on the curve defined by curveId. This routine does not check that they
448 // are on the curve and results are unpredictable if they are not.
466 TPM_ECC_CURVE curveId, // IN: the curve for the computations
580 // This function is used to test if a point is on a defined curve. It does this by checking that y^2 mod p = x^3
586 // TRUE point is on curve
587 // FALSE point is not on curve or curve is not supported
591 TPM_ECC_CURVE curveId, // IN: the curve selector
655 // EXAMPLE: If the curve is NIST-P256, then nLen is 256 bits and d will need to be between 2^128 <= d < n
667 TPM_ECC_CURVE curveId, // IN: the curve identifier
684 BIGNUM *bnNm1; // Order of the curve minus one
763 TPM_ECC_CURVE curveId // IN: the curve for the key
776 // provided. CRYPT_PARAMTER should not be returned because the curve ID
795 TPM_ECC_CURVE curveId, // IN: the curve used in the signature
834 // 2. Compute the elliptic curve point R = [k]G = (xR, yR) using EC scalar
843 // Want a K value that is the same size as the curve order
952 TPM_ECC_CURVE curveId, // IN: the curve used in signing
1066 TPM_ECC_CURVE curveId, // IN: the curve used in signing
1238 TPM_ECC_CURVE curveId, // IN: the curve used in signing
1292 // A4: Figure out the point of elliptic curve (x1, y1)=[k]G, and according
1370 TPM_ECC_CURVE curveId, // IN: the curve used in the signature
1421 TPM_ECC_CURVE curveId, // IN: the curve used in the signature
1447 // The curve selector should have been filtered by the unmarshaling process
1490 // convert the curve order
1508 // 6. Compute the elliptic curve point R = (xR, yR) = u1G+u2Q, using EC
1547 TPM_ECC_CURVE curveId, // IN: the curve used in the signature
1560 // The curve parameter should have been filtered by unmarshaling code
1617 TPM_ECC_CURVE curveId, // IN: the curve used in the signature
1744 TPM_ECC_CURVE curveId, // IN: the curve used in the signature
1789 BIGNUM *bnN // IN: the order of the curve
1807 // Points QsB() and QeB() are required to be on the curve of inQsA. The function will fail, possibly
1815 // CRYPT_NO_RESULT the value for dsA does not give a valid point on the curve
1820 TPM_ECC_CURVE curveId, // IN: the curve for the computations
1938 BIGNUM *bnN // IN: the order of the curve
1954 // key. All points are required to be on the curve of inQsA. The function will fail catastrophically if this is not
1960 // CRYPT_NO_RESULT the value for dsA does not give a valid point on the curve
1965 TPM_ECC_CURVE curveId, // IN: the curve for the computations
2075 TPM_ECC_CURVE curveId, // IN: the curve for the computations
2139 TPM_ECC_CURVE curveId, // IN: the curve for the computations