Skip to content
New issue

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

Polish GLV-SAC in GT. #305

Merged
merged 2 commits into from
Aug 14, 2024
Merged

Polish GLV-SAC in GT. #305

merged 2 commits into from
Aug 14, 2024

Conversation

dfaranha
Copy link
Contributor

No description provided.

@dfaranha dfaranha merged commit 6afe54d into main Aug 14, 2024
51 checks passed
*
* @param[out] c - the result.
* @param[in] a - the element to exponentiate.
* @param[in] b - the exponent.
* @param[in] f - the maximum Frobenius power.
*/
void gt_exp_gls_imp(gt_t c, const gt_t a, const bn_t b, size_t f) {
void gt_exp_gls_naf(gt_t c, const gt_t a, const bn_t b, size_t f) {

Check warning

Code scanning / CodeQL

Poorly documented large function Warning

Poorly documented function: fewer than 2% comments for a function of 140 lines.
* @param[in] b - the exponent.
* @param[in] f - the maximum Frobenius power.
*/
static void gt_exp_gls_sac(gt_t c, const gt_t a, const bn_t b, size_t d,

Check warning

Code scanning / CodeQL

Poorly documented large function Warning

Poorly documented function: fewer than 2% comments for a function of 117 lines.
bn_null(n);
bn_null(u);

RLC_TRY {

Check warning

Code scanning / CodeQL

Local variable address stored in non-local memory Warning

A stack address (
source
) may be assigned to a non-local variable.
*
* @param[out] c - the result.
* @param[in] a - the element to exponentiate.
* @param[in] b - the exponent.
* @param[in] f - the maximum Frobenius power.
*/
static void gt_exp_reg_gls(gt_t c, const gt_t a, const bn_t b, size_t d,
static void gt_exp_reg_sac(gt_t c, const gt_t a, const bn_t b, size_t d,

Check warning

Code scanning / CodeQL

Poorly documented large function Warning

Poorly documented function: fewer than 2% comments for a function of 114 lines.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant