~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/algorithm/sha1.h

  • Committer: Monty Taylor
  • Date: 2011-01-26 19:15:55 UTC
  • mto: This revision was merged to the branch mainline in revision 2126.
  • Revision ID: mordred@inaugust.com-20110126191555-nq5nnzyscvngsip2
Turns on -fvisibility=hidden by default. Symbols intended to be used by
plugins need to be marked with DRIZZLED_API.

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
 
17
19
namespace drizzled
18
20
{
19
21
 
45
47
    }
46
48
} SHA1_CTX;
47
49
 
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 *);
 
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 *);
53
55
 
54
56
/** @} */
55
57