diff options
author | Luke Leighton <lkcl@samba.org> | 1999-04-30 05:37:55 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-04-30 05:37:55 +0000 |
commit | d6ba4580d76aeb52c6fd7376e4c7f4d5f5f1a15a (patch) | |
tree | cc61cdb40d09f26ede6358e123882def24f9c44a /source3/include/proto.h | |
parent | 4d24845de600f3720e8eac4c18a82d85a9e34100 (diff) | |
download | samba-d6ba4580d76aeb52c6fd7376e4c7f4d5f5f1a15a.tar.gz samba-d6ba4580d76aeb52c6fd7376e4c7f4d5f5f1a15a.tar.bz2 samba-d6ba4580d76aeb52c6fd7376e4c7f4d5f5f1a15a.zip |
md5 and hmac_md5
(This used to be commit 5777c1fb12edca8e57e9d5911428f70db2cf9a62)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index e528505d43..f61d8e3ca8 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -226,6 +226,13 @@ void generate_random_buffer( unsigned char *out, int len, BOOL re_seed); char *getsmbpass(char *prompt) ; +/*The following definitions come from lib/hmacmd5.c */ + +void hmac_md5_init_rfc2104(uchar* key, int key_len, HMACMD5Context *ctx); +void hmac_md5_init_limK_to_64(uchar* key, int key_len, HMACMD5Context *ctx); +void hmac_md5_update(uchar* text, int text_len, HMACMD5Context *ctx); +void hmac_md5_final(caddr_t digest, HMACMD5Context *ctx); + /*The following definitions come from lib/interface.c */ void load_interfaces(void); @@ -250,6 +257,13 @@ void initialize_multibyte_vectors( int client_codepage); void mdfour(unsigned char *out, unsigned char *in, int n); +/*The following definitions come from lib/md5.c */ + +void MD5Init(struct MD5Context *ctx); +void MD5Update(struct MD5Context *ctx, uchar const *buf, unsigned len); +void MD5Final(uchar digest[16], struct MD5Context *ctx); +void MD5Transform(uint32 buf[4], const uchar inext[64]); + /*The following definitions come from lib/membuffer.c */ void mem_init(struct mem_buf *buf, int margin); |