diff options
Diffstat (limited to 'src/lib/pubkey/ec_group/point_gfp.h')
-rw-r--r-- | src/lib/pubkey/ec_group/point_gfp.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/pubkey/ec_group/point_gfp.h b/src/lib/pubkey/ec_group/point_gfp.h index 39188ba21..bc8a8571f 100644 --- a/src/lib/pubkey/ec_group/point_gfp.h +++ b/src/lib/pubkey/ec_group/point_gfp.h @@ -218,6 +218,22 @@ class BOTAN_PUBLIC_API(2,0) PointGFp final void add(const PointGFp& other, std::vector<BigInt>& workspace); /** + * Point addition. Array version. + * + * @param x_words the words of the x coordinate of the other point + * @param x_size size of x_words + * @param y_words the words of the y coordinate of the other point + * @param y_size size of y_words + * @param z_words the words of the y coordinate of the other point + * @param z_size size of y_words + * @param workspace temp space, at least WORKSPACE_SIZE elements + */ + void add(const word x_words[], size_t x_size, + const word y_words[], size_t y_size, + const word z_words[], size_t z_size, + std::vector<BigInt>& workspace); + + /** * Point addition - mixed J+A * @param other affine point to add - assumed to be affine! * @param workspace temp space, at least WORKSPACE_SIZE elements |