Closed szcnnn closed 3 years ago
"cha*" means serialization, then use mclBnGT_serialize and mclBnGT_deserialize. If it means a string, then use mclBnFp_getStr and mclBnFp_setStr for each member d[0], ..., d[11]`.
mclBnGT_serialize
mclBnGT_deserialize
mclBnFp_getStr
mclBnFp_setStr
d[0]
Is the outputs of mclBnGT_getStr a point on GT?
mclBnGT_getStr
GT has 12 elements of Fp (Fp d[12]), so it outputs d[0] d[1] d[2] ... d[11].
d[0] d[1] d[2] ... d[11]
"cha*" means serialization, then use
mclBnGT_serialize
andmclBnGT_deserialize
. If it means a string, then usemclBnFp_getStr
andmclBnFp_setStr
for each memberd[0]
, ..., d[11]`.