Home
last modified time | relevance | path

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

12

/PHP-7.3/ext/hash/
H A Dphp_hash_sha.h42 PHP_HASH_API void PHP_SHA1Init(PHP_SHA1_CTX *);
44 PHP_HASH_API void PHP_SHA1Final(unsigned char[20], PHP_SHA1_CTX *);
58 PHP_HASH_API void PHP_SHA224Init(PHP_SHA224_CTX *);
60 PHP_HASH_API void PHP_SHA224Final(unsigned char[28], PHP_SHA224_CTX *);
69 PHP_HASH_API void PHP_SHA256Init(PHP_SHA256_CTX *);
71 PHP_HASH_API void PHP_SHA256Final(unsigned char[32], PHP_SHA256_CTX *);
80 PHP_HASH_API void PHP_SHA384Init(PHP_SHA384_CTX *);
82 PHP_HASH_API void PHP_SHA384Final(unsigned char[48], PHP_SHA384_CTX *);
91 PHP_HASH_API void PHP_SHA512Init(PHP_SHA512_CTX *);
95 PHP_HASH_API void PHP_SHA512_256Init(PHP_SHA512_CTX *);
[all …]
H A Dphp_hash_sha3.h38 PHP_HASH_API void PHP_SHA3224Init(PHP_SHA3_224_CTX*);
39 PHP_HASH_API void PHP_SHA3224Update(PHP_SHA3_224_CTX*, const unsigned char*, unsigned int);
40 PHP_HASH_API void PHP_SAH3224Final(unsigned char[32], PHP_SHA3_224_CTX*);
42 PHP_HASH_API void PHP_SHA3256Init(PHP_SHA3_256_CTX*);
43 PHP_HASH_API void PHP_SHA3256Update(PHP_SHA3_256_CTX*, const unsigned char*, unsigned int);
44 PHP_HASH_API void PHP_SAH3256Final(unsigned char[32], PHP_SHA3_256_CTX*);
46 PHP_HASH_API void PHP_SHA3384Init(PHP_SHA3_384_CTX*);
47 PHP_HASH_API void PHP_SHA3384Update(PHP_SHA3_384_CTX*, const unsigned char*, unsigned int);
48 PHP_HASH_API void PHP_SAH3384Final(unsigned char[32], PHP_SHA3_384_CTX*);
50 PHP_HASH_API void PHP_SHA3512Init(PHP_SHA3_512_CTX*);
[all …]
H A Dphp_hash_ripemd.h48 PHP_HASH_API void PHP_RIPEMD128Init(PHP_RIPEMD128_CTX *);
49 PHP_HASH_API void PHP_RIPEMD128Update(PHP_RIPEMD128_CTX *, const unsigned char *, unsigned int);
50 PHP_HASH_API void PHP_RIPEMD128Final(unsigned char[16], PHP_RIPEMD128_CTX *);
52 PHP_HASH_API void PHP_RIPEMD160Init(PHP_RIPEMD160_CTX *);
53 PHP_HASH_API void PHP_RIPEMD160Update(PHP_RIPEMD160_CTX *, const unsigned char *, unsigned int);
54 PHP_HASH_API void PHP_RIPEMD160Final(unsigned char[20], PHP_RIPEMD160_CTX *);
56 PHP_HASH_API void PHP_RIPEMD256Init(PHP_RIPEMD256_CTX *);
57 PHP_HASH_API void PHP_RIPEMD256Update(PHP_RIPEMD256_CTX *, const unsigned char *, unsigned int);
58 PHP_HASH_API void PHP_RIPEMD256Final(unsigned char[32], PHP_RIPEMD256_CTX *);
60 PHP_HASH_API void PHP_RIPEMD320Init(PHP_RIPEMD320_CTX *);
[all …]
H A Dphp_hash_md.h66 PHP_HASH_API void make_digest(char *md5str, unsigned char *digest);
67 PHP_HASH_API void PHP_MD5Init(PHP_MD5_CTX *);
68 PHP_HASH_API void PHP_MD5Update(PHP_MD5_CTX *, const unsigned char *, unsigned int);
69 PHP_HASH_API void PHP_MD5Final(unsigned char[16], PHP_MD5_CTX *);
82 PHP_HASH_API void PHP_MD4Init(PHP_MD4_CTX *);
83 PHP_HASH_API void PHP_MD4Update(PHP_MD4_CTX *context, const unsigned char *, unsigned int);
84 PHP_HASH_API void PHP_MD4Final(unsigned char[16], PHP_MD4_CTX *);
94 PHP_HASH_API void PHP_MD2Init(PHP_MD2_CTX *context);
95 PHP_HASH_API void PHP_MD2Update(PHP_MD2_CTX *context, const unsigned char *, unsigned int);
96 PHP_HASH_API void PHP_MD2Final(unsigned char[16], PHP_MD2_CTX *);
H A Dphp_hash_fnv.h55 PHP_HASH_API void PHP_FNV132Init(PHP_FNV132_CTX *context);
56 PHP_HASH_API void PHP_FNV132Update(PHP_FNV132_CTX *context, const unsigned char *input, unsigned in…
57 PHP_HASH_API void PHP_FNV1a32Update(PHP_FNV132_CTX *context, const unsigned char *input, unsigned i…
58 PHP_HASH_API void PHP_FNV132Final(unsigned char digest[16], PHP_FNV132_CTX * context);
60 PHP_HASH_API void PHP_FNV164Init(PHP_FNV164_CTX *context);
61 PHP_HASH_API void PHP_FNV164Update(PHP_FNV164_CTX *context, const unsigned char *input, unsigned in…
62 PHP_HASH_API void PHP_FNV1a64Update(PHP_FNV164_CTX *context, const unsigned char *input, unsigned i…
63 PHP_HASH_API void PHP_FNV164Final(unsigned char digest[16], PHP_FNV164_CTX * context);
H A Dphp_hash_tiger.h31 PHP_HASH_API void PHP_3TIGERInit(PHP_TIGER_CTX *context);
32 PHP_HASH_API void PHP_4TIGERInit(PHP_TIGER_CTX *context);
33 PHP_HASH_API void PHP_TIGERUpdate(PHP_TIGER_CTX *context, const unsigned char *input, size_t len);
34 PHP_HASH_API void PHP_TIGER128Final(unsigned char digest[16], PHP_TIGER_CTX *context);
35 PHP_HASH_API void PHP_TIGER160Final(unsigned char digest[20], PHP_TIGER_CTX *context);
36 PHP_HASH_API void PHP_TIGER192Final(unsigned char digest[24], PHP_TIGER_CTX *context);
H A Dphp_hash_crc32.h28 PHP_HASH_API void PHP_CRC32Init(PHP_CRC32_CTX *context);
29 PHP_HASH_API void PHP_CRC32Update(PHP_CRC32_CTX *context, const unsigned char *input, size_t len);
30 PHP_HASH_API void PHP_CRC32BUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len);
31 PHP_HASH_API void PHP_CRC32Final(unsigned char digest[4], PHP_CRC32_CTX *context);
32 PHP_HASH_API int PHP_CRC32Copy(const php_hash_ops *ops, PHP_CRC32_CTX *orig_context, PHP_CRC32_CTX …
H A Dphp_hash_adler32.h28 PHP_HASH_API void PHP_ADLER32Init(PHP_ADLER32_CTX *context);
29 PHP_HASH_API void PHP_ADLER32Update(PHP_ADLER32_CTX *context, const unsigned char *input, size_t le…
30 PHP_HASH_API void PHP_ADLER32Final(unsigned char digest[4], PHP_ADLER32_CTX *context);
31 PHP_HASH_API int PHP_ADLER32Copy(const php_hash_ops *ops, PHP_ADLER32_CTX *orig_context, PHP_ADLER3…
H A Dhash_fnv.c72 PHP_HASH_API void PHP_FNV132Init(PHP_FNV132_CTX *context) in PHP_FNV132Init()
78 PHP_HASH_API void PHP_FNV132Update(PHP_FNV132_CTX *context, const unsigned char *input, in PHP_FNV132Update()
84 PHP_HASH_API void PHP_FNV1a32Update(PHP_FNV132_CTX *context, const unsigned char *input, in PHP_FNV1a32Update()
90 PHP_HASH_API void PHP_FNV132Final(unsigned char digest[4], PHP_FNV132_CTX * context) in PHP_FNV132Final()
107 PHP_HASH_API void PHP_FNV164Init(PHP_FNV164_CTX *context) in PHP_FNV164Init()
113 PHP_HASH_API void PHP_FNV164Update(PHP_FNV164_CTX *context, const unsigned char *input, in PHP_FNV164Update()
119 PHP_HASH_API void PHP_FNV1a64Update(PHP_FNV164_CTX *context, const unsigned char *input, in PHP_FNV1a64Update()
125 PHP_HASH_API void PHP_FNV164Final(unsigned char digest[8], PHP_FNV164_CTX * context) in PHP_FNV164Final()
H A Dhash_crc32.c24 PHP_HASH_API void PHP_CRC32Init(PHP_CRC32_CTX *context) in PHP_CRC32Init()
29 PHP_HASH_API void PHP_CRC32Update(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) in PHP_CRC32Update()
38 PHP_HASH_API void PHP_CRC32BUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) in PHP_CRC32BUpdate()
47 PHP_HASH_API void PHP_CRC32Final(unsigned char digest[4], PHP_CRC32_CTX *context) in PHP_CRC32Final()
57 PHP_HASH_API void PHP_CRC32BFinal(unsigned char digest[4], PHP_CRC32_CTX *context) in PHP_CRC32BFinal()
67 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.h36 PHP_HASH_API void PHP_SNEFRUInit(PHP_SNEFRU_CTX *);
37 PHP_HASH_API void PHP_SNEFRUUpdate(PHP_SNEFRU_CTX *, const unsigned char *, size_t);
38 PHP_HASH_API void PHP_SNEFRUFinal(unsigned char[32], PHP_SNEFRU_CTX *);
H A Dphp_hash_whirlpool.h33 PHP_HASH_API void PHP_WHIRLPOOLInit(PHP_WHIRLPOOL_CTX *);
34 PHP_HASH_API void PHP_WHIRLPOOLUpdate(PHP_WHIRLPOOL_CTX *, const unsigned char *, size_t);
35 PHP_HASH_API void PHP_WHIRLPOOLFinal(unsigned char[64], PHP_WHIRLPOOL_CTX *);
H A Dphp_hash_gost.h33 PHP_HASH_API void PHP_GOSTInit(PHP_GOST_CTX *);
34 PHP_HASH_API void PHP_GOSTUpdate(PHP_GOST_CTX *, const unsigned char *, size_t);
35 PHP_HASH_API void PHP_GOSTFinal(unsigned char[64], PHP_GOST_CTX *);
H A Dphp_hash_joaat.h26 PHP_HASH_API void PHP_JOAATInit(PHP_JOAAT_CTX *context);
27 PHP_HASH_API void PHP_JOAATUpdate(PHP_JOAAT_CTX *context, const unsigned char *input, unsigned int …
28 PHP_HASH_API void PHP_JOAATFinal(unsigned char digest[16], PHP_JOAAT_CTX * context);
H A Dphp_hash.h124 # define PHP_HASH_API __declspec(dllexport) macro
126 # define PHP_HASH_API __attribute__ ((visibility("default"))) macro
128 # define PHP_HASH_API macro
149 extern PHP_HASH_API zend_class_entry *php_hashcontext_ce;
150 PHP_HASH_API const php_hash_ops *php_hash_fetch_ops(const char *algo, size_t algo_len);
151 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops);
152 PHP_HASH_API int php_hash_copy(const void *ops, void *orig_context, void *dest_context);
H A Dhash_adler32.c23 PHP_HASH_API void PHP_ADLER32Init(PHP_ADLER32_CTX *context) in PHP_ADLER32Init()
28 PHP_HASH_API void PHP_ADLER32Update(PHP_ADLER32_CTX *context, const unsigned char *input, size_t le… in PHP_ADLER32Update()
48 PHP_HASH_API void PHP_ADLER32Final(unsigned char digest[4], PHP_ADLER32_CTX *context) in PHP_ADLER32Final()
57 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_haval.h34 #define PHP_HASH_HAVAL_INIT_DECL(p,b) PHP_HASH_API void PHP_##p##HAVAL##b##Init(PHP_HAVAL_CTX *); \
35 PHP_HASH_API void PHP_HAVAL##b##Final(unsigned char*, PHP_HAVAL_CTX *);
37 PHP_HASH_API void PHP_HAVALUpdate(PHP_HAVAL_CTX *, const unsigned char *, unsigned int);
H A Dhash_joaat.c37 PHP_HASH_API void PHP_JOAATInit(PHP_JOAAT_CTX *context) in PHP_JOAATInit()
42 PHP_HASH_API void PHP_JOAATUpdate(PHP_JOAAT_CTX *context, const unsigned char *input, unsigned int … in PHP_JOAATUpdate()
47 PHP_HASH_API void PHP_JOAATFinal(unsigned char digest[4], PHP_JOAAT_CTX * context) in PHP_JOAATFinal()
H A Dhash_tiger.c179 PHP_HASH_API void PHP_3TIGERInit(PHP_TIGER_CTX *context) in PHP_3TIGERInit()
187 PHP_HASH_API void PHP_4TIGERInit(PHP_TIGER_CTX *context) in PHP_4TIGERInit()
196 PHP_HASH_API void PHP_TIGERUpdate(PHP_TIGER_CTX *context, const unsigned char *input, size_t len) in PHP_TIGERUpdate()
223 PHP_HASH_API void PHP_TIGER128Final(unsigned char digest[16], PHP_TIGER_CTX *context) in PHP_TIGER128Final()
230 PHP_HASH_API void PHP_TIGER160Final(unsigned char digest[20], PHP_TIGER_CTX *context) in PHP_TIGER160Final()
237 PHP_HASH_API void PHP_TIGER192Final(unsigned char digest[24], PHP_TIGER_CTX *context) in PHP_TIGER192Final()
H A Dhash_sha.c80 PHP_HASH_API void make_sha1_digest(char *sha1str, unsigned char *digest) in make_sha1_digest()
202 PHP_HASH_API void PHP_SHA1Init(PHP_SHA1_CTX * context) in PHP_SHA1Init()
329 PHP_HASH_API void PHP_SHA1Update(PHP_SHA1_CTX * context, const unsigned char *input, in PHP_SHA1Update()
370 PHP_HASH_API void PHP_SHA1Final(unsigned char digest[20], PHP_SHA1_CTX * context) in PHP_SHA1Final()
459 PHP_HASH_API void PHP_SHA256Init(PHP_SHA256_CTX * context) in PHP_SHA256Init()
519 PHP_HASH_API void PHP_SHA224Init(PHP_SHA224_CTX * context) in PHP_SHA224Init()
579 PHP_HASH_API void PHP_SHA224Final(unsigned char digest[28], PHP_SHA224_CTX * context) in PHP_SHA224Final()
768 PHP_HASH_API void PHP_SHA384Init(PHP_SHA384_CTX * context) in PHP_SHA384Init()
925 PHP_HASH_API void PHP_SHA512Init(PHP_SHA512_CTX * context) in PHP_SHA512Init()
944 PHP_HASH_API void PHP_SHA512_256Init(PHP_SHA512_CTX * context) in PHP_SHA512_256Init()
[all …]
H A Dhash_md.c99 PHP_HASH_API void make_digest(char *md5str, unsigned char *digest) in make_digest()
265 PHP_HASH_API void PHP_MD5Init(PHP_MD5_CTX * context) in PHP_MD5Init()
282 PHP_HASH_API void PHP_MD5Update(PHP_MD5_CTX * context, const unsigned char *input, in PHP_MD5Update()
323 PHP_HASH_API void PHP_MD5Final(unsigned char digest[16], PHP_MD5_CTX * context) in PHP_MD5Final()
525 PHP_HASH_API void PHP_MD4Init(PHP_MD4_CTX * context) in PHP_MD4Init()
542 PHP_HASH_API void PHP_MD4Update(PHP_MD4_CTX * context, const unsigned char *input, unsigned int inp… in PHP_MD4Update()
581 PHP_HASH_API void PHP_MD4Final(unsigned char digest[16], PHP_MD4_CTX * context) in PHP_MD4Final()
627 PHP_HASH_API void PHP_MD2Init(PHP_MD2_CTX *context) in PHP_MD2Init()
655 PHP_HASH_API void PHP_MD2Update(PHP_MD2_CTX *context, const unsigned char *buf, unsigned int len) in PHP_MD2Update()
686 PHP_HASH_API void PHP_MD2Final(unsigned char output[16], PHP_MD2_CTX *context) in PHP_MD2Final()
H A Dhash_ripemd.c73 PHP_HASH_API void PHP_RIPEMD128Init(PHP_RIPEMD128_CTX * context) in PHP_RIPEMD128Init()
88 PHP_HASH_API void PHP_RIPEMD256Init(PHP_RIPEMD256_CTX * context) in PHP_RIPEMD256Init()
107 PHP_HASH_API void PHP_RIPEMD160Init(PHP_RIPEMD160_CTX * context) in PHP_RIPEMD160Init()
123 PHP_HASH_API void PHP_RIPEMD320Init(PHP_RIPEMD320_CTX * context) in PHP_RIPEMD320Init()
258 PHP_HASH_API void PHP_RIPEMD128Update(PHP_RIPEMD128_CTX * context, const unsigned char *input, unsi… in PHP_RIPEMD128Update()
356 PHP_HASH_API void PHP_RIPEMD256Update(PHP_RIPEMD256_CTX * context, const unsigned char *input, unsi… in PHP_RIPEMD256Update()
455 PHP_HASH_API void PHP_RIPEMD160Update(PHP_RIPEMD160_CTX * context, const unsigned char *input, unsi… in PHP_RIPEMD160Update()
626 PHP_HASH_API void PHP_RIPEMD128Final(unsigned char digest[16], PHP_RIPEMD128_CTX * context) in PHP_RIPEMD128Final()
663 PHP_HASH_API void PHP_RIPEMD256Final(unsigned char digest[32], PHP_RIPEMD256_CTX * context) in PHP_RIPEMD256Final()
700 PHP_HASH_API void PHP_RIPEMD160Final(unsigned char digest[20], PHP_RIPEMD160_CTX * context) in PHP_RIPEMD160Final()
[all …]
H A Dhash_snefru.c133 PHP_HASH_API void PHP_SNEFRUInit(PHP_SNEFRU_CTX *context) in PHP_SNEFRUInit()
140 PHP_HASH_API void PHP_SNEFRUUpdate(PHP_SNEFRU_CTX *context, const unsigned char *input, size_t len) in PHP_SNEFRUUpdate()
172 PHP_HASH_API void PHP_SNEFRUFinal(unsigned char digest[32], PHP_SNEFRU_CTX *context) in PHP_SNEFRUFinal()
H A Dhash_haval.c257 PHP_HASH_API void PHP_##p##HAVAL##b##Init(PHP_HAVAL_CTX *context) \
283 PHP_HASH_API void PHP_HAVALUpdate(PHP_HAVAL_CTX *context, const unsigned char *input, unsigned int … in PHP_HAVALUpdate()
321 PHP_HASH_API void PHP_HAVAL128Final(unsigned char *digest, PHP_HAVAL_CTX * context) in PHP_HAVAL128Final()
375 PHP_HASH_API void PHP_HAVAL160Final(unsigned char *digest, PHP_HAVAL_CTX * context) in PHP_HAVAL160Final()
429 PHP_HASH_API void PHP_HAVAL192Final(unsigned char *digest, PHP_HAVAL_CTX * context) in PHP_HAVAL192Final()
469 PHP_HASH_API void PHP_HAVAL224Final(unsigned char *digest, PHP_HAVAL_CTX * context) in PHP_HAVAL224Final()
510 PHP_HASH_API void PHP_HAVAL256Final(unsigned char *digest, PHP_HAVAL_CTX * context) in PHP_HAVAL256Final()
H A Dhash_gost.c240 PHP_HASH_API void PHP_GOSTInit(PHP_GOST_CTX *context) in PHP_GOSTInit()
246 PHP_HASH_API void PHP_GOSTInitCrypto(PHP_GOST_CTX *context) in PHP_GOSTInitCrypto()
254 PHP_HASH_API void PHP_GOSTUpdate(PHP_GOST_CTX *context, const unsigned char *input, size_t len) in PHP_GOSTUpdate()
286 PHP_HASH_API void PHP_GOSTFinal(unsigned char digest[32], PHP_GOST_CTX *context) in PHP_GOSTFinal()

Completed in 53 milliseconds

12