Home
last modified time | relevance | path

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

12

/PHP-8.0/ext/hash/
H A Dphp_hash_sha.h32 PHP_HASH_API void PHP_SHA224Init(PHP_SHA224_CTX *);
34 PHP_HASH_API void PHP_SHA224Final(unsigned char[28], PHP_SHA224_CTX *);
44 PHP_HASH_API void PHP_SHA256Init(PHP_SHA256_CTX *);
46 PHP_HASH_API void PHP_SHA256Final(unsigned char[32], PHP_SHA256_CTX *);
56 PHP_HASH_API void PHP_SHA384Init(PHP_SHA384_CTX *);
58 PHP_HASH_API void PHP_SHA384Final(unsigned char[48], PHP_SHA384_CTX *);
68 PHP_HASH_API void PHP_SHA512Init(PHP_SHA512_CTX *);
70 PHP_HASH_API void PHP_SHA512Final(unsigned char[64], PHP_SHA512_CTX *);
72 PHP_HASH_API void PHP_SHA512_256Init(PHP_SHA512_CTX *);
74 PHP_HASH_API void PHP_SHA512_256Final(unsigned char[32], PHP_SHA512_CTX *);
[all …]
H A Dphp_hash_sha3.h39 PHP_HASH_API void PHP_SHA3224Init(PHP_SHA3_224_CTX*);
40 PHP_HASH_API void PHP_SHA3224Update(PHP_SHA3_224_CTX*, const unsigned char*, size_t);
41 PHP_HASH_API void PHP_SAH3224Final(unsigned char[32], PHP_SHA3_224_CTX*);
43 PHP_HASH_API void PHP_SHA3256Init(PHP_SHA3_256_CTX*);
44 PHP_HASH_API void PHP_SHA3256Update(PHP_SHA3_256_CTX*, const unsigned char*, size_t);
45 PHP_HASH_API void PHP_SAH3256Final(unsigned char[32], PHP_SHA3_256_CTX*);
47 PHP_HASH_API void PHP_SHA3384Init(PHP_SHA3_384_CTX*);
48 PHP_HASH_API void PHP_SHA3384Update(PHP_SHA3_384_CTX*, const unsigned char*, size_t);
49 PHP_HASH_API void PHP_SAH3384Final(unsigned char[32], PHP_SHA3_384_CTX*);
51 PHP_HASH_API void PHP_SHA3512Init(PHP_SHA3_512_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 *, size_t);
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 *, size_t);
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 *, size_t);
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_crc32.h27 PHP_HASH_API void PHP_CRC32Init(PHP_CRC32_CTX *context);
28 PHP_HASH_API void PHP_CRC32Update(PHP_CRC32_CTX *context, const unsigned char *input, size_t len);
29 PHP_HASH_API void PHP_CRC32BUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len);
30 PHP_HASH_API void PHP_CRC32CUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len);
31 PHP_HASH_API void PHP_CRC32LEFinal(unsigned char digest[4], PHP_CRC32_CTX *context);
32 PHP_HASH_API void PHP_CRC32BEFinal(unsigned char digest[4], PHP_CRC32_CTX *context);
33 PHP_HASH_API int PHP_CRC32Copy(const php_hash_ops *ops, PHP_CRC32_CTX *orig_context, PHP_CRC32_CTX …
H A Dphp_hash_md.h31 PHP_HASH_API void PHP_MD4Init(PHP_MD4_CTX *);
32 PHP_HASH_API void PHP_MD4Update(PHP_MD4_CTX *context, const unsigned char *, size_t);
33 PHP_HASH_API void PHP_MD4Final(unsigned char[16], PHP_MD4_CTX *);
44 PHP_HASH_API void PHP_MD2Init(PHP_MD2_CTX *context);
45 PHP_HASH_API void PHP_MD2Update(PHP_MD2_CTX *context, const unsigned char *, size_t);
46 PHP_HASH_API void PHP_MD2Final(unsigned char[16], PHP_MD2_CTX *);
H A Dphp_hash_tiger.h30 PHP_HASH_API void PHP_3TIGERInit(PHP_TIGER_CTX *context);
31 PHP_HASH_API void PHP_4TIGERInit(PHP_TIGER_CTX *context);
32 PHP_HASH_API void PHP_TIGERUpdate(PHP_TIGER_CTX *context, const unsigned char *input, size_t len);
33 PHP_HASH_API void PHP_TIGER128Final(unsigned char digest[16], PHP_TIGER_CTX *context);
34 PHP_HASH_API void PHP_TIGER160Final(unsigned char digest[20], PHP_TIGER_CTX *context);
35 PHP_HASH_API void PHP_TIGER192Final(unsigned char digest[24], PHP_TIGER_CTX *context);
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, size_t inpu…
57 PHP_HASH_API void PHP_FNV1a32Update(PHP_FNV132_CTX *context, const unsigned char *input, size_t inp…
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, size_t inpu…
62 PHP_HASH_API void PHP_FNV1a64Update(PHP_FNV164_CTX *context, const unsigned char *input, size_t inp…
63 PHP_HASH_API void PHP_FNV164Final(unsigned char digest[16], PHP_FNV164_CTX * context);
H A Dphp_hash_adler32.h27 PHP_HASH_API void PHP_ADLER32Init(PHP_ADLER32_CTX *context);
28 PHP_HASH_API void PHP_ADLER32Update(PHP_ADLER32_CTX *context, const unsigned char *input, size_t le…
29 PHP_HASH_API void PHP_ADLER32Final(unsigned char digest[4], PHP_ADLER32_CTX *context);
30 PHP_HASH_API int PHP_ADLER32Copy(const php_hash_ops *ops, PHP_ADLER32_CTX *orig_context, PHP_ADLER3…
H A Dphp_hash.h133 # define PHP_HASH_API __declspec(dllexport) macro
135 # define PHP_HASH_API __attribute__ ((visibility("default"))) macro
137 # define PHP_HASH_API macro
140 extern PHP_HASH_API zend_class_entry *php_hashcontext_ce;
141 PHP_HASH_API const php_hash_ops *php_hash_fetch_ops(zend_string *algo);
142 PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops);
143 PHP_HASH_API int php_hash_copy(const void *ops, void *orig_context, void *dest_context);
144 PHP_HASH_API int php_hash_serialize(const php_hashcontext_object *context, zend_long *magic, zval *…
145 PHP_HASH_API int php_hash_unserialize(php_hashcontext_object *context, zend_long magic, const zval …
146 PHP_HASH_API int php_hash_serialize_spec(const php_hashcontext_object *context, zval *zv, const cha…
[all …]
H A Dphp_hash_snefru.h35 PHP_HASH_API void PHP_SNEFRUInit(PHP_SNEFRU_CTX *);
36 PHP_HASH_API void PHP_SNEFRUUpdate(PHP_SNEFRU_CTX *, const unsigned char *, size_t);
37 PHP_HASH_API void PHP_SNEFRUFinal(unsigned char[32], PHP_SNEFRU_CTX *);
H A Dphp_hash_whirlpool.h32 PHP_HASH_API void PHP_WHIRLPOOLInit(PHP_WHIRLPOOL_CTX *);
33 PHP_HASH_API void PHP_WHIRLPOOLUpdate(PHP_WHIRLPOOL_CTX *, const unsigned char *, size_t);
34 PHP_HASH_API void PHP_WHIRLPOOLFinal(unsigned char[64], PHP_WHIRLPOOL_CTX *);
H A Dphp_hash_gost.h32 PHP_HASH_API void PHP_GOSTInit(PHP_GOST_CTX *);
33 PHP_HASH_API void PHP_GOSTUpdate(PHP_GOST_CTX *, const unsigned char *, size_t);
34 PHP_HASH_API void PHP_GOSTFinal(unsigned char[64], PHP_GOST_CTX *);
H A Dphp_hash_joaat.h25 PHP_HASH_API void PHP_JOAATInit(PHP_JOAAT_CTX *context);
26 PHP_HASH_API void PHP_JOAATUpdate(PHP_JOAAT_CTX *context, const unsigned char *input, size_t inputL…
27 PHP_HASH_API void PHP_JOAATFinal(unsigned char digest[16], PHP_JOAAT_CTX * context);
H A Dhash_fnv.c86 PHP_HASH_API void PHP_FNV132Init(PHP_FNV132_CTX *context) in PHP_FNV132Init()
92 PHP_HASH_API void PHP_FNV132Update(PHP_FNV132_CTX *context, const unsigned char *input, in PHP_FNV132Update()
98 PHP_HASH_API void PHP_FNV1a32Update(PHP_FNV132_CTX *context, const unsigned char *input, in PHP_FNV1a32Update()
104 PHP_HASH_API void PHP_FNV132Final(unsigned char digest[4], PHP_FNV132_CTX * context) in PHP_FNV132Final()
121 PHP_HASH_API void PHP_FNV164Init(PHP_FNV164_CTX *context) in PHP_FNV164Init()
127 PHP_HASH_API void PHP_FNV164Update(PHP_FNV164_CTX *context, const unsigned char *input, in PHP_FNV164Update()
133 PHP_HASH_API void PHP_FNV1a64Update(PHP_FNV164_CTX *context, const unsigned char *input, in PHP_FNV1a64Update()
139 PHP_HASH_API void PHP_FNV164Final(unsigned char digest[8], PHP_FNV164_CTX * context) in PHP_FNV164Final()
H A Dhash_crc32.c23 PHP_HASH_API void PHP_CRC32Init(PHP_CRC32_CTX *context) in PHP_CRC32Init()
28 PHP_HASH_API void PHP_CRC32Update(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) in PHP_CRC32Update()
41 PHP_HASH_API void PHP_CRC32BUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) in PHP_CRC32BUpdate()
54 PHP_HASH_API void PHP_CRC32CUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) in PHP_CRC32CUpdate()
67 PHP_HASH_API void PHP_CRC32LEFinal(unsigned char digest[4], PHP_CRC32_CTX *context) in PHP_CRC32LEFinal()
77 PHP_HASH_API void PHP_CRC32BEFinal(unsigned char digest[4], PHP_CRC32_CTX *context) in PHP_CRC32BEFinal()
87 PHP_HASH_API int PHP_CRC32Copy(const php_hash_ops *ops, PHP_CRC32_CTX *orig_context, PHP_CRC32_CTX … in PHP_CRC32Copy()
H A Dhash_adler32.c21 PHP_HASH_API void PHP_ADLER32Init(PHP_ADLER32_CTX *context) in PHP_ADLER32Init()
26 PHP_HASH_API void PHP_ADLER32Update(PHP_ADLER32_CTX *context, const unsigned char *input, size_t le… in PHP_ADLER32Update()
46 PHP_HASH_API void PHP_ADLER32Final(unsigned char digest[4], PHP_ADLER32_CTX *context) in PHP_ADLER32Final()
55 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.h33 #define PHP_HASH_HAVAL_INIT_DECL(p,b) PHP_HASH_API void PHP_##p##HAVAL##b##Init(PHP_HAVAL_CTX *); \
34 PHP_HASH_API void PHP_HAVAL##b##Final(unsigned char*, PHP_HAVAL_CTX *);
36 PHP_HASH_API void PHP_HAVALUpdate(PHP_HAVAL_CTX *, const unsigned char *, size_t);
H A Dhash_joaat.c39 PHP_HASH_API void PHP_JOAATInit(PHP_JOAAT_CTX *context) in PHP_JOAATInit()
44 PHP_HASH_API void PHP_JOAATUpdate(PHP_JOAAT_CTX *context, const unsigned char *input, size_t inputL… in PHP_JOAATUpdate()
49 PHP_HASH_API void PHP_JOAATFinal(unsigned char digest[4], PHP_JOAAT_CTX * context) in PHP_JOAATFinal()
H A Dhash_sha.c142 PHP_HASH_API void PHP_SHA256Init(PHP_SHA256_CTX * context) in PHP_SHA256Init()
202 PHP_HASH_API void PHP_SHA224Init(PHP_SHA224_CTX * context) in PHP_SHA224Init()
262 PHP_HASH_API void PHP_SHA224Final(unsigned char digest[28], PHP_SHA224_CTX * context) in PHP_SHA224Final()
339 PHP_HASH_API void PHP_SHA256Final(unsigned char digest[32], PHP_SHA256_CTX * context) in PHP_SHA256Final()
451 PHP_HASH_API void PHP_SHA384Init(PHP_SHA384_CTX * context) in PHP_SHA384Init()
551 PHP_HASH_API void PHP_SHA384Final(unsigned char digest[48], PHP_SHA384_CTX * context) in PHP_SHA384Final()
610 PHP_HASH_API void PHP_SHA512Init(PHP_SHA512_CTX * context) in PHP_SHA512Init()
629 PHP_HASH_API void PHP_SHA512_256Init(PHP_SHA512_CTX * context) in PHP_SHA512_256Init()
647 PHP_HASH_API void PHP_SHA512_224Init(PHP_SHA512_CTX * context) in PHP_SHA512_224Init()
706 PHP_HASH_API void PHP_SHA512Final(unsigned char digest[64], PHP_SHA512_CTX * context) in PHP_SHA512Final()
[all …]
H A Dhash_tiger.c177 PHP_HASH_API void PHP_3TIGERInit(PHP_TIGER_CTX *context) in PHP_3TIGERInit()
185 PHP_HASH_API void PHP_4TIGERInit(PHP_TIGER_CTX *context) in PHP_4TIGERInit()
194 PHP_HASH_API void PHP_TIGERUpdate(PHP_TIGER_CTX *context, const unsigned char *input, size_t len) in PHP_TIGERUpdate()
221 PHP_HASH_API void PHP_TIGER128Final(unsigned char digest[16], PHP_TIGER_CTX *context) in PHP_TIGER128Final()
228 PHP_HASH_API void PHP_TIGER160Final(unsigned char digest[20], PHP_TIGER_CTX *context) in PHP_TIGER160Final()
235 PHP_HASH_API void PHP_TIGER192Final(unsigned char digest[24], PHP_TIGER_CTX *context) in PHP_TIGER192Final()
H A Dhash_md.c188 PHP_HASH_API void PHP_MD4Init(PHP_MD4_CTX * context) in PHP_MD4Init()
205 PHP_HASH_API void PHP_MD4Update(PHP_MD4_CTX * context, const unsigned char *input, size_t inputLen) in PHP_MD4Update()
244 PHP_HASH_API void PHP_MD4Final(unsigned char digest[16], PHP_MD4_CTX * context) in PHP_MD4Final()
290 PHP_HASH_API void PHP_MD2Init(PHP_MD2_CTX *context) in PHP_MD2Init()
318 PHP_HASH_API void PHP_MD2Update(PHP_MD2_CTX *context, const unsigned char *buf, size_t len) in PHP_MD2Update()
349 PHP_HASH_API void PHP_MD2Final(unsigned char output[16], PHP_MD2_CTX *context) in PHP_MD2Final()
H A Dhash_ripemd.c87 PHP_HASH_API void PHP_RIPEMD128Init(PHP_RIPEMD128_CTX * context) in PHP_RIPEMD128Init()
102 PHP_HASH_API void PHP_RIPEMD256Init(PHP_RIPEMD256_CTX * context) in PHP_RIPEMD256Init()
121 PHP_HASH_API void PHP_RIPEMD160Init(PHP_RIPEMD160_CTX * context) in PHP_RIPEMD160Init()
137 PHP_HASH_API void PHP_RIPEMD320Init(PHP_RIPEMD320_CTX * context) in PHP_RIPEMD320Init()
272 PHP_HASH_API void PHP_RIPEMD128Update(PHP_RIPEMD128_CTX * context, const unsigned char *input, size… in PHP_RIPEMD128Update()
370 PHP_HASH_API void PHP_RIPEMD256Update(PHP_RIPEMD256_CTX * context, const unsigned char *input, size… in PHP_RIPEMD256Update()
469 PHP_HASH_API void PHP_RIPEMD160Update(PHP_RIPEMD160_CTX * context, const unsigned char *input, size… in PHP_RIPEMD160Update()
640 PHP_HASH_API void PHP_RIPEMD128Final(unsigned char digest[16], PHP_RIPEMD128_CTX * context) in PHP_RIPEMD128Final()
677 PHP_HASH_API void PHP_RIPEMD256Final(unsigned char digest[32], PHP_RIPEMD256_CTX * context) in PHP_RIPEMD256Final()
714 PHP_HASH_API void PHP_RIPEMD160Final(unsigned char digest[20], PHP_RIPEMD160_CTX * context) in PHP_RIPEMD160Final()
[all …]
H A Dhash_haval.c256 PHP_HASH_API void PHP_##p##HAVAL##b##Init(PHP_HAVAL_CTX *context) \
281 PHP_HASH_API void PHP_HAVALUpdate(PHP_HAVAL_CTX *context, const unsigned char *input, size_t inputL… in PHP_HAVALUpdate()
318 PHP_HASH_API void PHP_HAVAL128Final(unsigned char *digest, PHP_HAVAL_CTX * context) in PHP_HAVAL128Final()
371 PHP_HASH_API void PHP_HAVAL160Final(unsigned char *digest, PHP_HAVAL_CTX * context) in PHP_HAVAL160Final()
424 PHP_HASH_API void PHP_HAVAL192Final(unsigned char *digest, PHP_HAVAL_CTX * context) in PHP_HAVAL192Final()
463 PHP_HASH_API void PHP_HAVAL224Final(unsigned char *digest, PHP_HAVAL_CTX * context) in PHP_HAVAL224Final()
503 PHP_HASH_API void PHP_HAVAL256Final(unsigned char *digest, PHP_HAVAL_CTX * context) in PHP_HAVAL256Final()
H A Dhash_snefru.c131 PHP_HASH_API void PHP_SNEFRUInit(PHP_SNEFRU_CTX *context) in PHP_SNEFRUInit()
138 PHP_HASH_API void PHP_SNEFRUUpdate(PHP_SNEFRU_CTX *context, const unsigned char *input, size_t len) in PHP_SNEFRUUpdate()
170 PHP_HASH_API void PHP_SNEFRUFinal(unsigned char digest[32], PHP_SNEFRU_CTX *context) in PHP_SNEFRUFinal()
H A Dhash_gost.c238 PHP_HASH_API void PHP_GOSTInit(PHP_GOST_CTX *context) in PHP_GOSTInit()
244 PHP_HASH_API void PHP_GOSTInitCrypto(PHP_GOST_CTX *context) in PHP_GOSTInitCrypto()
252 PHP_HASH_API void PHP_GOSTUpdate(PHP_GOST_CTX *context, const unsigned char *input, size_t len) in PHP_GOSTUpdate()
284 PHP_HASH_API void PHP_GOSTFinal(unsigned char digest[32], PHP_GOST_CTX *context) in PHP_GOSTFinal()

Completed in 60 milliseconds

12