~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/algorithm/sha1.h

  • Committer: Andrew Hutchings
  • Date: 2011-01-28 21:33:48 UTC
  • mto: (2126.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2127.
  • Revision ID: andrew@linuxjedi.co.uk-20110128213348-ypi381xo47o80ypo
Backport fix for http://bugs.mysql.com/bug.php?id=57034

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#include <sys/types.h>
15
15
#include <string.h>
16
16
 
17
 
#include <drizzled/visibility.h>
18
 
 
19
17
namespace drizzled
20
18
{
21
19
 
47
45
    }
48
46
} SHA1_CTX;
49
47
 
50
 
DRIZZLED_API void SHA1Init(SHA1_CTX *);
51
 
DRIZZLED_API void SHA1Pad(SHA1_CTX *);
52
 
DRIZZLED_API void SHA1Transform(uint32_t [5], const uint8_t [SHA1_BLOCK_LENGTH]);
53
 
DRIZZLED_API void SHA1Update(SHA1_CTX *, const uint8_t *, size_t);
54
 
DRIZZLED_API void SHA1Final(uint8_t [SHA1_DIGEST_LENGTH], SHA1_CTX *);
 
48
void SHA1Init(SHA1_CTX *);
 
49
void SHA1Pad(SHA1_CTX *);
 
50
void SHA1Transform(uint32_t [5], const uint8_t [SHA1_BLOCK_LENGTH]);
 
51
void SHA1Update(SHA1_CTX *, const uint8_t *, size_t);
 
52
void SHA1Final(uint8_t [SHA1_DIGEST_LENGTH], SHA1_CTX *);
55
53
 
56
54
/** @} */
57
55