Data Structures | Functions

MMH.h File Reference

A brief file description. More...

#include "ink_code.h"
#include "ink_defs.h"
#include "CryptoHash.h"
Include dependency graph for MMH.h:
This graph shows which files directly or indirectly include this file:

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)

Detailed Description

A brief file description.

License

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.


Function Documentation

int inkcoreapi ink_code_incr_MMH_final ( uint8_t *  sixteen_byte_hash_pointer,
MMH_CTX context 
)
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 
)
int inkcoreapi ink_code_MMH ( unsigned char *  input,
int  len,
unsigned char *  sixteen_byte_hash 
)