Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Merge the crypto tree to pull in vmx ghash fix.
This commit is contained in:
23
include/crypto/ghash.h
Normal file
23
include/crypto/ghash.h
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Common values for GHASH algorithms
|
||||
*/
|
||||
|
||||
#ifndef __CRYPTO_GHASH_H__
|
||||
#define __CRYPTO_GHASH_H__
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <crypto/gf128mul.h>
|
||||
|
||||
#define GHASH_BLOCK_SIZE 16
|
||||
#define GHASH_DIGEST_SIZE 16
|
||||
|
||||
struct ghash_ctx {
|
||||
struct gf128mul_4k *gf128;
|
||||
};
|
||||
|
||||
struct ghash_desc_ctx {
|
||||
u8 buffer[GHASH_BLOCK_SIZE];
|
||||
u32 bytes;
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user