nil::crypto3::algebra::curves::detail::short_weierstrass_element_g1_projective_add_1998_cmo_2 Struct Reference

A struct representing element addition from the group G1 of short Weierstrass curve for projective coordinates representation. NOTE: does not handle O and pts of order 2,4 http://www.hyperelliptic.org/EFD/g1p/auto-shortw-projective.html#addition-add-1998-cmo-2. More...

#include <add_1998_cmo_2.hpp>

+ Collaboration diagram for nil::crypto3::algebra::curves::detail::short_weierstrass_element_g1_projective_add_1998_cmo_2:

Static Public Member Functions

template<typename ElementType >
constexpr static ElementType process (const ElementType &first, const ElementType &second)
 

Detailed Description

A struct representing element addition from the group G1 of short Weierstrass curve for projective coordinates representation. NOTE: does not handle O and pts of order 2,4 http://www.hyperelliptic.org/EFD/g1p/auto-shortw-projective.html#addition-add-1998-cmo-2.

Member Function Documentation

◆ process()

template<typename ElementType >
constexpr static ElementType nil::crypto3::algebra::curves::detail::short_weierstrass_element_g1_projective_add_1998_cmo_2::process ( const ElementType &  first,
const ElementType &  second 
)
inlinestaticconstexpr

The documentation for this struct was generated from the following file: