[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnutls-dev
Subject:    Re: updates in mpi
From:       Nikos Mavrogiannopoulos <nmav () gnutls ! org>
Date:       2008-05-04 13:40:10
Message-ID: 481DBCBA.3050502 () gnutls ! org
[Download RAW message or body]

Nikos Mavrogiannopoulos wrote:
> I've pushed into git the gnutls_with_ext_mpi branch. In this branch the
> mpi (bigint) operations were moved to:
> 1. Internal API: gnutls_mpi.h -> gnutls_mpi.c
> 2. Backend: mpi-libgcrypt.c
> 
> the public key crypto ops to:
> 1. Internal API: gnutls_pk.h -> gnutls_pk.c
> 2. Backend: pk-libgcrypt.c
> 
> It is not fully workable yet.

I've finally finished it. The current interface in crypto.h allows
(1) to register specific ciphers (when a hw engine is present for some
cipher) at runtime, (2) to replace the whole engine for
cipher/mac/digest/bigint/public key both at runtime and compile time[0].

Currently what is left to be done is to rewrite opencdk to use the
gnutls internal api for accessing ciphers/mac/pk and write a test case
for _pkcs12_string_to_key() which was modified but not tested since then.


[0]. for compile time replacement check the *-libgcrypt.c files. Only
those need to be replaced.

regards,
Nikos


_______________________________________________
Gnutls-devel mailing list
Gnutls-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/gnutls-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic