php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
hash_joaat.c File Reference
#include "php_hash.h"
#include "php_hash_joaat.h"

Go to the source code of this file.

Functions

PHP_HASH_API void PHP_JOAATInit (PHP_JOAAT_CTX *context, ZEND_ATTRIBUTE_UNUSED HashTable *args)
 
PHP_HASH_API void PHP_JOAATUpdate (PHP_JOAAT_CTX *context, const unsigned char *input, size_t inputLen)
 
PHP_HASH_API void PHP_JOAATFinal (unsigned char digest[4], PHP_JOAAT_CTX *context)
 

Variables

const php_hash_ops php_hash_joaat_ops
 

Function Documentation

◆ PHP_JOAATFinal()

PHP_HASH_API void PHP_JOAATFinal ( unsigned char digest[4],
PHP_JOAAT_CTX * context )

Definition at line 49 of file hash_joaat.c.

◆ PHP_JOAATInit()

PHP_HASH_API void PHP_JOAATInit ( PHP_JOAAT_CTX * context,
ZEND_ATTRIBUTE_UNUSED HashTable * args )

Definition at line 39 of file hash_joaat.c.

◆ PHP_JOAATUpdate()

PHP_HASH_API void PHP_JOAATUpdate ( PHP_JOAAT_CTX * context,
const unsigned char * input,
size_t inputLen )

Definition at line 44 of file hash_joaat.c.

Variable Documentation

◆ php_hash_joaat_ops

const php_hash_ops php_hash_joaat_ops
Initial value:
= {
"joaat",
4,
4,
sizeof(PHP_JOAAT_CTX),
0
}
PHP_HASH_API zend_result php_hash_serialize(const php_hashcontext_object *hash, zend_long *magic, zval *zv)
Definition hash.c:334
PHP_HASH_API zend_result php_hash_copy(const void *ops, const void *orig_context, void *dest_context)
Definition hash.c:124
PHP_HASH_API int php_hash_unserialize(php_hashcontext_object *hash, zend_long magic, const zval *zv)
Definition hash.c:345
PHP_HASH_API void PHP_JOAATInit(PHP_JOAAT_CTX *context, ZEND_ATTRIBUTE_UNUSED HashTable *args)
Definition hash_joaat.c:39
PHP_HASH_API void PHP_JOAATUpdate(PHP_JOAAT_CTX *context, const unsigned char *input, size_t inputLen)
Definition hash_joaat.c:44
PHP_HASH_API void PHP_JOAATFinal(unsigned char digest[4], PHP_JOAAT_CTX *context)
Definition hash_joaat.c:49
void(* php_hash_final_func_t)(unsigned char *digest, void *context)
Definition php_hash.h:36
void(* php_hash_init_func_t)(void *context, HashTable *args)
Definition php_hash.h:34
void(* php_hash_update_func_t)(void *context, const unsigned char *buf, size_t count)
Definition php_hash.h:35
#define PHP_JOAAT_SPEC

Definition at line 24 of file hash_joaat.c.