]> git.ipfire.org Git - thirdparty/nettle.git/log
thirdparty/nettle.git
22 years ago*** empty log message ***
Niels Möller [Tue, 11 Feb 2003 19:58:49 +0000 (20:58 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.174

22 years ago(nettle_buffer_copy): Bug fix, it didn't return any
Niels Möller [Tue, 11 Feb 2003 19:56:45 +0000 (20:56 +0100)] 
(nettle_buffer_copy): Bug fix, it didn't return any
value.

Rev: src/nettle/buffer.c:1.7

22 years ago(test_main): Added test for %( and
Niels Möller [Tue, 11 Feb 2003 08:46:24 +0000 (09:46 +0100)] 
(test_main): Added test for %( and
%).

Rev: src/nettle/testsuite/sexp-format-test.c:1.7

22 years ago(sexp_vformat): Handle %( and %).
Niels Möller [Tue, 11 Feb 2003 08:45:53 +0000 (09:45 +0100)] 
(sexp_vformat): Handle %( and %).

Rev: src/nettle/sexp-format.c:1.8
Rev: src/nettle/sexp.h:1.14

22 years ago(nettle_xrealloc): Fixed out-of-memory check.
Niels Möller [Tue, 11 Feb 2003 08:44:19 +0000 (09:44 +0100)] 
(nettle_xrealloc): Fixed out-of-memory check.

Rev: src/nettle/realloc.c:1.2

22 years ago(SHLIBMAJOR): Bumped version number to 1.
Niels Möller [Tue, 11 Feb 2003 08:43:48 +0000 (09:43 +0100)] 
(SHLIBMAJOR): Bumped version number to 1.

Rev: src/nettle/configure.ac:1.18

22 years ago* buffer.c (nettle_buffer_init_realloc): New function.
Niels Möller [Tue, 11 Feb 2003 08:43:21 +0000 (09:43 +0100)] 
* buffer.c (nettle_buffer_init_realloc): New function.
* buffer-init.c (nettle_buffer_init): Use nettle_buffer_init_realloc.

Rev: src/nettle/buffer-init.c:1.2

22 years ago(nettle_buffer_init_realloc): New function.
Niels Möller [Tue, 11 Feb 2003 08:42:56 +0000 (09:42 +0100)] 
(nettle_buffer_init_realloc): New function.

Rev: src/nettle/buffer.c:1.6
Rev: src/nettle/buffer.h:1.5

22 years ago*** empty log message ***
Niels Möller [Mon, 10 Feb 2003 17:53:37 +0000 (18:53 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.173

22 years ago(test_main): Test space-searated literals too.
Niels Möller [Mon, 10 Feb 2003 17:53:27 +0000 (18:53 +0100)] 
(test_main): Test space-searated literals too.

Rev: src/nettle/testsuite/sexp-format-test.c:1.6

22 years ago*** empty log message ***
Niels Möller [Mon, 10 Feb 2003 17:38:04 +0000 (18:38 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.172

22 years ago(test_main): New test with tokens
Niels Möller [Mon, 10 Feb 2003 17:37:30 +0000 (18:37 +0100)] 
(test_main): New test with tokens
in the format string.

Rev: src/nettle/testsuite/sexp-format-test.c:1.5

22 years ago* rsa2sexp.c (rsa_keypair_to_sexp): New argument ALGORITHM_NAME.
Niels Möller [Mon, 10 Feb 2003 17:37:09 +0000 (18:37 +0100)] 
* rsa2sexp.c (rsa_keypair_to_sexp): New argument ALGORITHM_NAME.
* examples/rsa-keygen.c (main): Updated call to rsa_keypair_to_sexp.
* testsuite/rsa2sexp-test.c (test_main): Likewise.

Rev: src/nettle/testsuite/rsa2sexp-test.c:1.6

22 years ago* rsa2sexp.c (rsa_keypair_to_sexp): New argument ALGORITHM_NAME.
Niels Möller [Mon, 10 Feb 2003 17:36:22 +0000 (18:36 +0100)] 
* rsa2sexp.c (rsa_keypair_to_sexp): New argument ALGORITHM_NAME.
* examples/rsa-keygen.c (main): Updated call to rsa_keypair_to_sexp.

Rev: src/nettle/examples/rsa-keygen.c:1.9

22 years ago* rsa2sexp.c (rsa_keypair_to_sexp): New argument ALGORITHM_NAME.
Niels Möller [Mon, 10 Feb 2003 17:35:39 +0000 (18:35 +0100)] 
* rsa2sexp.c (rsa_keypair_to_sexp): New argument ALGORITHM_NAME.

* rsa2sexp.c (rsa_keypair_to_sexp): Use literals with sexp_format.

Rev: src/nettle/rsa.h:1.21
Rev: src/nettle/rsa2sexp.c:1.6

22 years ago* sexp-format.c (sexp_vformat): Allow whitespace in format string.
Niels Möller [Mon, 10 Feb 2003 17:35:07 +0000 (18:35 +0100)] 
* sexp-format.c (sexp_vformat): Allow whitespace in format string.

Rev: src/nettle/sexp-format.c:1.7
Rev: src/nettle/sexp.h:1.13

22 years ago(rsa_keypair_to_sexp): Use literals with sexp_format.
Niels Möller [Mon, 10 Feb 2003 16:26:39 +0000 (17:26 +0100)] 
(rsa_keypair_to_sexp): Use literals with sexp_format.

Rev: src/nettle/rsa2sexp.c:1.5

22 years ago(format_string): New function.
Niels Möller [Mon, 10 Feb 2003 16:26:01 +0000 (17:26 +0100)] 
(format_string): New function.
(sexp_vformat): Implemented support for literals in the format
string.

Rev: src/nettle/sexp-format.c:1.6
Rev: src/nettle/sexp.h:1.12

22 years ago(print_raw, print_nl): New functions.
Niels Möller [Wed, 5 Feb 2003 23:30:41 +0000 (00:30 +0100)] 
(print_raw, print_nl): New functions.
The testfunctions use these instead of using echo directly.
Use the test input '3:"\x' instead of '2:"\', to be friendlier to
sysv echo.

Rev: src/nettle/testsuite/sexp-conv-test:1.6

22 years ago*** empty log message ***
Niels Möller [Wed, 5 Feb 2003 22:33:03 +0000 (23:33 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.171

22 years ago(des_set_key): Different name mangling, if this
Niels Möller [Wed, 5 Feb 2003 22:32:39 +0000 (23:32 +0100)] 
(des_set_key): Different name mangling, if this
file is included, des_set_key should refer to a function that
behaves like openssl's.

Rev: src/nettle/des-compat.h:1.9

22 years ago(des_key_sched, des_is_weak_key): Use the name
Niels Möller [Wed, 5 Feb 2003 22:31:40 +0000 (23:31 +0100)] 
(des_key_sched, des_is_weak_key): Use the name
nettle_des_set_key for referring to Nettle's function.

Rev: src/nettle/des-compat.c:1.8

22 years ago(des_set_key): Name mangling, linker symbols should use a
Niels Möller [Wed, 5 Feb 2003 22:30:44 +0000 (23:30 +0100)] 
(des_set_key): Name mangling, linker symbols should use a
"nettle_" prefix, and this one collided with openssl. Perhaps all
symbols should be mangled in a similar way, but that's for later.

Rev: src/nettle/des.h:1.7

22 years ago(LDFLAGS): --with-lib-path should add to LDFLAGS,
Niels Möller [Wed, 5 Feb 2003 22:25:44 +0000 (23:25 +0100)] 
(LDFLAGS): --with-lib-path should add to LDFLAGS,
not replace it.

Rev: src/nettle/configure.ac:1.17

22 years ago*** empty log message ***
Niels Möller [Thu, 30 Jan 2003 22:17:16 +0000 (23:17 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.170

22 years ago(sexp_put_string): Fixed handling of escapable
Niels Möller [Thu, 30 Jan 2003 22:06:25 +0000 (23:06 +0100)] 
(sexp_put_string): Fixed handling of escapable
characters. The code generated random escape sequences for
characters in the 0x10-0x1f range.

Rev: src/nettle/tools/output.c:1.2

22 years agoMore tests for hex and base64 input
Niels Möller [Thu, 30 Jan 2003 22:04:50 +0000 (23:04 +0100)] 
More tests for hex and base64 input
and output.

Rev: src/nettle/testsuite/sexp-conv-test:1.5

22 years ago*** empty log message ***
Niels Möller [Thu, 30 Jan 2003 17:35:32 +0000 (18:35 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.169

22 years ago(nettle_mpz_set_sexp): Call sexp_iterator_next on
Niels Möller [Thu, 30 Jan 2003 17:35:21 +0000 (18:35 +0100)] 
(nettle_mpz_set_sexp): Call sexp_iterator_next on
success. That means the iterator argument can't be const.

Rev: src/nettle/bignum.h:1.7
Rev: src/nettle/sexp2bignum.c:1.4

22 years ago*** empty log message ***
Niels Möller [Wed, 29 Jan 2003 15:23:50 +0000 (16:23 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.168

22 years ago(LDADD): Add libnettle.a, for the dependency.
Niels Möller [Wed, 29 Jan 2003 15:23:27 +0000 (16:23 +0100)] 
(LDADD): Add libnettle.a, for the dependency.

Rev: src/nettle/tools/Makefile.am:1.4

22 years agoAdded FIXME in rsa section.
Niels Möller [Mon, 27 Jan 2003 22:27:20 +0000 (23:27 +0100)] 
Added FIXME in rsa section.

Rev: src/nettle/nettle.texinfo:1.18

22 years agoComment update.
Niels Möller [Mon, 27 Jan 2003 22:25:33 +0000 (23:25 +0100)] 
Comment update.

Rev: src/nettle/rsa.h:1.20

22 years agoRSA renaming. Updated all callers.
Niels Möller [Mon, 27 Jan 2003 22:17:20 +0000 (23:17 +0100)] 
RSA renaming. Updated all callers.
* rsa-sign.c (rsa_private_key_init, rsa_private_key_clear)
(rsa_private_key_prepare): Renamed functions.
* rsa.c (rsa_public_key_init, rsa_public_key_clear)
(rsa_public_key_prepare): Renamed functions.

Rev: src/nettle/ChangeLog:1.167
Rev: src/nettle/examples/rsa-keygen.c:1.8
Rev: src/nettle/examples/rsa-sign.c:1.4
Rev: src/nettle/examples/rsa-verify.c:1.3
Rev: src/nettle/rsa-compat.c:1.7
Rev: src/nettle/sexp2rsa.c:1.10
Rev: src/nettle/testsuite/rsa-keygen-test.c:1.5
Rev: src/nettle/testsuite/rsa-test.c:1.6
Rev: src/nettle/testsuite/rsa2sexp-test.c:1.5
Rev: src/nettle/testsuite/sexp2rsa-test.c:1.6

22 years ago(dsa_signature_from_sexp): New function.
Niels Möller [Mon, 27 Jan 2003 22:14:59 +0000 (23:14 +0100)] 
(dsa_signature_from_sexp): New function.

Rev: src/nettle/dsa.h:1.6
Rev: src/nettle/sexp2dsa.c:1.3

22 years ago* rsa-sign.c (rsa_private_key_init, rsa_private_key_clear)
Niels Möller [Mon, 27 Jan 2003 22:08:34 +0000 (23:08 +0100)] 
* rsa-sign.c (rsa_private_key_init, rsa_private_key_clear)
(rsa_private_key_prepare): Renamed functions.

* rsa.c (rsa_public_key_init, rsa_public_key_clear)
(rsa_public_key_prepare): Renamed functions.

Rev: src/nettle/NEWS:1.9
Rev: src/nettle/rsa-sign.c:1.2
Rev: src/nettle/rsa.c:1.11
Rev: src/nettle/rsa.h:1.19

22 years ago* Makefile.am (libnettle_a_SOURCES): Added new rsa and pkcs1
Niels Möller [Thu, 23 Jan 2003 22:48:17 +0000 (23:48 +0100)] 
* Makefile.am (libnettle_a_SOURCES): Added new rsa and pkcs1
files. Removed old rsa_md5.c and rsa_sha1.c.

Rev: src/nettle/ChangeLog:1.166
Rev: src/nettle/Makefile.am:1.57

22 years ago* testsuite/Makefile.am (TS_PROGS): Added pkcs1-test.
Niels Möller [Thu, 23 Jan 2003 22:46:53 +0000 (23:46 +0100)] 
* testsuite/Makefile.am (TS_PROGS): Added pkcs1-test.

* testsuite/pkcs1-test.c: New test.

Rev: src/nettle/testsuite/.cvsignore:1.22
Rev: src/nettle/testsuite/Makefile.am:1.37
Rev: src/nettle/testsuite/pkcs1-test.c:1.1

22 years ago* rsa_md5.c, rsa_sha1.c: Deleted files, contents spread over
Niels Möller [Thu, 23 Jan 2003 22:45:49 +0000 (23:45 +0100)] 
* rsa_md5.c, rsa_sha1.c: Deleted files, contents spread over
several files for signing and verification.
* rsa-sign.c, rsa-sha1-verify.c, rsa-sha1-sign.c,
rsa-md5-verify.c, rsa-md5-sign.c:  New files.

Rev: src/nettle/rsa_md5.c:1.8(DEAD)
Rev: src/nettle/rsa_sha1.c:1.8(DEAD)

22 years ago* dsa-verify.c (dsa_verify_digest): New function.
Niels Möller [Thu, 23 Jan 2003 22:43:22 +0000 (23:43 +0100)] 
* dsa-verify.c (dsa_verify_digest): New function.
(dsa_verify): Most of the code moved to dsa_verify_digest, which
is used here.
* dsa-sign.c (dsa_sign_digest): New function.
(dsa_sign): Most of the code moved to dsa_sign_digest, which is
used here.
* dsa.c (_dsa_hash): Deleted function.

Rev: src/nettle/dsa-sign.c:1.5
Rev: src/nettle/dsa-verify.c:1.3

22 years ago* dsa.c (_dsa_hash): Deleted function.
Niels Möller [Thu, 23 Jan 2003 22:42:57 +0000 (23:42 +0100)] 
* dsa.c (_dsa_hash): Deleted function.

Rev: src/nettle/dsa.c:1.4
Rev: src/nettle/dsa.h:1.5

22 years ago* rsa_md5.c, rsa_sha1.c: Deleted files, contents spread over
Niels Möller [Thu, 23 Jan 2003 22:42:04 +0000 (23:42 +0100)] 
* rsa_md5.c, rsa_sha1.c: Deleted files, contents spread over
several files for signing and verification.
* rsa-sign.c, rsa-sha1-verify.c, rsa-sha1-sign.c,
rsa-md5-verify.c, rsa-md5-sign.c:  New files.

* rsa-sha1-verify.c (rsa_sha1_verify_digest): New function.
* rsa-sha1-sign.c (rsa_sha1_sign_digest):  New function.
* rsa-md5-verify.c (rsa_md5_verify_digest):  New function.
* rsa-md5-sign.c (rsa_md5_sign_digest):  New function.
* rsa-verify.c (_rsa_verify): New file, new function.

* rsa.c (_rsa_check_size): Renamed from rsa_check_size, and made
non-static. Private key functions moved to rsa-sign.c.

Rev: src/nettle/rsa-md5-sign.c:1.1
Rev: src/nettle/rsa-md5-verify.c:1.1
Rev: src/nettle/rsa-sha1-sign.c:1.1
Rev: src/nettle/rsa-sha1-verify.c:1.1
Rev: src/nettle/rsa-sign.c:1.1
Rev: src/nettle/rsa-verify.c:1.1
Rev: src/nettle/rsa.c:1.10
Rev: src/nettle/rsa.h:1.18

22 years agoNew files.
Niels Möller [Thu, 23 Jan 2003 22:33:00 +0000 (23:33 +0100)] 
New files.
(pkcs1_signature_prefix): New function.

Rev: src/nettle/pkcs1-rsa-md5.c:1.1
Rev: src/nettle/pkcs1-rsa-sha1.c:1.1
Rev: src/nettle/pkcs1.c:1.1
Rev: src/nettle/pkcs1.h:1.1

22 years ago*** empty log message ***
Niels Möller [Thu, 23 Jan 2003 17:21:01 +0000 (18:21 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.165

22 years ago(nettle_benchmark_LDADD): Use OPENSSL_LIBFLAGS.
Niels Möller [Wed, 22 Jan 2003 17:20:00 +0000 (18:20 +0100)] 
(nettle_benchmark_LDADD): Use OPENSSL_LIBFLAGS.

Rev: src/nettle/examples/Makefile.am:1.16

22 years ago(OPENSSL_LIBFLAGS): If libcrypto is found, add
Niels Möller [Wed, 22 Jan 2003 17:19:29 +0000 (18:19 +0100)] 
(OPENSSL_LIBFLAGS): If libcrypto is found, add
-lcrypto to OPENSSL_LIBFLAGS, not the plain LDFLAGS.

Rev: src/nettle/configure.ac:1.16

22 years agoMoved comment.
Niels Möller [Wed, 22 Jan 2003 17:19:23 +0000 (18:19 +0100)] 
Moved comment.

Rev: src/nettle/Makefile.am:1.56

22 years ago*** empty log message ***
Niels Möller [Mon, 20 Jan 2003 21:02:18 +0000 (22:02 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.164

22 years ago(CLEANFILES): Delete test.in, test1.out and test2.out.
Niels Möller [Mon, 20 Jan 2003 21:01:29 +0000 (22:01 +0100)] 
(CLEANFILES): Delete test.in, test1.out and test2.out.

Rev: src/nettle/testsuite/Makefile.am:1.36

22 years ago*** empty log message ***
Niels Möller [Fri, 17 Jan 2003 15:30:28 +0000 (16:30 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.163

22 years ago* examples/Makefile.am (AM_CPPFLAGS): Use AM_CPPFLAGS instead of
Niels Möller [Fri, 17 Jan 2003 15:30:07 +0000 (16:30 +0100)] 
* examples/Makefile.am (AM_CPPFLAGS): Use AM_CPPFLAGS instead of
AM_CFLAGS.
* testsuite/Makefile.am (AM_CPPFLAGS): Likewise.

Rev: src/nettle/examples/Makefile.am:1.15
Rev: src/nettle/testsuite/Makefile.am:1.35

22 years ago*** empty log message ***
Niels Möller [Thu, 16 Jan 2003 16:00:19 +0000 (17:00 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.162

22 years ago(check): Can't use quotes around $(srcdir).
Niels Möller [Thu, 16 Jan 2003 16:00:14 +0000 (17:00 +0100)] 
(check): Can't use quotes around $(srcdir).

Rev: src/nettle/testsuite/Makefile.am:1.34

22 years ago*** empty log message ***
Niels Möller [Tue, 14 Jan 2003 11:19:11 +0000 (12:19 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.161

22 years ago(check): Don't use "run-tests" as a
Niels Möller [Tue, 14 Jan 2003 11:19:06 +0000 (12:19 +0100)] 
(check): Don't use "run-tests" as a
target, as it's confused with the file with the same name.

Rev: src/nettle/testsuite/Makefile.am:1.33

22 years agoAdded missing #! /bin/sh.
Niels Möller [Tue, 14 Jan 2003 10:16:04 +0000 (11:16 +0100)] 
Added missing #! /bin/sh.

Rev: src/nettle/.bootstrap:1.2

22 years ago*** empty log message ***
Niels Möller [Sun, 12 Jan 2003 20:07:20 +0000 (21:07 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.160
Rev: src/nettle/tools/.gdbinit:1.1

22 years ago(nettle_buffer_reset): New function.
Niels Möller [Sun, 12 Jan 2003 20:05:51 +0000 (21:05 +0100)] 
(nettle_buffer_reset): New function.
(nettle_buffer_copy): New function.

Rev: src/nettle/buffer.c:1.5
Rev: src/nettle/buffer.h:1.4

22 years ago* tools/input.c, tools/input.h, tools/output.c, tools/output.h,
Niels Möller [Sun, 12 Jan 2003 19:54:04 +0000 (20:54 +0100)] 
* tools/input.c, tools/input.h, tools/output.c, tools/output.h,
tools/parse.c, tools/parse.h, tools/misc.c, tools/misc.h: Moved
parts ov sexp-conv.c to separate files

Rev: src/nettle/tools/Makefile.am:1.3
Rev: src/nettle/tools/input.c:1.1
Rev: src/nettle/tools/input.h:1.1
Rev: src/nettle/tools/misc.c:1.1
Rev: src/nettle/tools/misc.h:1.1
Rev: src/nettle/tools/output.c:1.1
Rev: src/nettle/tools/output.h:1.1
Rev: src/nettle/tools/parse.c:1.1
Rev: src/nettle/tools/parse.h:1.1
Rev: src/nettle/tools/sexp-conv.c:1.13

22 years ago* tools/sexp-conv.c (sexp_parse): Take a struct sexp_compound_token *
Niels Möller [Sun, 12 Jan 2003 16:38:07 +0000 (17:38 +0100)] 
* tools/sexp-conv.c (sexp_parse): Take a struct sexp_compound_token *
as argument. Updated all callers. Simplified handling of display types
and transport encoding.

Rev: src/nettle/tools/sexp-conv.c:1.12

22 years ago* tools/sexp-conv.c (struct sexp_input): Deleted string attribute.
Niels Möller [Sun, 12 Jan 2003 15:53:43 +0000 (16:53 +0100)] 
* tools/sexp-conv.c (struct sexp_input): Deleted string attribute.
Changed all related functions to take a struct nettle_buffer *
argument instead.
(struct sexp_compound_token): New struct.
(sexp_compound_token_init, sexp_compound_token_clear): New
functions.
(struct sexp_parser): Added a struct sexp_compound_token
attribute, as a temporary measure.

Rev: src/nettle/tools/sexp-conv.c:1.11

22 years ago* tools/sexp-conv.c (struct sexp_parser): Renamed struct (was
Niels Möller [Sun, 12 Jan 2003 15:07:10 +0000 (16:07 +0100)] 
* tools/sexp-conv.c (struct sexp_parser): Renamed struct (was
struct sexp_parse_state). Added input pointer. Updated users to
not pass around both parser and input.
(sexp_check_token): handle token == 0.
(sexp_parse): Simplified a little by calling sexp_check_token
unconditionally.

* tools/sexp-conv.c (sexp_convert_string): Deleted function.
(sexp_skip_token): Likewise.

* tools/sexp-conv.c (enum sexp_token): New constant SEXP_DISPLAY.
Start constants from 1, to keep 0 free for special uses.
(struct sexp_parse_state): New struct for keeping track of parser
state.
(sexp_parse_init): New function.
(sexp_check_token): New function, replacing sexp_skip_token.
(sexp_parse): New function.
(sexp_convert_item): Simplified by using sexp_parse.
(sexp_convert_list): Use sexp_parse.
(main): Likewise.

Rev: src/nettle/tools/sexp-conv.c:1.10

22 years ago(struct sexp_parser): Renamed struct (was struct
Niels Möller [Sun, 12 Jan 2003 14:49:06 +0000 (15:49 +0100)] 
(struct sexp_parser): Renamed struct (was struct
sexp_parse_state). Added input pointer. Updated users to not pass
around both parser and input.

Rev: src/nettle/tools/sexp-conv.c:1.9

22 years ago* tools/sexp-conv.c (sexp_convert_string): Deleted function.
Niels Möller [Sun, 12 Jan 2003 14:15:45 +0000 (15:15 +0100)] 
* tools/sexp-conv.c (sexp_convert_string): Deleted function.
(sexp_skip_token): Likewise.

* tools/sexp-conv.c (enum sexp_token): New constant SEXP_DISPLAY.
Start constants from 1, to keep 0 free for special uses.
(struct sexp_parse_state): New struct for keeping track of parser
state.
(sexp_parse_init): New function.
(sexp_check_token): New function, replacing sexp_skip_token.
(sexp_parse): New function.
(sexp_convert_item): Simplified by using sexp_parse.
(sexp_convert_list): Use sexp_parse.
(main): Likewise.

Rev: src/nettle/tools/sexp-conv.c:1.8

22 years ago(enum sexp_token): New constant SEXP_DISPLAY.
Niels Möller [Sun, 12 Jan 2003 14:13:03 +0000 (15:13 +0100)] 
(enum sexp_token): New constant SEXP_DISPLAY.
Start constants from 1, to keep 0 free for special uses.
(struct sexp_parse_state): New struct for keeping track of parser
state.
(sexp_parse_init): New function.
(sexp_check_token): New function, replacing sexp_skip_token.
(sexp_parse): New function.
(sexp_convert_item): Simplified by using sexp_parse.
(sexp_convert_list): Use sexp_parse.
(main): Likewise.

Rev: src/nettle/tools/sexp-conv.c:1.7

22 years ago*** empty log message ***
Niels Möller [Wed, 8 Jan 2003 16:46:59 +0000 (17:46 +0100)] 
*** empty log message ***

Rev: src/nettle/TODO:1.6

22 years ago*** empty log message ***
Niels Möller [Wed, 8 Jan 2003 12:03:16 +0000 (13:03 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.159

22 years ago(parse_options): Initialize prefer_hex.
Niels Möller [Wed, 8 Jan 2003 12:03:12 +0000 (13:03 +0100)] 
(parse_options): Initialize prefer_hex.

Rev: src/nettle/tools/sexp-conv.c:1.6

22 years ago*** empty log message ***
Niels Möller [Wed, 8 Jan 2003 09:43:49 +0000 (10:43 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.158

22 years ago(des_headers): Refer to the desdata binary using
Niels Möller [Tue, 7 Jan 2003 19:39:42 +0000 (20:39 +0100)] 
(des_headers): Refer to the desdata binary using
$(EXEEXT).

Rev: src/nettle/Makefile.am:1.55

22 years ago*** empty log message ***
Niels Möller [Wed, 1 Jan 2003 18:15:27 +0000 (19:15 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.157
Rev: src/nettle/tools/.c-style:1.1

22 years agoNew tests for hex and base64 literal
Niels Möller [Wed, 1 Jan 2003 18:14:07 +0000 (19:14 +0100)] 
New tests for hex and base64 literal
output.

Rev: src/nettle/testsuite/sexp-conv-test:1.4

22 years ago(sexp_put_string): Print binary strings using
Niels Möller [Wed, 1 Jan 2003 18:13:30 +0000 (19:13 +0100)] 
(sexp_put_string): Print binary strings using
either hex or base 64 (in advanced mode).
(parse_options): Implemented -s hex, for output using hex rather
than base64.

Rev: src/nettle/tools/sexp-conv.c:1.5

22 years ago*** empty log message ***
Niels Möller [Mon, 30 Dec 2002 22:33:49 +0000 (23:33 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.156

22 years ago* rsa-decrypt.c: Make compilation conditional on WITH_PUBLIC_KEY.
Niels Möller [Mon, 30 Dec 2002 22:33:44 +0000 (23:33 +0100)] 
* rsa-decrypt.c: Make compilation conditional on WITH_PUBLIC_KEY.
* rsa-encrypt.c: Likewise.
* rsa-compat.c: Likewise.

Rev: src/nettle/rsa-compat.c:1.6

22 years ago* testsuite/rsa2sexp-test.c: Don't include rsa.h (done by
Niels Möller [Mon, 30 Dec 2002 22:33:14 +0000 (23:33 +0100)] 
* testsuite/rsa2sexp-test.c: Don't include rsa.h (done by
testutils.h, if enabled).
* testsuite/sexp2rsa-test.c: Likewise.

Rev: src/nettle/testsuite/rsa2sexp-test.c:1.4
Rev: src/nettle/testsuite/sexp2rsa-test.c:1.5

22 years ago*** empty log message ***
Niels Möller [Mon, 30 Dec 2002 21:09:44 +0000 (22:09 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.155

22 years ago* rsa-decrypt.c: Make compilation conditional on WITH_PUBLIC_KEY.
Niels Möller [Mon, 30 Dec 2002 21:09:31 +0000 (22:09 +0100)] 
* rsa-decrypt.c: Make compilation conditional on WITH_PUBLIC_KEY.
* rsa-encrypt.c: Likewise.

Rev: src/nettle/rsa-decrypt.c:1.3
Rev: src/nettle/rsa-encrypt.c:1.4

23 years ago*** empty log message ***
Niels Möller [Wed, 4 Dec 2002 15:58:58 +0000 (16:58 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.154

23 years ago(LDADD): Added path to ../libnettle.a,
Niels Möller [Wed, 4 Dec 2002 15:58:42 +0000 (16:58 +0100)] 
(LDADD): Added path to ../libnettle.a,
which is redundant except for the dependency.

Rev: src/nettle/testsuite/Makefile.am:1.32

23 years ago*** empty log message ***
Niels Möller [Wed, 4 Dec 2002 09:44:12 +0000 (10:44 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.153

23 years ago(test_main): Use %0s instead of %z.
Niels Möller [Wed, 4 Dec 2002 09:43:38 +0000 (10:43 +0100)] 
(test_main): Use %0s instead of %z.
New test for %t.

Rev: src/nettle/testsuite/sexp-format-test.c:1.4

23 years ago*** empty log message ***
Niels Möller [Wed, 4 Dec 2002 09:42:42 +0000 (10:42 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.152
Rev: src/nettle/TODO:1.5

23 years ago(format_length_string): Deleted function.
Niels Möller [Wed, 4 Dec 2002 09:42:31 +0000 (10:42 +0100)] 
(format_length_string): Deleted function.
(format_string): Deleted function.
(sexp_vformat): New %t specifier, formatting an optional display
type. Deleted %z specifier. Instead, introduced a new modifier "0"
that can be used with %s, %l and %t, which says that the data is
NUL-terminated.

Rev: src/nettle/sexp-format.c:1.5
Rev: src/nettle/sexp.h:1.11

23 years ago(rsa_keypair_to_sexp): Use %0s rather than %z, when
Niels Möller [Wed, 4 Dec 2002 09:38:05 +0000 (10:38 +0100)] 
(rsa_keypair_to_sexp): Use %0s rather than %z, when
formatting s-expressions.

Rev: src/nettle/rsa2sexp.c:1.4

23 years ago(nettle_buffer_grow): Fixed assertion.
Niels Möller [Wed, 4 Dec 2002 09:37:21 +0000 (10:37 +0100)] 
(nettle_buffer_grow): Fixed assertion.

Rev: src/nettle/buffer.c:1.4

23 years agoInclude assert.h.
Niels Möller [Fri, 22 Nov 2002 11:53:21 +0000 (12:53 +0100)] 
Include assert.h.

Rev: src/nettle/ChangeLog:1.151
Rev: src/nettle/buffer.c:1.3

23 years ago(print_hex): Add line breaks.
Niels Möller [Thu, 21 Nov 2002 22:32:35 +0000 (23:32 +0100)] 
(print_hex): Add line breaks.

Rev: src/nettle/testsuite/testutils.c:1.20

23 years ago(libnettleinclude_HEADERS): Added realloc.h.
Niels Möller [Thu, 21 Nov 2002 22:29:43 +0000 (23:29 +0100)] 
(libnettleinclude_HEADERS): Added realloc.h.
(libnettle_a_SOURCES): Added buffer-init.c and realloc.c.

Rev: src/nettle/Makefile.am:1.54

23 years ago(sexp_iterator_exit_lists): New function, #if:ed out for
Niels Möller [Thu, 21 Nov 2002 22:28:49 +0000 (23:28 +0100)] 
(sexp_iterator_exit_lists): New function, #if:ed out for
now.

Rev: src/nettle/sexp.c:1.13
Rev: src/nettle/sexp.h:1.10

23 years ago* desdata.c: Include config.h, to get definition of UNUSED.
Niels Möller [Thu, 21 Nov 2002 22:28:14 +0000 (23:28 +0100)] 
* desdata.c: Include config.h, to get definition of UNUSED.
* shadata.c: Likewise.

Rev: src/nettle/desdata.c:1.2
Rev: src/nettle/shadata.c:1.2

23 years ago* buffer.c (nettle_buffer_grow): New function, replacing
Niels Möller [Thu, 21 Nov 2002 22:27:13 +0000 (23:27 +0100)] 
* buffer.c (nettle_buffer_grow): New function, replacing
grow_realloc.
(nettle_buffer_clear): Rewritten to use buffer->realloc.

* buffer.h (struct nettle_buffer): REplaced the GROW function
pointer with a nettle_realloc_func pointer and a void
(NETTLE_BUFFER_GROW): Deleted macro, use function instead.

Rev: src/nettle/buffer.c:1.2
Rev: src/nettle/buffer.h:1.3

23 years ago(nettle_buffer_init): Moved to a separate file.
Niels Möller [Thu, 21 Nov 2002 22:23:44 +0000 (23:23 +0100)] 
(nettle_buffer_init): Moved to a separate file.

Rev: src/nettle/buffer-init.c:1.1

23 years ago(nettle_realloc): New function.
Niels Möller [Thu, 21 Nov 2002 22:23:14 +0000 (23:23 +0100)] 
(nettle_realloc): New function.
(nettle_xrealloc): New function.

Rev: src/nettle/realloc.c:1.1

23 years ago(nettle_realloc_func): New typedef.
Niels Möller [Thu, 21 Nov 2002 22:22:43 +0000 (23:22 +0100)] 
(nettle_realloc_func): New typedef.

Rev: src/nettle/realloc.h:1.1

23 years agoCheck for gcc:s __attribute__.
Niels Möller [Thu, 21 Nov 2002 22:21:48 +0000 (23:21 +0100)] 
Check for gcc:s __attribute__.

Rev: src/nettle/configure.ac:1.15

23 years ago*** empty log message ***
Niels Möller [Fri, 15 Nov 2002 23:34:36 +0000 (00:34 +0100)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.150

23 years agoAdded FIXME to nettle_mpz_get_str_256.
Niels Möller [Fri, 15 Nov 2002 23:29:56 +0000 (00:29 +0100)] 
Added FIXME to nettle_mpz_get_str_256.

Rev: src/nettle/bignum.c:1.6

23 years ago(macro GET): Check sign of parsed
Niels Möller [Fri, 15 Nov 2002 23:24:41 +0000 (00:24 +0100)] 
(macro GET): Check sign of parsed
numbers.

Rev: src/nettle/sexp2dsa.c:1.2
Rev: src/nettle/sexp2rsa.c:1.9

23 years ago(nettle_mpz_set_sexp): In the first check against
Niels Möller [Fri, 15 Nov 2002 23:23:04 +0000 (00:23 +0100)] 
(nettle_mpz_set_sexp): In the first check against
limit, added some margin to allow for sign octets.

Rev: src/nettle/sexp2bignum.c:1.3