MCPcopy Create free account
hub / github.com/ElementsProject/elements / ConstructClMul1Byte

Function ConstructClMul1Byte

src/minisketch/src/fields/clmul_1byte.cpp:85–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85Sketch* ConstructClMul1Byte(int bits, int implementation) {
86 switch (bits) {
87#ifdef ENABLE_FIELD_INT_5
88 case 5: return new SketchImpl<Field5>(implementation, 5);
89#endif
90#ifdef ENABLE_FIELD_INT_8
91 case 8: return new SketchImpl<Field8>(implementation, 8);
92#endif
93 }
94 return nullptr;
95}
96
97Sketch* ConstructClMulTri1Byte(int bits, int implementation) {
98 switch (bits) {

Callers 1

ConstructFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected