[doc] fix comment of bn.h

dev
MITSUNARI Shigeo 7 years ago
parent 6b6b7fd8b1
commit ba006adcda
  1. 4
      include/mcl/bn.h

@ -7,7 +7,7 @@
http://opensource.org/licenses/BSD-3-Clause
*/
#ifndef MCLBN_FP_UNIT_SIZE
#error "define MCLBN_FP_UNIT_SIZE 4(or 6)"
#error "define MCLBN_FP_UNIT_SIZE 4(, 6 or 8)"
#endif
#include <stdint.h> // for uint64_t, uint8_t
@ -80,7 +80,7 @@ enum {
/*
init library
@param curve [in] type of bn curve
@param maxUnitSize [in] 4 or 6
@param maxUnitSize [in] MCLBN_FP_UNIT_SIZE
curve = MCLBN_CurveFp254BNb is allowed if maxUnitSize = 4
curve = MCLBN_CurveFp254BNb/MCLBN_CurveFp382_1/MCLBN_CurveFp382_2 are allowed if maxUnitSize = 6
This parameter is used to detect a library compiled with different MCLBN_FP_UNIT_SIZE for safety.

Loading…
Cancel
Save