Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nettle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmitry Baryshkov
nettle
Commits
bd175463
Commit
bd175463
authored
22 years ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
* x86/machine.m4 (AES_STORE): New macro.
Rev: src/nettle/x86/machine.m4:1.3
parent
72de3727
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
x86/machine.m4
+17
-0
17 additions, 0 deletions
x86/machine.m4
with
17 additions
and
0 deletions
x86/machine.m4
+
17
−
0
View file @
bd175463
...
...
@@ -13,3 +13,20 @@ define(<AES_LAST_ROUND>, <
movl %e<>$4<>x,%ebp
andl <$>0xff000000,%ebp
orl %ebp,%edi>)dnl
dnl AES_STORE(key, dst)
dnl Adds the subkey pointed to by %esi to %eax-%edx,
dnl and stores the result in the area pointed to by %edi.
dnl Note that x86 allows unaligned accesses.
dnl Would it be preferable to interleave the loads and stores?
define(<AES_STORE>, <
xorl ($1),%eax
xorl 4($1),%ebx
xorl 8($1),%ecx
xorl 12($1),%edx
movl %eax,($2)
movl %ebx,4($2)
movl %ecx,8($2)
movl %edx,12($2)>)dnl
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment