X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fwhrlpool%2Fwhrlpool.h;h=03c91da1155b3ccebd7b92505af928527c3cbe3c;hb=be0d31b166efb80516ab656a8271a9f3462440d2;hp=bf9d7f5f0cb987acd2a0e6dd954f5c03b3ba2148;hpb=4adfe93cc5b409ee0d6b7556cae7d8dce70b61a9;p=oweals%2Fopenssl.git diff --git a/crypto/whrlpool/whrlpool.h b/crypto/whrlpool/whrlpool.h index bf9d7f5f0c..03c91da115 100644 --- a/crypto/whrlpool/whrlpool.h +++ b/crypto/whrlpool/whrlpool.h @@ -24,10 +24,10 @@ typedef struct { } WHIRLPOOL_CTX; #ifndef OPENSSL_NO_WHIRLPOOL -void WHIRLPOOL_Init (WHIRLPOOL_CTX *c); -void WHIRLPOOL_Update (WHIRLPOOL_CTX *c,const void *inp,size_t bytes); +int WHIRLPOOL_Init (WHIRLPOOL_CTX *c); +int WHIRLPOOL_Update (WHIRLPOOL_CTX *c,const void *inp,size_t bytes); void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c,const void *inp,size_t bits); -void WHIRLPOOL_Final (unsigned char *md,WHIRLPOOL_CTX *c); +int WHIRLPOOL_Final (unsigned char *md,WHIRLPOOL_CTX *c); unsigned char *WHIRLPOOL(const void *inp,size_t bytes,unsigned char *md); #endif