#include "php_hash.h"
#include "php_hash_md.h"
Go to the source code of this file.
|
#define | MD4_F(x, y, z) |
|
#define | MD4_G(x, y, z) |
|
#define | MD4_H(x, y, z) |
|
#define | ROTL32(s, v) |
|
#define | MD4_R1(a, b, c, d, k, s) |
|
#define | MD4_R2(a, b, c, d, k, s) |
|
#define | MD4_R3(a, b, c, d, k, s) |
|
◆ MD4_F
Value:((z) ^ ((x) & ((y) ^ (z))))
Definition at line 109 of file hash_md.c.
◆ MD4_G
Value:(((x) & ((y) | (z))) | ((y) & (z)))
Definition at line 110 of file hash_md.c.
◆ MD4_H
◆ MD4_R1
◆ MD4_R2
◆ MD4_R3
◆ ROTL32
Value:(((
v) << (
s)) | ((
v) >> (32 - (
s))))
Definition at line 113 of file hash_md.c.
◆ PHP_MD2Final()
◆ PHP_MD2InitArgs()
◆ PHP_MD2Update()
◆ PHP_MD4Final()
◆ PHP_MD4InitArgs()
◆ PHP_MD4Update()
◆ php_hash_md2_ops
Initial value:= {
"md2",
php_md2_unserialize,
16,
16,
1
}
PHP_HASH_API zend_result php_hash_serialize(const php_hashcontext_object *hash, zend_long *magic, zval *zv)
PHP_HASH_API zend_result php_hash_copy(const void *ops, const void *orig_context, void *dest_context)
PHP_HASH_API void PHP_MD2InitArgs(PHP_MD2_CTX *context, ZEND_ATTRIBUTE_UNUSED HashTable *args)
PHP_HASH_API void PHP_MD2Update(PHP_MD2_CTX *context, const unsigned char *buf, size_t len)
PHP_HASH_API void PHP_MD2Final(unsigned char output[16], PHP_MD2_CTX *context)
void(* php_hash_final_func_t)(unsigned char *digest, void *context)
void(* php_hash_init_func_t)(void *context, HashTable *args)
void(* php_hash_update_func_t)(void *context, const unsigned char *buf, size_t count)
Definition at line 52 of file hash_md.c.
◆ php_hash_md4_ops
Initial value:= {
"md4",
16,
64,
1
}
PHP_HASH_API int php_hash_unserialize(php_hashcontext_object *hash, zend_long magic, const zval *zv)
PHP_HASH_API void PHP_MD4Update(PHP_MD4_CTX *context, const unsigned char *input, size_t inputLen)
PHP_HASH_API void PHP_MD4InitArgs(PHP_MD4_CTX *context, ZEND_ATTRIBUTE_UNUSED HashTable *args)
PHP_HASH_API void PHP_MD4Final(unsigned char digest[16], PHP_MD4_CTX *context)
Definition at line 35 of file hash_md.c.
◆ php_hash_md5_ops
Initial value:= {
"md5",
16,
64,
1
}
PHPAPI void PHP_MD5InitArgs(PHP_MD5_CTX *ctx, ZEND_ATTRIBUTE_UNUSED HashTable *args)
PHPAPI void PHP_MD5Final(unsigned char *result, PHP_MD5_CTX *ctx)
PHPAPI void PHP_MD5Update(PHP_MD5_CTX *ctx, const void *data, size_t size)
Definition at line 20 of file hash_md.c.