diff options
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); |