diff --git a/include/mcl/bn_c256.h b/include/mcl/bn_c256.h new file mode 100644 index 0000000..5135e78 --- /dev/null +++ b/include/mcl/bn_c256.h @@ -0,0 +1,11 @@ +#pragma once +/** + @file + @brief C API of 256-bit optimal ate pairing over BN curves + @author MITSUNARI Shigeo(@herumi) + @license modified new BSD license + http://opensource.org/licenses/BSD-3-Clause +*/ +#define MCLBN_FP_UNIT_SIZE 4 +#include + diff --git a/include/mcl/bn_c384.h b/include/mcl/bn_c384.h new file mode 100644 index 0000000..23459e0 --- /dev/null +++ b/include/mcl/bn_c384.h @@ -0,0 +1,12 @@ +#pragma once +/** + @file + @brief C API of 384-bit optimal ate pairing over BN curves + @author MITSUNARI Shigeo(@herumi) + @license modified new BSD license + http://opensource.org/licenses/BSD-3-Clause +*/ +#define MCLBN_FP_UNIT_SIZE 6 +#define MCLBN_FR_UNIT_SIZE 6 +#include + diff --git a/include/mcl/bn_c384_256.h b/include/mcl/bn_c384_256.h new file mode 100644 index 0000000..bb7045a --- /dev/null +++ b/include/mcl/bn_c384_256.h @@ -0,0 +1,12 @@ +#pragma once +/** + @file + @brief C API of 384/256-bit optimal ate pairing over BN curves + @author MITSUNARI Shigeo(@herumi) + @license modified new BSD license + http://opensource.org/licenses/BSD-3-Clause +*/ +#define MCLBN_FP_UNIT_SIZE 6 +#define MCLBN_FR_UNIT_SIZE 4 +#include +