Blame crypto/siphash/siphash_local.h
|
Packit Service |
084de1 |
/*
|
|
Packit Service |
084de1 |
* Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
|
|
Packit Service |
084de1 |
*
|
|
Packit Service |
084de1 |
* Licensed under the OpenSSL license (the "License"). You may not use
|
|
Packit Service |
084de1 |
* this file except in compliance with the License. You can obtain a copy
|
|
Packit Service |
084de1 |
* in the file LICENSE in the source distribution or at
|
|
Packit Service |
084de1 |
* https://www.openssl.org/source/license.html
|
|
Packit Service |
084de1 |
*/
|
|
Packit Service |
084de1 |
|
|
Packit Service |
084de1 |
/* Based on https://131002.net/siphash C reference implementation */
|
|
Packit Service |
084de1 |
|
|
Packit Service |
084de1 |
struct siphash_st {
|
|
Packit Service |
084de1 |
uint64_t total_inlen;
|
|
Packit Service |
084de1 |
uint64_t v0;
|
|
Packit Service |
084de1 |
uint64_t v1;
|
|
Packit Service |
084de1 |
uint64_t v2;
|
|
Packit Service |
084de1 |
uint64_t v3;
|
|
Packit Service |
084de1 |
unsigned int len;
|
|
Packit Service |
084de1 |
int hash_size;
|
|
Packit Service |
084de1 |
int crounds;
|
|
Packit Service |
084de1 |
int drounds;
|
|
Packit Service |
084de1 |
unsigned char leavings[SIPHASH_BLOCK_SIZE];
|
|
Packit Service |
084de1 |
};
|