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
209ec709f3
Use the isc hmac library instead of a separate implementation (not that
...
the separate implementation was especially complicated). dst hmac-md5 should
really go away at some point.
2000-07-18 18:15:27 +00:00
Brian Wellington
e68de4a7db
306. [bug] Reading HMAC-MD5 private key files didn't work.
2000-07-03 23:27:45 +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
03e7db4ba4
hmacmd5_generate wasn't initializing a buffer
2000-06-12 07:07:14 +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
Brian Wellington
c892129a37
isc_buffer_base->isc_buffer_used
2000-06-07 19:05:00 +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
b15d35d4e6
use the dst md5 layer instead of openssl md5, replace verify with sign & compare
2000-06-05 19:10:58 +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
Brian Wellington
399fe4aa0f
Lots of bugs fixed in _fromfile and _fromdns. There were enough of them that
...
they managed to hide each other in most cases.
2000-06-01 02:33:26 +00:00
Brian Wellington
b058593410
Passed incorrect size to isc_mem_get.
2000-06-01 02:04:38 +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
David Lawrence
48a7c6ab28
Silence IRIX warning:
...
"hmac_link.c", line 92: remark(1692): prototyped function redeclared without
prototype
dst_s_hmacmd5_init() {
2000-05-13 19:31:35 +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
Michael Graff
08a768e82a
Infrastructure to allow use of alternate openssl libraries. Default is still to use our internal, now renamed, version.
2000-04-20 18:27:43 +00:00
Michael Graff
e915367e40
rename openssl functions and exported data to have a dst_ prefix.
2000-04-20 01:13:21 +00:00
Brian Wellington
c600d821ec
The hmac-md5 private key file was being written incorrectly.
2000-03-15 18:52:23 +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
7f2ad79f65
"do" was missing from the RETERR macro:
...
#define RETERR(x) do { \
ret = (x); \
if (ret != ISC_R_SUCCESS) \
return (ret); \
} while (0)
1999-10-29 05:25:57 +00:00
Brian Wellington
b76a252ade
fix yesterday's hmac context fix
1999-10-27 16:52:55 +00:00
Brian Wellington
e7b4d4feb4
fix context handling
1999-10-26 19:43:25 +00:00
Brian Wellington
a7d792804f
dst error code cleanup
1999-10-20 22:14:15 +00:00
Brian Wellington
1bdc3fd29a
dst_random -> dst_random_get
1999-10-20 19:08:57 +00:00
Brian Wellington
25811a89c6
Added dst_digest (a wrapper around digest functions), and dst_s_md5 (an
...
internal wrapper around MD5). Modified hmac-md5 code to use dst_s_md5.
1999-10-18 21:35:46 +00:00
Brian Wellington
22fe53a629
more warning fixes
1999-10-08 13:08:57 +00:00
Brian Wellington
2be474d044
Added Diffie-Hellman support to dst
1999-09-27 16:55:45 +00:00
Brian Wellington
c425c6b3a6
Added dst_key_isprivate, added a few new result codes
1999-09-23 20:54:38 +00:00
Brian Wellington
d92543b360
more constant renaming
1999-09-02 15:56:33 +00:00
Brian Wellington
1fd4766e5b
constant renaming
1999-09-01 18:56:19 +00:00
Brian Wellington
b6b0966e6a
mode should be an unsigned int
1999-08-31 14:59:08 +00:00
Brian Wellington
4dc6a937d6
DST_SIG_MODE -> DST_SIGMODE
1999-08-26 20:41:54 +00:00
Brian Wellington
7fba8470c7
minor code cleanup, HMAC-MD5 bugfix
1999-07-29 17:21:23 +00:00
Brian Wellington
65c4736d9c
Added underlying DNSSEC support (dst and crypto libraries)
1999-07-12 20:08:42 +00:00