Skip to content

Conversation

@dot-asm
Copy link
Contributor

@dot-asm dot-asm commented Dec 23, 2017

Addressed #4970.

* all zeros if the high word of tmp[3] if 0
*/
low = (u64)tmp[3];
mask = 0 - (low >> 63);
Copy link
Member

Choose a reason for hiding this comment

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

I'm wondering if it's useful to have a 64 bit version of constant_time_msb()

Copy link
Contributor Author

@dot-asm dot-asm Dec 23, 2017

Choose a reason for hiding this comment

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

There is one, but only in master. While this should go to multiple branches. Another reason I'm reluctant to use it is because I [for one] value original expression. I mean it would like mixing accents, you know...

@dot-asm dot-asm added branch: 1.0.2 Applies to OpenSSL_1_0_2-stable branch (EOL) 1.1.0 branch: master Applies to master branch labels Dec 23, 2017
@kroeckx kroeckx added the approval: done This pull request has the required number of approvals label Dec 23, 2017
levitte pushed a commit that referenced this pull request Dec 27, 2017
…our.

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from #4974)
levitte pushed a commit that referenced this pull request Dec 27, 2017
…our.

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from #4974)

(cherry picked from commit 8af7e94)
levitte pushed a commit that referenced this pull request Dec 27, 2017
…our.

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from #4974)

(cherry picked from commit 8af7e94)
@dot-asm dot-asm closed this Dec 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approval: done This pull request has the required number of approvals branch: master Applies to master branch branch: 1.0.2 Applies to OpenSSL_1_0_2-stable branch (EOL)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants