We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RELIC version: 1d08528 Configure parameters: -DDEBUG=on -DBENCH=10 -DTESTS=10 -DARITH=gmp -DALLOC=DYNAMIC -DBN_PRECI=8192 -DFP_PRIME=256
-DDEBUG=on -DBENCH=10 -DTESTS=10 -DARITH=gmp -DALLOC=DYNAMIC -DBN_PRECI=8192 -DFP_PRIME=256
diff --git a/test/test_pc.c b/test/test_pc.c index 041d1b2..7a19b11 100755 --- a/test/test_pc.c +++ b/test/test_pc.c @@ -1241,6 +1247,14 @@ int exponentiation(void) { TEST_ASSERT(gt_is_unity(c), end); } TEST_END; + + TEST_BEGIN("EXTRA gt_exp(a, 0)") { + gt_rand(a); + bn_set_dig(n, 0); + gt_exp(c, a, n); + TEST_ASSERT(gt_is_unity(c), end); + } + TEST_END; } CATCH_ANY { util_print("FATAL ERROR!\n");
Result: Segmentation fault Expected result: a^0 == identity element in G_T
The text was updated successfully, but these errors were encountered:
This specific issue should have been fixed by now!
Sorry, something went wrong.
No branches or pull requests
Context
RELIC version: 1d08528
Configure parameters:
-DDEBUG=on -DBENCH=10 -DTESTS=10 -DARITH=gmp -DALLOC=DYNAMIC -DBN_PRECI=8192 -DFP_PRIME=256
Reproduction
Result: Segmentation fault
Expected result: a^0 == identity element in G_T
The text was updated successfully, but these errors were encountered: