A brief file description. More...
#include "ink_code.h"
#include "ink_defs.h"
#include "CryptoHash.h"
Go to the source code of this file.
Data Structures | |
struct | MMH_CTX |
class | MMHContext |
MMH will return different values on big-endian and little-endian machines. More... | |
Functions | |
int inkcoreapi | ink_code_incr_MMH_init (MMH_CTX *context) |
int inkcoreapi | ink_code_incr_MMH_update (MMH_CTX *context, const char *input, int input_length) |
int inkcoreapi | ink_code_incr_MMH_final (uint8_t *sixteen_byte_hash_pointer, MMH_CTX *context) |
int inkcoreapi | ink_code_MMH (unsigned char *input, int len, unsigned char *sixteen_byte_hash) |
A brief file description.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file MMH.h.
int inkcoreapi ink_code_incr_MMH_final | ( | uint8_t * | sixteen_byte_hash_pointer, | |
MMH_CTX * | context | |||
) |
Definition at line 419 of file MMH.cc.
References _memset(), MMH_CTX::blocks, MMH_CTX::buffer, MMH_CTX::buffer_size, MMH_update(), and MMH_CTX::state.
Referenced by MMHContext::finalize(), and ink_code_MMH().
int inkcoreapi ink_code_incr_MMH_init | ( | MMH_CTX * | context | ) |
Definition at line 192 of file MMH.cc.
References MMH_CTX::blocks, MMH_CTX::buffer_size, MMH_x, and MMH_CTX::state.
Referenced by ink_code_MMH(), and MMHContext::MMHContext().
int inkcoreapi ink_code_incr_MMH_update | ( | MMH_CTX * | context, | |
const char * | input, | |||
int | input_length | |||
) |
Definition at line 321 of file MMH.cc.
References MMH_CTX::buffer, MMH_CTX::buffer_size, ink_assert, memcpy, MMH_update(), MMH_updateb1(), MMH_updateb2(), MMH_updateb3(), MMH_updatel1(), MMH_updatel2(), and MMH_updatel3().
Referenced by ink_code_MMH(), and MMHContext::update().
int inkcoreapi ink_code_MMH | ( | unsigned char * | input, | |
int | len, | |||
unsigned char * | sixteen_byte_hash | |||
) |
Definition at line 204 of file MMH.cc.
References ink_code_incr_MMH_final(), ink_code_incr_MMH_init(), and ink_code_incr_MMH_update().