| 83 | } |
| 84 | |
| 85 | Sketch* 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 | |
| 97 | Sketch* ConstructClMulTri1Byte(int bits, int implementation) { |
| 98 | switch (bits) { |