#include <botan/internal/mp_asm.h>
Go to the source code of this file.
|
void | Botan::word3_muladd (word *w2, word *w1, word *w0, word a, word b) |
|
void | Botan::word3_muladd_2 (word *w2, word *w1, word *w0, word a, word b) |
|
word | Botan::word8_add2 (word x[8], const word y[8], word carry) |
|
word | Botan::word8_add3 (word z[8], const word x[8], const word y[8], word carry) |
|
word | Botan::word8_linmul2 (word x[8], word y, word carry) |
|
word | Botan::word8_linmul3 (word z[8], const word x[8], word y, word carry) |
|
word | Botan::word8_madd3 (word z[8], const word x[8], word y, word carry) |
|
word | Botan::word8_sub2 (word x[8], const word y[8], word carry) |
|
word | Botan::word8_sub2_rev (word x[8], const word y[8], word carry) |
|
word | Botan::word8_sub3 (word z[8], const word x[8], const word y[8], word carry) |
|
word | Botan::word_add (word x, word y, word *carry) |
|
word | Botan::word_sub (word x, word y, word *carry) |
|
#define ADD_OR_SUBTRACT |
( |
|
CORE_CODE | ) |
|
Value:
ASM(
"sbbl %[carry],%[carry]")
\
Definition at line 62 of file mp_asmi.h.
#define ADDSUB2_OP |
( |
|
OPERATION, |
|
|
|
INDEX |
|
) |
| |
Value:ASM(
"movl 4*" #INDEX
"(%[y]), %[carry]")
\
ASM(OPERATION
" %[carry], 4*" #INDEX
"(%[x])") \
Definition at line 25 of file mp_asmi.h.
#define ADDSUB3_OP |
( |
|
OPERATION, |
|
|
|
INDEX |
|
) |
| |
Value:ASM(
"movl 4*" #INDEX
"(%[x]), %[carry]")
\
ASM(OPERATION
" 4*" #INDEX
"(%[y]), %[carry]")
\
ASM(
"movl %[carry], 4*" #INDEX
"(%[z])") \
Definition at line 29 of file mp_asmi.h.
#define ASM |
( |
|
x | ) |
x "\n\t" |
#define DO_8_TIMES |
( |
|
MACRO, |
|
|
|
ARG |
|
) |
| |
#define LINMUL_OP |
( |
|
WRITE_TO, |
|
|
|
INDEX |
|
) |
| |
Value:ASM(
"movl 4*" #INDEX
"(%[x]),%%eax")
\
ASM(
"addl %[carry],%%eax")
\
ASM(
"movl %%edx,%[carry]")
\
ASM(
"movl %%eax, 4*" #INDEX
"(%[" WRITE_TO
"])")
Definition at line 34 of file mp_asmi.h.
#define MULADD_OP |
( |
|
IGNORED, |
|
|
|
INDEX |
|
) |
| |
Value:ASM(
"movl 4*" #INDEX
"(%[x]),%%eax")
\
ASM(
"addl %[carry],%%eax")
\
ASM(
"addl 4*" #INDEX
"(%[z]),%%eax")
\
ASM(
"movl %%edx,%[carry]")
\
ASM(
"movl %%eax, 4*" #INDEX
" (%[z])")
Definition at line 42 of file mp_asmi.h.