aboutgitcodebugslistschat
path: root/siphash.h
blob: de04c56bf61b4fab6761fc4e718ddecc92c28f44 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                            



                                              


                 
                                                          
                                                           
                                                           

                                                           

                      
/* SPDX-License-Identifier: GPL-2.0-or-later
 * Copyright (c) 2021 Red Hat GmbH
 * Author: Stefano Brivio <sbrivio@redhat.com>
 */

#ifndef SIPHASH_H
#define SIPHASH_H

uint64_t siphash_8b(const uint8_t *in, const uint64_t *k);
uint64_t siphash_12b(const uint8_t *in, const uint64_t *k);
uint64_t siphash_20b(const uint8_t *in, const uint64_t *k);
uint64_t siphash_32b(const uint8_t *in, const uint64_t *k);
uint64_t siphash_36b(const uint8_t *in, const uint64_t *k);

#endif /* SIPHASH_H */