php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_hash_crc32.h File Reference

Go to the source code of this file.

Data Structures

struct  PHP_CRC32_CTX
 

Macros

#define PHP_CRC32_SPEC   "l."
 

Functions

PHP_HASH_API void PHP_CRC32Init (PHP_CRC32_CTX *context, ZEND_ATTRIBUTE_UNUSED HashTable *args)
 
PHP_HASH_API void PHP_CRC32Update (PHP_CRC32_CTX *context, const unsigned char *input, size_t len)
 
PHP_HASH_API void PHP_CRC32BUpdate (PHP_CRC32_CTX *context, const unsigned char *input, size_t len)
 
PHP_HASH_API void PHP_CRC32CUpdate (PHP_CRC32_CTX *context, const unsigned char *input, size_t len)
 
PHP_HASH_API void PHP_CRC32LEFinal (unsigned char digest[4], PHP_CRC32_CTX *context)
 
PHP_HASH_API void PHP_CRC32BEFinal (unsigned char digest[4], PHP_CRC32_CTX *context)
 
PHP_HASH_API zend_result PHP_CRC32Copy (const php_hash_ops *ops, const PHP_CRC32_CTX *orig_context, PHP_CRC32_CTX *copy_context)
 

Macro Definition Documentation

◆ PHP_CRC32_SPEC

#define PHP_CRC32_SPEC   "l."

Definition at line 25 of file php_hash_crc32.h.

Function Documentation

◆ PHP_CRC32BEFinal()

PHP_HASH_API void PHP_CRC32BEFinal ( unsigned char digest[4],
PHP_CRC32_CTX * context )

Definition at line 77 of file hash_crc32.c.

◆ PHP_CRC32BUpdate()

PHP_HASH_API void PHP_CRC32BUpdate ( PHP_CRC32_CTX * context,
const unsigned char * input,
size_t len )

Definition at line 41 of file hash_crc32.c.

◆ PHP_CRC32Copy()

PHP_HASH_API zend_result PHP_CRC32Copy ( const php_hash_ops * ops,
const PHP_CRC32_CTX * orig_context,
PHP_CRC32_CTX * copy_context )

Definition at line 87 of file hash_crc32.c.

◆ PHP_CRC32CUpdate()

PHP_HASH_API void PHP_CRC32CUpdate ( PHP_CRC32_CTX * context,
const unsigned char * input,
size_t len )

Definition at line 54 of file hash_crc32.c.

◆ PHP_CRC32Init()

PHP_HASH_API void PHP_CRC32Init ( PHP_CRC32_CTX * context,
ZEND_ATTRIBUTE_UNUSED HashTable * args )

Definition at line 23 of file hash_crc32.c.

◆ PHP_CRC32LEFinal()

PHP_HASH_API void PHP_CRC32LEFinal ( unsigned char digest[4],
PHP_CRC32_CTX * context )

Definition at line 67 of file hash_crc32.c.

◆ PHP_CRC32Update()

PHP_HASH_API void PHP_CRC32Update ( PHP_CRC32_CTX * context,
const unsigned char * input,
size_t len )

Definition at line 28 of file hash_crc32.c.