Botan  2.6.0
Crypto and TLS for C++11
pmull.h
Go to the documentation of this file.
1 /*
2 * PMULL hook
3 * (C) 2017 Jack Lloyd
4 *
5 * Botan is released under the Simplified BSD License (see license.txt)
6 */
7 
8 #ifndef BOTAN_GCM_PMULL_H_
9 #define BOTAN_GCM_PMULL_H_
10 
11 #include <botan/types.h>
12 
13 namespace Botan {
14 
15 void gcm_pmull_precompute(const uint8_t H[16], uint64_t H_pow[4*2]);
16 
17 void gcm_multiply_pmull(uint8_t x[16],
18  const uint64_t H[8],
19  const uint8_t input[], size_t blocks);
20 
21 }
22 
23 #endif
void gcm_multiply_pmull(uint8_t x[16], const uint64_t H64[8], const uint8_t input[], size_t blocks)
Definition: pmull.cpp:164
Definition: alg_id.cpp:13
void gcm_pmull_precompute(const uint8_t H_bytes[16], uint64_t H_pow[4 *2])
Definition: pmull.cpp:150