Skip to content

Chacha asm fix - can't use buffer in old compiler#1085

Merged
toddouska merged 1 commit intowolfSSL:masterfrom
SparkiDev:chacha_asm_fix
Aug 9, 2017
Merged

Chacha asm fix - can't use buffer in old compiler#1085
toddouska merged 1 commit intowolfSSL:masterfrom
SparkiDev:chacha_asm_fix

Conversation

@SparkiDev
Copy link
Contributor

No description provided.

static const word64 rotl8[2] =
{ 0x0605040702010003UL,0x0e0d0c0f0a09080bUL };
static const word64 rotl16[2] =
{ 0x0504070601000302UL,0x0d0c0f0e09080b0aUL };
Copy link
Contributor

Choose a reason for hiding this comment

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

Hey Sean, in this PR did you mean to go back to using __m128i? A previous PR #1081 changed this to use the word64. #1081

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Had to go back to __m128i.
The previous change was to remove __m256i and I thought i could get rid off __m128i as well.
Old compilers didn't like my change so I returned to __m128i.

@toddouska toddouska merged commit d0ff606 into wolfSSL:master Aug 9, 2017
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.

3 participants