aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bn/asm/......add.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bn/asm/......add.c')
-rw-r--r--crypto/bn/asm/......add.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/bn/asm/......add.c b/crypto/bn/asm/......add.c
new file mode 100644
index 0000000000..60edeaa07e
--- /dev/null
+++ b/crypto/bn/asm/......add.c
@@ -0,0 +1,12 @@
+#include <stdio.h>
+ {
+ unsigned long a[10],b[10],c[10];
+
+ a[0]=0xFFFFFFFF;
+ a[1]=0xFFFFFFFF;
+ b[0]=0xFFFFFFFF;
+ b[1]=0xFFFFFFFF;
+
+ c[2]=bn_add_words(c,a,b,2);
+ printf("%08X %08X %08X\n",c[2],c[1],c[0]);
+ }