size_t-fication of message digest APIs. We should size_t-fy more APIs...
[openssl.git] / crypto / ripemd / ripemd.h
index 67a94555f7ff84735c6112107c0f87eac1880d03..a664e742afe80f753b6b5c387297e7f8a9ebd6d7 100644 (file)
@@ -90,10 +90,10 @@ typedef struct RIPEMD160state_st
        int num;
        } RIPEMD160_CTX;
 
-void RIPEMD160_Init(RIPEMD160_CTX *c);
-void RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, unsigned long len);
-void RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
-unsigned char *RIPEMD160(const unsigned char *d, unsigned long n,
+int RIPEMD160_Init(RIPEMD160_CTX *c);
+int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, size_t len);
+int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
+unsigned char *RIPEMD160(const unsigned char *d, size_t n,
        unsigned char *md);
 void RIPEMD160_Transform(RIPEMD160_CTX *c, const unsigned char *b);
 #ifdef  __cplusplus