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
0118965e19
fix large DH key generation, hopefully for the last time.
2001-12-18 06:05:41 +00:00
Danny Mayer
e61793f086
Added LIB*_EXTERNAL_DATA Macros necessary to make lib extern variables globally visible in Win32
2001-11-19 03:08:44 +00:00
Brian Wellington
36e37042c6
997. [func] Add support for RSA-SHA1 keys.
2001-09-15 00:01:58 +00:00
Brian Wellington
4f0187f10c
DST_R_NOCRYPTO
2001-07-10 04:34:36 +00:00
David Lawrence
11c4f6b687
Reversed the sense of my earlier change to hmacmd5 key generation that
...
required good entropy only when 'param' (to dst_key_generate) was non-zero.
Since the default was always to require good entropy, that default behavior
has been restored and now a non-zero param means that pseudorandom is ok.
2001-05-31 18:34:51 +00:00
Brian Wellington
0716b32560
remove unnecessary const
2001-05-21 22:10:23 +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
cffe50abf6
Lots of copyright updates
2000-11-18 03:01:17 +00:00
Brian Wellington
568c0c0c10
forgot to add these files
2000-10-07 00:45:13 +00:00
Andreas Gustafsson
922e6a3c2a
478. [bug] "make install" failed if the directory specified with
...
--prefix did not already exist.
2000-09-20 19:06:16 +00:00
Brian Wellington
020d334001
Don't assume class IN.
2000-09-12 09:54:36 +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
d3735e0e25
DST_ALG_RSA -> DST_ALG_RSAMD5
2000-09-02 01:17:20 +00:00
Brian Wellington
c9e998ea51
A bit of gss-tsig code. Don't expect this to work.
2000-08-17 02:04:22 +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
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
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
David Lawrence
7657358689
does not need isc/types.h
2000-06-23 03:00:30 +00:00
David Lawrence
9c3531d72a
add RCS id string
2000-06-22 22:00:42 +00:00
David Lawrence
f2e5c64635
update_copyrights
2000-06-21 22:38:33 +00:00
Brian Wellington
09a1a618cd
Use the entropy api.
2000-06-09 22:32:20 +00:00
Brian Wellington
b01324ef07
Removed unused DST_R_NAMETOOLONG result code
2000-06-07 19:18:53 +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
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
6d12fdf966
Megacommit of many files.
...
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const. Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
The macro DE_CONST is used to deal with a handful of very special
places where something is qualified as const but really needs to have
its const qualifier removed.
rdata.c now defines macros for the prototypes of the basic rdata functions,
and all of the lib/dns/rdata/**/*.c files now use them.
Some minor integer-compatibility issues. (IE, ~0x03 is a signed int,
so assigning it to an unsigned int should use a cast. The type of an
enum member is int, so there are some conversion issues there, too.)
A pointers-to-function should not be cast to a pointer-to-object.
Variables should not be named for C reserved identifiers.
One or two set-but-not-used variables removed.
Minor other ISC style cleanups.
2000-06-01 18:26:56 +00:00
Brian Wellington
a9bc95f22e
dst now stores the key name as a dns_name_t, not a char *.
2000-05-24 23:13:32 +00:00
Brian Wellington
82efeeb703
removed typo
2000-05-22 23:34:24 +00:00
Brian Wellington
c50936eb40
changed dst_key_free() prototype, misc. dst cleanup
2000-05-19 00:20:59 +00:00
Brian Wellington
81ab85fd39
dst function name cleanup
2000-05-17 22:48:10 +00:00
Brian Wellington
1d58763c26
Added dst_key_parsefilename
2000-05-15 23:14:42 +00:00
Brian Wellington
94a7e85857
Export dst_key_buildfilename and make various dst functions call it.
2000-05-15 21:02:39 +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
Brian Wellington
eb5250f0bd
Added dst_key_isnullkey()
2000-04-18 17:39:37 +00:00
Brian Wellington
63bf060be4
dst_key_iszonekey() checks that the key's protocol is DNSSEC or ANY.
...
Remove this check from the validator, and remove more redundant constants
from dst.h
2000-04-12 15:52:12 +00:00
Brian Wellington
2a05fa7535
dst_key_iszonekey() was incorrectly checking the 'name type' field of a key.
...
The constants added to dst.h for dst_key_iszonekey() duplicated constants
in dns/keyvalues.h, and are now gone.
2000-04-10 19:48:05 +00:00
Brian Wellington
c73aafe601
dst_random_get notices when openssl complains about having no entropy, and
...
calls isc_random_get to get some. This should possibly do something
else later.
2000-03-28 03:06:38 +00:00
Bob Halley
a010b9cb61
update copyrights
2000-03-23 19:30:06 +00:00
Bob Halley
d4a4b9ffd6
add dst_key_iszonekey, KEYFLAG and KEYPROTO values
2000-03-16 22:43:54 +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
Bob Halley
a2f3208f7f
add DESTDIR support
2000-02-08 21:50:23 +00:00
Bob Halley
0a26ae650d
add missing .h files
2000-02-04 01:33:16 +00:00
Bob Halley
0fffa9dcca
update copyright
2000-02-03 23:17:52 +00:00
Bob Halley
4a73cf8ee0
update copyrights
1999-10-31 18:42:01 +00:00
Brian Wellington
d5334bc183
dst_sig_size changes
1999-10-26 19:31:52 +00:00
Brian Wellington
a7d792804f
dst error code cleanup
1999-10-20 22:14:15 +00:00