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.
- Parameters
-
| 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
- Parameters
-
| context | The SHA context to initialize |
Update the SHA digest
- Parameters
-
| 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
- Parameters
-
| 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
- Parameters
-
| 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 |
- Returns
- The hash value as a 64bit unsigned integer
< use pool pre cleanup
Definition at line 175 of file getuuid.c.