Home
last modified time | relevance | path

Searched refs:PHP_HASH_API (Results 1 – 24 of 24) sorted by relevance

/PHP-5.3/ext/hash/
H A Dphp_hash_sha.h44 PHP_HASH_API void PHP_SHA1Init(PHP_SHA1_CTX *);
45 PHP_HASH_API void PHP_SHA1Update(PHP_SHA1_CTX *, const unsigned char *, unsigned int);
46 PHP_HASH_API void PHP_SHA1Final(unsigned char[20], PHP_SHA1_CTX *);
60 PHP_HASH_API void PHP_SHA224Init(PHP_SHA224_CTX *);
62 PHP_HASH_API void PHP_SHA224Final(unsigned char[28], PHP_SHA224_CTX *);
71 PHP_HASH_API void PHP_SHA256Init(PHP_SHA256_CTX *);
73 PHP_HASH_API void PHP_SHA256Final(unsigned char[32], PHP_SHA256_CTX *);
82 PHP_HASH_API void PHP_SHA384Init(PHP_SHA384_CTX *);
84 PHP_HASH_API void PHP_SHA384Final(unsigned char[48], PHP_SHA384_CTX *);
93 PHP_HASH_API void PHP_SHA512Init(PHP_SHA512_CTX *);
[all …]
H A Dphp_hash_ripemd.h50 PHP_HASH_API void PHP_RIPEMD128Init(PHP_RIPEMD128_CTX *);
51 PHP_HASH_API void PHP_RIPEMD128Update(PHP_RIPEMD128_CTX *, const unsigned char *, unsigned int);
52 PHP_HASH_API void PHP_RIPEMD128Final(unsigned char[16], PHP_RIPEMD128_CTX *);
54 PHP_HASH_API void PHP_RIPEMD160Init(PHP_RIPEMD160_CTX *);
55 PHP_HASH_API void PHP_RIPEMD160Update(PHP_RIPEMD160_CTX *, const unsigned char *, unsigned int);
56 PHP_HASH_API void PHP_RIPEMD160Final(unsigned char[20], PHP_RIPEMD160_CTX *);
58 PHP_HASH_API void PHP_RIPEMD256Init(PHP_RIPEMD256_CTX *);
59 PHP_HASH_API void PHP_RIPEMD256Update(PHP_RIPEMD256_CTX *, const unsigned char *, unsigned int);
60 PHP_HASH_API void PHP_RIPEMD256Final(unsigned char[32], PHP_RIPEMD256_CTX *);
62 PHP_HASH_API void PHP_RIPEMD320Init(PHP_RIPEMD320_CTX *);
[all …]
H A Dphp_hash_md.h68 PHP_HASH_API void make_digest(char *md5str, unsigned char *digest);
69 PHP_HASH_API void PHP_MD5Init(PHP_MD5_CTX *);
70 PHP_HASH_API void PHP_MD5Update(PHP_MD5_CTX *, const unsigned char *, unsigned int);
71 PHP_HASH_API void PHP_MD5Final(unsigned char[16], PHP_MD5_CTX *);
84 PHP_HASH_API void PHP_MD4Init(PHP_MD4_CTX *);
85 PHP_HASH_API void PHP_MD4Update(PHP_MD4_CTX *context, const unsigned char *, unsigned int);
86 PHP_HASH_API void PHP_MD4Final(unsigned char[16], PHP_MD4_CTX *);
96 PHP_HASH_API void PHP_MD2Init(PHP_MD2_CTX *context);
97 PHP_HASH_API void PHP_MD2Update(PHP_MD2_CTX *context, const unsigned char *, unsigned int);
98 PHP_HASH_API void PHP_MD2Final(unsigned char[16], PHP_MD2_CTX *);
H A Dphp_hash_tiger.h33 PHP_HASH_API void PHP_3TIGERInit(PHP_TIGER_CTX *context);
34 PHP_HASH_API void PHP_4TIGERInit(PHP_TIGER_CTX *context);
35 PHP_HASH_API void PHP_TIGERUpdate(PHP_TIGER_CTX *context, const unsigned char *input, size_t len);
36 PHP_HASH_API void PHP_TIGER128Final(unsigned char digest[16], PHP_TIGER_CTX *context);
37 PHP_HASH_API void PHP_TIGER160Final(unsigned char digest[20], PHP_TIGER_CTX *context);
38 PHP_HASH_API void PHP_TIGER192Final(unsigned char digest[24], PHP_TIGER_CTX *context);
H A Dphp_hash_crc32.h30 PHP_HASH_API void PHP_CRC32Init(PHP_CRC32_CTX *context);
31 PHP_HASH_API void PHP_CRC32Update(PHP_CRC32_CTX *context, const unsigned char *input, size_t len);
32 PHP_HASH_API void PHP_CRC32BUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len);
33 PHP_HASH_API void PHP_CRC32Final(unsigned char digest[4], PHP_CRC32_CTX *context);
34 PHP_HASH_API int PHP_CRC32Copy(const php_hash_ops *ops, PHP_CRC32_CTX *orig_context, PHP_CRC32_CTX …
H A Dphp_hash_salsa.h36 PHP_HASH_API void PHP_SALSA10Init(PHP_SALSA_CTX *);
37 PHP_HASH_API void PHP_SALSA20Init(PHP_SALSA_CTX *);
39 PHP_HASH_API void PHP_SALSAUpdate(PHP_SALSA_CTX *, const unsigned char *, size_t);
40 PHP_HASH_API void PHP_SALSAFinal(unsigned char[64], PHP_SALSA_CTX *);
H A Dphp_hash_adler32.h30 PHP_HASH_API void PHP_ADLER32Init(PHP_ADLER32_CTX *context);
31 PHP_HASH_API void PHP_ADLER32Update(PHP_ADLER32_CTX *context, const unsigned char *input, size_t le…
32 PHP_HASH_API void PHP_ADLER32Final(unsigned char digest[4], PHP_ADLER32_CTX *context);
33 PHP_HASH_API int PHP_ADLER32Copy(const php_hash_ops *ops, PHP_ADLER32_CTX *orig_context, PHP_ADLER3…
H A Dhash_crc32.c26 PHP_HASH_API void PHP_CRC32Init(PHP_CRC32_CTX *context) in PHP_CRC32Init()
31 PHP_HASH_API void PHP_CRC32Update(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) in PHP_CRC32Update()
40 PHP_HASH_API void PHP_CRC32BUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) in PHP_CRC32BUpdate()
49 PHP_HASH_API void PHP_CRC32Final(unsigned char digest[4], PHP_CRC32_CTX *context) in PHP_CRC32Final()
59 PHP_HASH_API void PHP_CRC32BFinal(unsigned char digest[4], PHP_CRC32_CTX *context) in PHP_CRC32BFinal()
69 PHP_HASH_API int PHP_CRC32Copy(const php_hash_ops *ops, PHP_CRC32_CTX *orig_context, PHP_CRC32_CTX … in PHP_CRC32Copy()
H A Dphp_hash_snefru.h38 PHP_HASH_API void PHP_SNEFRUInit(PHP_SNEFRU_CTX *);
39 PHP_HASH_API void PHP_SNEFRUUpdate(PHP_SNEFRU_CTX *, const unsigned char *, size_t);
40 PHP_HASH_API void PHP_SNEFRUFinal(unsigned char[32], PHP_SNEFRU_CTX *);
H A Dphp_hash_gost.h34 PHP_HASH_API void PHP_GOSTInit(PHP_GOST_CTX *);
35 PHP_HASH_API void PHP_GOSTUpdate(PHP_GOST_CTX *, const unsigned char *, size_t);
36 PHP_HASH_API void PHP_GOSTFinal(unsigned char[64], PHP_GOST_CTX *);
H A Dphp_hash_whirlpool.h35 PHP_HASH_API void PHP_WHIRLPOOLInit(PHP_WHIRLPOOL_CTX *);
36 PHP_HASH_API void PHP_WHIRLPOOLUpdate(PHP_WHIRLPOOL_CTX *, const unsigned char *, size_t);
37 PHP_HASH_API void PHP_WHIRLPOOLFinal(unsigned char[64], PHP_WHIRLPOOL_CTX *);
H A Dhash_adler32.c25 PHP_HASH_API void PHP_ADLER32Init(PHP_ADLER32_CTX *context) in PHP_ADLER32Init()
30 PHP_HASH_API void PHP_ADLER32Update(PHP_ADLER32_CTX *context, const unsigned char *input, size_t le… in PHP_ADLER32Update()
43 PHP_HASH_API void PHP_ADLER32Final(unsigned char digest[4], PHP_ADLER32_CTX *context) in PHP_ADLER32Final()
52 PHP_HASH_API int PHP_ADLER32Copy(const php_hash_ops *ops, PHP_ADLER32_CTX *orig_context, PHP_ADLER3… in PHP_ADLER32Copy()
H A Dphp_hash.h108 # define PHP_HASH_API __declspec(dllexport) macro
110 # define PHP_HASH_API __attribute__ ((visibility("default"))) macro
112 # define PHP_HASH_API macro
130 PHP_HASH_API const php_hash_ops *php_hash_fetch_ops(const char *algo, int algo_len);
131 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops);
132 PHP_HASH_API int php_hash_copy(const void *ops, void *orig_context, void *dest_context);
H A Dphp_hash_haval.h36 #define PHP_HASH_HAVAL_INIT_DECL(p,b) PHP_HASH_API void PHP_##p##HAVAL##b##Init(PHP_HAVAL_CTX *); \
37 PHP_HASH_API void PHP_HAVAL##b##Final(unsigned char*, PHP_HAVAL_CTX *);
39 PHP_HASH_API void PHP_HAVALUpdate(PHP_HAVAL_CTX *, const unsigned char *, unsigned int);
H A Dhash_tiger.c172 PHP_HASH_API void PHP_3TIGERInit(PHP_TIGER_CTX *context) in PHP_3TIGERInit()
180 PHP_HASH_API void PHP_4TIGERInit(PHP_TIGER_CTX *context) in PHP_4TIGERInit()
189 PHP_HASH_API void PHP_TIGERUpdate(PHP_TIGER_CTX *context, const unsigned char *input, size_t len) in PHP_TIGERUpdate()
216 PHP_HASH_API void PHP_TIGER128Final(unsigned char digest[16], PHP_TIGER_CTX *context) in PHP_TIGER128Final()
240 PHP_HASH_API void PHP_TIGER160Final(unsigned char digest[20], PHP_TIGER_CTX *context) in PHP_TIGER160Final()
268 PHP_HASH_API void PHP_TIGER192Final(unsigned char digest[24], PHP_TIGER_CTX *context) in PHP_TIGER192Final()
H A Dhash_sha.c81 PHP_HASH_API void make_sha1_digest(char *sha1str, unsigned char *digest) in make_sha1_digest()
206 PHP_HASH_API void PHP_SHA1Init(PHP_SHA1_CTX * context) in PHP_SHA1Init()
333 PHP_HASH_API void PHP_SHA1Update(PHP_SHA1_CTX * context, const unsigned char *input, in PHP_SHA1Update()
374 PHP_HASH_API void PHP_SHA1Final(unsigned char digest[20], PHP_SHA1_CTX * context) in PHP_SHA1Final()
461 PHP_HASH_API void PHP_SHA256Init(PHP_SHA256_CTX * context) in PHP_SHA256Init()
521 PHP_HASH_API void PHP_SHA224Init(PHP_SHA224_CTX * context) in PHP_SHA224Init()
581 PHP_HASH_API void PHP_SHA224Final(unsigned char digest[28], PHP_SHA224_CTX * context) in PHP_SHA224Final()
658 PHP_HASH_API void PHP_SHA256Final(unsigned char digest[32], PHP_SHA256_CTX * context) in PHP_SHA256Final()
770 PHP_HASH_API void PHP_SHA384Init(PHP_SHA384_CTX * context) in PHP_SHA384Init()
872 PHP_HASH_API void PHP_SHA384Final(unsigned char digest[48], PHP_SHA384_CTX * context) in PHP_SHA384Final()
[all …]
H A Dhash_salsa.c143 PHP_HASH_API void PHP_SALSA10Init(PHP_SALSA_CTX *context) in PHP_SALSA10Init()
149 PHP_HASH_API void PHP_SALSA20Init(PHP_SALSA_CTX *context) in PHP_SALSA20Init()
155 PHP_HASH_API void PHP_SALSAUpdate(PHP_SALSA_CTX *context, const unsigned char *input, size_t len) in PHP_SALSAUpdate()
179 PHP_HASH_API void PHP_SALSAFinal(unsigned char digest[64], PHP_SALSA_CTX *context) in PHP_SALSAFinal()
H A Dhash_md.c98 PHP_HASH_API void make_digest(char *md5str, unsigned char *digest) in make_digest()
267 PHP_HASH_API void PHP_MD5Init(PHP_MD5_CTX * context) in PHP_MD5Init()
284 PHP_HASH_API void PHP_MD5Update(PHP_MD5_CTX * context, const unsigned char *input, in PHP_MD5Update()
325 PHP_HASH_API void PHP_MD5Final(unsigned char digest[16], PHP_MD5_CTX * context) in PHP_MD5Final()
527 PHP_HASH_API void PHP_MD4Init(PHP_MD4_CTX * context) in PHP_MD4Init()
544 PHP_HASH_API void PHP_MD4Update(PHP_MD4_CTX * context, const unsigned char *input, unsigned int inp… in PHP_MD4Update()
583 PHP_HASH_API void PHP_MD4Final(unsigned char digest[16], PHP_MD4_CTX * context) in PHP_MD4Final()
629 PHP_HASH_API void PHP_MD2Init(PHP_MD2_CTX *context) in PHP_MD2Init()
657 PHP_HASH_API void PHP_MD2Update(PHP_MD2_CTX *context, const unsigned char *buf, unsigned int len) in PHP_MD2Update()
688 PHP_HASH_API void PHP_MD2Final(unsigned char output[16], PHP_MD2_CTX *context) in PHP_MD2Final()
H A Dhash_ripemd.c71 PHP_HASH_API void PHP_RIPEMD128Init(PHP_RIPEMD128_CTX * context) in PHP_RIPEMD128Init()
86 PHP_HASH_API void PHP_RIPEMD256Init(PHP_RIPEMD256_CTX * context) in PHP_RIPEMD256Init()
105 PHP_HASH_API void PHP_RIPEMD160Init(PHP_RIPEMD160_CTX * context) in PHP_RIPEMD160Init()
121 PHP_HASH_API void PHP_RIPEMD320Init(PHP_RIPEMD320_CTX * context) in PHP_RIPEMD320Init()
256 PHP_HASH_API void PHP_RIPEMD128Update(PHP_RIPEMD128_CTX * context, const unsigned char *input, unsi… in PHP_RIPEMD128Update()
354 PHP_HASH_API void PHP_RIPEMD256Update(PHP_RIPEMD256_CTX * context, const unsigned char *input, unsi… in PHP_RIPEMD256Update()
453 PHP_HASH_API void PHP_RIPEMD160Update(PHP_RIPEMD160_CTX * context, const unsigned char *input, unsi… in PHP_RIPEMD160Update()
624 PHP_HASH_API void PHP_RIPEMD128Final(unsigned char digest[16], PHP_RIPEMD128_CTX * context) in PHP_RIPEMD128Final()
661 PHP_HASH_API void PHP_RIPEMD256Final(unsigned char digest[32], PHP_RIPEMD256_CTX * context) in PHP_RIPEMD256Final()
698 PHP_HASH_API void PHP_RIPEMD160Final(unsigned char digest[20], PHP_RIPEMD160_CTX * context) in PHP_RIPEMD160Final()
[all …]
H A Dhash_snefru.c135 PHP_HASH_API void PHP_SNEFRUInit(PHP_SNEFRU_CTX *context) in PHP_SNEFRUInit()
142 PHP_HASH_API void PHP_SNEFRUUpdate(PHP_SNEFRU_CTX *context, const unsigned char *input, size_t len) in PHP_SNEFRUUpdate()
174 PHP_HASH_API void PHP_SNEFRUFinal(unsigned char digest[32], PHP_SNEFRU_CTX *context) in PHP_SNEFRUFinal()
H A Dhash_haval.c259 PHP_HASH_API void PHP_##p##HAVAL##b##Init(PHP_HAVAL_CTX *context) \
285 PHP_HASH_API void PHP_HAVALUpdate(PHP_HAVAL_CTX *context, const unsigned char *input, unsigned int … in PHP_HAVALUpdate()
323 PHP_HASH_API void PHP_HAVAL128Final(unsigned char *digest, PHP_HAVAL_CTX * context) in PHP_HAVAL128Final()
377 PHP_HASH_API void PHP_HAVAL160Final(unsigned char *digest, PHP_HAVAL_CTX * context) in PHP_HAVAL160Final()
431 PHP_HASH_API void PHP_HAVAL192Final(unsigned char *digest, PHP_HAVAL_CTX * context) in PHP_HAVAL192Final()
471 PHP_HASH_API void PHP_HAVAL224Final(unsigned char *digest, PHP_HAVAL_CTX * context) in PHP_HAVAL224Final()
512 PHP_HASH_API void PHP_HAVAL256Final(unsigned char *digest, PHP_HAVAL_CTX * context) in PHP_HAVAL256Final()
H A Dhash_whirlpool.c270 PHP_HASH_API void PHP_WHIRLPOOLInit(PHP_WHIRLPOOL_CTX *context) in PHP_WHIRLPOOLInit()
275 PHP_HASH_API void PHP_WHIRLPOOLUpdate(PHP_WHIRLPOOL_CTX *context, const unsigned char *input, size_… in PHP_WHIRLPOOLUpdate()
377 PHP_HASH_API void PHP_WHIRLPOOLFinal(unsigned char digest[64], PHP_WHIRLPOOL_CTX *context) in PHP_WHIRLPOOLFinal()
H A Dhash_gost.c243 PHP_HASH_API void PHP_GOSTInit(PHP_GOST_CTX *context) in PHP_GOSTInit()
250 PHP_HASH_API void PHP_GOSTUpdate(PHP_GOST_CTX *context, const unsigned char *input, size_t len) in PHP_GOSTUpdate()
282 PHP_HASH_API void PHP_GOSTFinal(unsigned char digest[32], PHP_GOST_CTX *context) in PHP_GOSTFinal()
H A Dhash.c83 PHP_HASH_API const php_hash_ops *php_hash_fetch_ops(const char *algo, int algo_len) /* {{{ */ in php_hash_fetch_ops()
98 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops) /* {{{ */ in php_hash_register_algo()
109 PHP_HASH_API int php_hash_copy(const void *ops, void *orig_context, void *dest_context) /* {{{ */ in php_hash_copy()

Completed in 40 milliseconds