Mark Andrews
81aea2f2d3
undo wrong branch
2002-12-13 02:51:41 +00:00
Mark Andrews
0020640ff6
checkpoint
2002-12-13 02:37:35 +00:00
Mark Andrews
f76c4ebaf5
1235. [func] Report 'out of memory' errors from openssl.
2002-03-19 04:30:57 +00:00
Brian Wellington
9e6286de2a
add dst_key_privatefrombuffer(), which coverts a public key into a private
...
key.
2002-02-27 22:12:06 +00:00
Brian Wellington
1898837a5e
Add the well-known 1536 bit prime from draft-ietf-dnsext-rfc2539bis-dhk-01.txt
2001-12-12 17:18:52 +00:00
Brian Wellington
9af8851b85
whitespace style
2001-12-12 17:09:39 +00:00
Brian Wellington
0cb27602e5
1160. [bug] Generating Diffie-Hellman keys longer than 1024
...
bits could fail. [RT #2241 ]
2001-12-12 16:43:24 +00:00
Andreas Gustafsson
4f30395c97
Suppress compiler warnings about empty translation units
2001-11-20 21:28:41 +00:00
Brian Wellington
51e66e5dee
missing static
2001-11-06 23:10:34 +00:00
Brian Wellington
88d64279bb
if the function table entry already exists when _init() is called, don't
...
overwrite it.
2001-11-06 22:51:00 +00:00
Brian Wellington
ba45e16a66
Clean up the implementation cleanup mechanism. Also remove ->issymmetric,
...
since it's easier to just do it in dst_api.c.
2001-11-06 20:47:59 +00:00
Brian Wellington
36e37042c6
997. [func] Add support for RSA-SHA1 keys.
2001-09-15 00:01:58 +00:00
Brian Wellington
024550401d
#if defined(OPENSSL) ==> #ifdef OPENSSL
...
remove unused #include <openssl/rand.h>
2001-07-10 04:01:19 +00:00
Brian Wellington
177ede307a
minor internal reorganization (yes, this will all become clear at some point)
2001-05-10 19:07:18 +00:00
Brian Wellington
daad43e5a4
802. [bug] DNSSEC key tags were computed incorrectly in almost
...
all cases. [RT #1146 ]
2001-04-04 02:02:58 +00:00
Brian Wellington
46c3b3f6e1
isc_uint16_t -> dns_keytag_t in many places; dns_keytable_findkeynode
...
was casting incorrectly. [RT #664 ]
2001-01-24 02:23:02 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Brian Wellington
523dd6a979
669. [func] dnssec-keygen now makes the public key file
...
non-world-readable for symmetric keys. [RT #403 ]
2001-01-09 00:53:06 +00:00
Brian Wellington
704d6eeab1
591. [bug] Work around non-reentrancy in openssl by disabling
...
precomputation in keys.
2000-12-04 23:06:37 +00:00
Brian Wellington
8c7fa43b3c
Make dst_region_computeid() take an algorithm, since it was returning the
...
wrong id for RSA keys. Also clean up a few error messages from dst routines.
2000-09-08 14:23:49 +00:00
Brian Wellington
5b148f96cc
An error in a .private file could lead to an assertion.
2000-08-16 00:30:56 +00:00
Brian Wellington
f15eb342bd
Add DST_R_OPENSSLFAILURE, which basically means that openssl returned
...
an error and we don't know why.
2000-08-10 22:28:36 +00:00
Brian Wellington
cb8a455cd5
A few calls to dst_region_computeid() passed in regions with the wrong
...
length.
2000-08-08 16:13:40 +00:00
David Lawrence
40f53fa8d9
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
...
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
Brian Wellington
38c3484647
Replace the internal dst__id_calc() with the visible dst_region_computeid().
2000-07-31 19:44:21 +00:00
Brian Wellington
c0975ccf5c
Use the dst entropy wrapper in all cases, so that the initial entropy flags
...
passes into dst are always in effect.
2000-06-12 18:05:15 +00:00
Brian Wellington
09a1a618cd
Use the entropy api.
2000-06-09 22:32:20 +00:00
Andreas Gustafsson
3b938ff0d9
copyright messages now generated by util/update_copyrights
2000-06-09 20:58:39 +00:00
David Lawrence
c656250292
include void parameter declarator for definition of dst__openssldh_destroy()
2000-06-08 20:52:12 +00:00
Brian Wellington
78d14e388a
Use MD5/SHA1 from libisc instead of dst/openssl
2000-06-07 17:22:31 +00:00
Brian Wellington
4441bfbd6b
More dst updates:
...
- dst_lib_init()/dst_lib_destroy() allow dst to use a predefined
mctx and free all resources on exit.
- dst_key_tofile() & dst_key/fromfile() take a directory parameter.
- dst_key_parsefile() removed, replaced by dst_key_fromnamedfile()
- more bug fixes and memory leak fixes
2000-06-06 21:58:16 +00:00
Brian Wellington
182706b2e9
more dst updates
2000-06-02 23:36:14 +00:00
Brian Wellington
011463c376
New DST API for signing/verifying, as well as some reorganization, cleanup,
...
and bug fixes.
2000-06-02 18:57:51 +00:00
David Lawrence
ed019cabc1
fixed lines > 79 columns wide
2000-05-24 05:10:00 +00:00
Brian Wellington
c5de87b086
bug fixes from the last commit
2000-05-15 21:30:45 +00:00
Brian Wellington
94a7e85857
Export dst_key_buildfilename and make various dst functions call it.
2000-05-15 21:02:39 +00:00
Andreas Gustafsson
c94f485c4b
use the UNUSED() macro
2000-05-11 22:48:12 +00:00
David Lawrence
47b26abe77
ensure proper range for argument to ctype functions
2000-05-09 22:22:25 +00:00
David Lawrence
1a69a1a78c
Megacommit of dozens of files.
...
Cleanup of redundant/useless header file inclusion.
ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
/*
* This is a comment.
*/
2000-05-08 14:38:29 +00:00
David Lawrence
09f22ac5b0
Redundant header work, mostly removing <dns/result.h> from installed
...
headers and adding it to source files that need it.
2000-05-02 03:54:17 +00:00
Bob Halley
364a82f7c2
include isc/util.h
2000-04-28 01:12:23 +00:00
David Lawrence
6e49e91bd0
103. [func] libisc buffer API changes for <isc/buffer.h>:
...
Added:
isc_buffer_base(b) (pointer)
isc_buffer_current(b) (pointer)
isc_buffer_active(b) (pointer)
isc_buffer_used(b) (pointer)
isc_buffer_length(b) (int)
isc_buffer_usedlength(b) (int)
isc_buffer_consumedlength(b) (int)
isc_buffer_remaininglength(b) (int)
isc_buffer_activelength(b) (int)
isc_buffer_availablelength(b) (int)
Removed:
ISC_BUFFER_USEDCOUNT(b)
ISC_BUFFER_AVAILABLECOUNT(b)
isc_buffer_type(b)
Changed names:
isc_buffer_used(b, r) ->
isc_buffer_usedregion(b, r)
isc_buffer_available(b, r) ->
isc_buffer_available_region(b, r)
isc_buffer_consumed(b, r) ->
isc_buffer_consumedregion(b, r)
isc_buffer_active(b, r) ->
isc_buffer_activeregion(b, r)
isc_buffer_remaining(b, r) ->
isc_buffer_remainingregion(b, r)
Buffer types were removed, so the ISC_BUFFERTYPE_*
macros are no more, and the type argument to
isc_buffer_init and isc_buffer_allocate were removed.
isc_buffer_putstr is now void (instead of isc_result_t)
and requires that the caller ensure that there
is enough available buffer space for the string.
2000-04-27 00:03:12 +00:00
Brian Wellington
7c141c0351
Removed memset()s that caused problems when updating to openssl 0.9.5
2000-03-07 19:27:50 +00:00
Brian Wellington
4f38e8fc44
Converted all references to dst_result_t to use isc_result_t instead
2000-03-06 20:06:01 +00:00
Mark Andrews
90adbb5f1c
Remove various "enumerated type mixed with another type" warnings.
...
More still to be removed.
#define ISC_TF(x) to covert logical result to isc_boolean_t
1999-10-29 12:56:58 +00:00
Brian Wellington
904a34b853
DH constants are mostly statically allocated now
1999-10-27 20:46:33 +00:00
Brian Wellington
a7d792804f
dst error code cleanup
1999-10-20 22:14:15 +00:00
Brian Wellington
22fe53a629
more warning fixes
1999-10-08 13:08:57 +00:00
Brian Wellington
688d43f2ac
check for known primes was backwards
1999-10-05 15:06:37 +00:00
Brian Wellington
2be474d044
Added Diffie-Hellman support to dst
1999-09-27 16:55:45 +00:00