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

Go to the source code of this file.

Data Structures

struct  PHP_SHA1_CTX
 

Macros

#define PHP_SHA1_SPEC   "l5l2b64."
 
#define PHP_SHA1Init(ctx)
 

Functions

PHPAPI void PHP_SHA1InitArgs (PHP_SHA1_CTX *, ZEND_ATTRIBUTE_UNUSED HashTable *)
 
PHPAPI void PHP_SHA1Update (PHP_SHA1_CTX *, const unsigned char *, size_t)
 
PHPAPI void PHP_SHA1Final (unsigned char[20], PHP_SHA1_CTX *)
 
PHPAPI void make_sha1_digest (char *sha1str, const unsigned char *digest)
 

Macro Definition Documentation

◆ PHP_SHA1_SPEC

#define PHP_SHA1_SPEC   "l5l2b64."

Definition at line 26 of file sha1.h.

◆ PHP_SHA1Init

#define PHP_SHA1Init ( ctx)
Value:
#define NULL
Definition gdcache.h:45
PHPAPI void PHP_SHA1InitArgs(PHP_SHA1_CTX *context, ZEND_ATTRIBUTE_UNUSED HashTable *args)
Definition sha1.c:155

Definition at line 28 of file sha1.h.

Function Documentation

◆ make_sha1_digest()

PHPAPI void make_sha1_digest ( char * sha1str,
const unsigned char * digest )

Definition at line 24 of file sha1.c.

◆ PHP_SHA1Final()

PHPAPI void PHP_SHA1Final ( unsigned char digest[20],
PHP_SHA1_CTX * context )

Definition at line 215 of file sha1.c.

◆ PHP_SHA1InitArgs()

PHPAPI void PHP_SHA1InitArgs ( PHP_SHA1_CTX * context,
ZEND_ATTRIBUTE_UNUSED HashTable * args )

Definition at line 155 of file sha1.c.

◆ PHP_SHA1Update()

PHPAPI void PHP_SHA1Update ( PHP_SHA1_CTX * context,
const unsigned char * input,
size_t inputLen )

Definition at line 173 of file sha1.c.