| 95 | } |
| 96 | |
| 97 | int |
| 98 | ink_code_MMH(unsigned char *input, int len, unsigned char *sixteen_byte_hash) |
| 99 | { |
| 100 | MMH_CTX ctx; |
| 101 | ink_code_incr_MMH_init(&ctx); |
| 102 | ink_code_incr_MMH_update(&ctx, reinterpret_cast<const char *>(input), len); |
| 103 | ink_code_incr_MMH_final(sixteen_byte_hash, &ctx); |
| 104 | return 0; |
| 105 | } |
| 106 | |
| 107 | static inline void |
| 108 | MMH_update(MMH_CTX *ctx, unsigned char *ab) |
no test coverage detected