ec.h (246772) | ec.h (273144) |
---|---|
1/* crypto/ec/ec.h */ 2/* 3 * Originally written by Bodo Moeller for the OpenSSL project. 4 */ 5/** 6 * \file crypto/ec/ec.h Include file for the OpenSSL EC functions 7 * \author Originally written by Bodo Moeller for the OpenSSL project 8 */ --- 615 unchanged lines hidden (view full) --- 624 * \param ctx BN_CTX object (optional) 625 * \return 0 if both points are equal and a value != 0 otherwise 626 */ 627int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx); 628 629int EC_POINT_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx); 630int EC_POINTs_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx); 631 | 1/* crypto/ec/ec.h */ 2/* 3 * Originally written by Bodo Moeller for the OpenSSL project. 4 */ 5/** 6 * \file crypto/ec/ec.h Include file for the OpenSSL EC functions 7 * \author Originally written by Bodo Moeller for the OpenSSL project 8 */ --- 615 unchanged lines hidden (view full) --- 624 * \param ctx BN_CTX object (optional) 625 * \return 0 if both points are equal and a value != 0 otherwise 626 */ 627int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx); 628 629int EC_POINT_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx); 630int EC_POINTs_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx); 631 |
632/** Computes r = generator * n sum_{i=0}^num p[i] * m[i] | 632/** Computes r = generator * n sum_{i=0}^{num-1} p[i] * m[i] |
633 * \param group underlying EC_GROUP object 634 * \param r EC_POINT object for the result 635 * \param n BIGNUM with the multiplier for the group generator (optional) 636 * \param num number futher summands 637 * \param p array of size num of EC_POINT objects 638 * \param m array of size num of BIGNUM objects 639 * \param ctx BN_CTX object (optional) 640 * \return 1 on success and 0 if an error occured --- 527 unchanged lines hidden --- | 633 * \param group underlying EC_GROUP object 634 * \param r EC_POINT object for the result 635 * \param n BIGNUM with the multiplier for the group generator (optional) 636 * \param num number futher summands 637 * \param p array of size num of EC_POINT objects 638 * \param m array of size num of BIGNUM objects 639 * \param ctx BN_CTX object (optional) 640 * \return 1 on success and 0 if an error occured --- 527 unchanged lines hidden --- |