blob: 17e61097f99214d5ab5c6321dd89bdc76e90f838 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*
* PMULL hook
* (C) 2017 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#ifndef BOTAN_GCM_PMULL_H_
#define BOTAN_GCM_PMULL_H_
#include <botan/types.h>
namespace Botan {
void gcm_pmull_precompute(const uint8_t H[16], uint64_t H_pow[4*2]);
void gcm_multiply_pmull(uint8_t x[16],
const uint64_t H[8],
const uint8_t input[], size_t blocks);
}
#endif
|