| 227 | } |
| 228 | |
| 229 | static void DestroyElggTable (BIGNUM * table[][255], int len) |
| 230 | { |
| 231 | for (int i = 0; i < len; i++) |
| 232 | for (int j = 0; j < 255; j++) |
| 233 | { |
| 234 | BN_free (table[i][j]); |
| 235 | table[i][j] = nullptr; |
| 236 | } |
| 237 | BN_MONT_CTX_free (g_MontCtx); |
| 238 | } |
| 239 | |
| 240 | static BIGNUM * ElggPow (const uint8_t * exp, int len, BIGNUM * table[][255], BN_CTX * ctx) |
| 241 | // exp is in Big Endian |
nothing calls this directly
no outgoing calls
no test coverage detected