/*
* output = SHA-1( input buffer )
*/
-void sha1( const unsigned char *input, int ilen, unsigned char output[20] )
+void polarssl_sha1( const unsigned char *input, int ilen, unsigned char output[20] )
{
sha1_context ctx;
if( keylen > 64 )
{
- sha1( key, keylen, sum );
+ polarssl_sha1( key, keylen, sum );
keylen = 20;
key = sum;
}