|
Apache HTTPD
|
#include <stdio.h>#include "apr.h"#include "apr_uuid.h"#include "apr_errno.h"#include "apr_lib.h"Go to the source code of this file.
Functions | |
| APU_DECLARE (void) | |
| Computes SipHash-2-4, producing a 64bit (APR_SIPHASH_DSIZE) hash from a message and a 128bit (APR_SIPHASH_KSIZE) secret key, into a possibly unaligned buffer (using the little endian representation as defined by the authors for interoperabilty) usable as a MAC. | |
| static unsigned char | parse_hexpair (const char *s) |
| APU_DECLARE (apr_status_t) | |
| APU_DECLARE | ( | int | ) |
Most DBM libraries take a POSIX mode for creating files. Don't trust the mode_t type, some platforms may not support it, int is safe.
< Shared lock. More than one process or thread can hold a shared lock at any given time. Essentially, this is a "read lock", preventing writers from establishing an exclusive lock.
| APU_DECLARE | ( | void | ) |
Computes SipHash-2-4, producing a 64bit (APR_SIPHASH_DSIZE) hash from a message and a 128bit (APR_SIPHASH_KSIZE) secret key, into a possibly unaligned buffer (using the little endian representation as defined by the authors for interoperabilty) usable as a MAC.
Return APR-util's version information information in a numeric form.
| pvsn | Pointer to a version structure for returning the version information. |
Computes SipHash-4-8, producing a 64bit (APR_SIPHASH_DSIZE) hash from a message and a 128bit (APR_SIPHASH_KSIZE) secret key, into a possibly unaligned buffer (using the little endian representation as defined by the authors for interoperabilty) usable as a MAC.
Initialize the SHA digest
| context | The SHA context to initialize |
Update the SHA digest
| context | The SHA1 context to update |
| input | The buffer to add to the SHA digest |
| inputLen | The length of the input buffer |
Update the SHA digest with binary data
| context | The SHA1 context to update |
| input | The buffer to add to the SHA digest |
| inputLen | The length of the input buffer |
Finish computing the SHA digest
| digest | the output buffer in which to store the digest |
| context | The context to finalize |
| out | The output buffer (or MAC) |
| src | The message |
| len | The length of the message |
| key | The secret key |
< use pool pre cleanup