~ubuntu-branches/debian/sid/botan/sid

« back to all changes in this revision

Viewing changes to src/lib/modes/aead/gcm/clmul/clmul.h

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2018-03-01 22:23:25 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20180301222325-7p7vc45gu3hta34d
Tags: 2.4.0-2
* Don't remove .doctrees from the manual if it doesn't exist.
* Don't specify parallel to debhelper.

Show diffs side-by-side

added added

removed removed

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