Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: gcrypt

Starting with Assembler code for AMD64

 

 

GnuPG gcrypt RSS feed   Index | Next | Previous | View Threaded


Werner.Dittmann at t-online

Oct 22, 2006, 1:22 AM

Post #1 of 2 (1336 views)
Permalink
Starting with Assembler code for AMD64

All,

just now I'm doing some enhancements to the MPI part of libgcrypt
by adding assembler modules for x86_64 (amd64). What I basically
do is the same as it was done previously: taking the modules
from GNU gmp, edit them to fit into libgcrypt.

What was done so far (I just started with that):
- create a new sub-directory "amd64" into mpi
- implement two assembler modules as a start: add_n and sub_n
- modify the config.links in mpi to detect the x86_64 architecture
- configure / make

Thus I was able to make the new libgcrypt with these new assembler
modules.

Before I start to do my own test cases: are there test cases for
MPI around that I can use to verify the implementation?


Regards,
Werner

_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel


wk at gnupg

Oct 23, 2006, 1:47 AM

Post #2 of 2 (1209 views)
Permalink
Re: Starting with Assembler code for AMD64 [In reply to]

On Sun, 22 Oct 2006 10:22, Werner Dittmann said:

> just now I'm doing some enhancements to the MPI part of libgcrypt
> by adding assembler modules for x86_64 (amd64). What I basically
> do is the same as it was done previously: taking the modules
> from GNU gmp, edit them to fit into libgcrypt.

GREAT.

> Before I start to do my own test cases: are there test cases for
> MPI around that I can use to verify the implementation?

There are no specific test cases. However if full tests suite works
you should be fine. Of course good regressions tests specific to all
MPI functions are desirable. I have not looked at gmp for a long
time, eventually we should take some from there.



Salam-Shalom,

Werner


_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel

GnuPG gcrypt RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.