2003-04-27 Moritz Schulte <moritz@g10code.com>
authorMoritz Schulte <mo@g10code.com>
Sun, 27 Apr 2003 19:18:27 +0000 (19:18 +0000)
committerMoritz Schulte <mo@g10code.com>
Sun, 27 Apr 2003 19:18:27 +0000 (19:18 +0000)
commit55ddea17ae11d69b6fc1a4ff402e5e5b011d28af
treeb6bf227e7f8b88d0f6d317101490f694566da71c
parent5238a4c07992095083091dd1d52fd81502f141b9
2003-04-27  Moritz Schulte  <moritz@g10code.com>

* pubkey.c (gcry_pubkey_register_default): New macro
`pubkey_use_dummy', use it.

* elgamal.c (elg_names): New variable.
(pubkey_spec_elg): Include elg_names.

* dsa.c (dsa_names): New variable.
(pubkey_spec_dsa): Include dsa_names.

* rsa.c (rsa_names): New variable.
(pubkey_spec_rsa): Include rsa_names.

* pubkey.c (gcry_pubkey_lookup_func_name): Compare name also with
the names listed in `sexp_names'.

2003-04-24  Moritz Schulte  <moritz@g10code.com>

* pubkey.c (sexp_to_key): New variables: module, pubkey.  Adjusted
to new module interface.
(sexp_to_key): Changend type of argument `retalgo' from `int *' to
`GcryModule **'.  Adjusted all callers.  Removed argument:
r_algotblidx.
(sexp_to_sig): Changend type of argument `retalgo' from `int *' to
`GcryModule **'.  Adjusted all callers.
(sexp_to_enc): Likewise.

(pubkey_get_npkey, pubkey_get_nskey, pubkey_get_nsig,
pubkey_get_nenc): Use strlen to find out the number.

* rsa.c: Adjust pubkey_spec_rsa to new internal interface.
* dsa.c: Likewise.
* elgamal.c: Likewise.
cipher/dsa.c
cipher/elgamal.c
cipher/pubkey.c
cipher/rsa.c