#include "php.h"
#include "sha1.h"
#include "md5.h"
Go to the source code of this file.
|
#define | F(x, y, z) |
|
#define | G(x, y, z) |
|
#define | H(x, y, z) |
|
#define | I(x, y, z) |
|
#define | ROTATE_LEFT(x, n) |
|
#define | W(i) |
|
#define | FF(a, b, c, d, e, w) |
|
#define | GG(a, b, c, d, e, w) |
|
#define | HH(a, b, c, d, e, w) |
|
#define | II(a, b, c, d, e, w) |
|
Value:((z) ^ ((x) & ((y) ^ (z))))
Definition at line 114 of file sha1.c.
◆ FF
Value: { \
(e) +=
F ((b), (c), (d)) + (w) + (uint32_t)(0x5A827999); \
}
#define ROTATE_LEFT(x, n)
Definition at line 130 of file sha1.c.
Value:
Definition at line 115 of file sha1.c.
◆ GG
Value: { \
(e) +=
G ((b), (c), (d)) + (w) + (uint32_t)(0x6ED9EBA1); \
}
Definition at line 135 of file sha1.c.
Value:(((x) & (y)) | ((z) & ((x) | (y))))
Definition at line 116 of file sha1.c.
◆ HH
Value: { \
(e) +=
H ((b), (c), (d)) + (w) + (uint32_t)(0x8F1BBCDC); \
}
Definition at line 140 of file sha1.c.
Value:
Definition at line 117 of file sha1.c.
◆ II
Value: { \
(e) +=
I ((b), (c), (d)) + (w) + (uint32_t)(0xCA62C1D6); \
}
Definition at line 145 of file sha1.c.
◆ ROTATE_LEFT
Value:(((x) << (
n)) | ((x) >> (32-(
n))))
Definition at line 121 of file sha1.c.
Value: ( tmp=x[(i-3)&15]^x[(i-8)&15]^x[(i-14)&15]^x[i&15], \
Definition at line 125 of file sha1.c.
◆ make_sha1_digest()
PHPAPI void make_sha1_digest |
( |
char * | sha1str, |
|
|
const unsigned char * | digest ) |
◆ PHP_FUNCTION() [1/2]
◆ PHP_FUNCTION() [2/2]
◆ PHP_SHA1Final()
◆ PHP_SHA1InitArgs()
◆ PHP_SHA1Update()