Skip to content

Comments

BIGNUM signed add/sub routines refactory#5963

Closed
davxy wants to merge 1 commit intoopenssl:masterfrom
davxy:bn_add_refact
Closed

BIGNUM signed add/sub routines refactory#5963
davxy wants to merge 1 commit intoopenssl:masterfrom
davxy:bn_add_refact

Conversation

@davxy
Copy link
Contributor

@davxy davxy commented Apr 16, 2018

Old code replaced in favor of a clearer implementation.
Performances are not penalized.

Updated the copyright end date to 2018.

The new implementation succeeded with the provided BIGNUM unit tests and is functionally equivalent
to the previous one, only a bit cleaner.

Checklist
  • documentation is added or updated
  • tests are added or updated

@openssl-machine openssl-machine added the hold: cla required The contributor needs to submit a license agreement label Apr 16, 2018
@richsalz
Copy link
Contributor

Close/open to kick the CLA bot.

@richsalz richsalz closed this Apr 16, 2018
@richsalz richsalz reopened this Apr 16, 2018
@openssl-machine openssl-machine removed the hold: cla required The contributor needs to submit a license agreement label Apr 16, 2018
@richsalz
Copy link
Contributor

This looks okay to me, but I'd really like @davidben or @dot-asm to take a look.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just r_neg = !b->neg?

Copy link
Contributor Author

@davxy davxy Apr 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks a lot better. Fixed

Old code replaced in favor of a clearer implementation.
Performances are not penalized.

Updated the copyright end date to 2018.
@davxy
Copy link
Contributor Author

davxy commented Apr 17, 2018

@davidben @richsalz Update pushed

levitte pushed a commit that referenced this pull request Apr 17, 2018
Old code replaced in favor of a clearer implementation.
Performances are not penalized.

Updated the copyright end date to 2018.

Reviewed-by: David Benjamin <[email protected]>
Reviewed-by: Rich Salz <[email protected]>
(Merged from #5963)
@richsalz
Copy link
Contributor

Merged to master, thank you!

@richsalz richsalz closed this Apr 17, 2018
@davxy davxy deleted the bn_add_refact branch April 18, 2018 05:38
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.

4 participants