Introduce hashes_t; not finishe yet

This commit is contained in:
jsteube
2016-09-16 17:01:18 +02:00
parent 7ce2f2ff19
commit a0f6ed6832
69 changed files with 2018 additions and 1938 deletions

View File

@@ -6,18 +6,6 @@
#ifndef _CPU_AES_H
#define _CPU_AES_H
/* AES context. */
typedef struct aes_context
{
u32 bits;
u32 rek[60];
u32 rdk[60];
} aes_context_t;
typedef aes_context_t aes_ctx;
#define AES_KEY aes_ctx
void AES_set_encrypt_key (const u8 *key, int keysize, AES_KEY *aes_key);
void AES_set_decrypt_key (const u8 *key, int keysize, AES_KEY *aes_key);