forked from teserakt-io/libe4
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
C89 comment translation, plus some fixes to C89-ize c25519-donna.
- Loading branch information
Showing
16 changed files
with
133 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
// aes256enc.h | ||
// 2018-07-01 Markku-Juhani O. Saarinen <markku@teserakt.io> | ||
// (c) 2018 Copyright Teserakt AG | ||
/* aes256enc.h */ | ||
/* 2018-07-01 Markku-Juhani O. Saarinen <markku@teserakt.io> */ | ||
/* (c) 2018 Copyright Teserakt AG */ | ||
|
||
#ifndef _AES256ENC_H_ | ||
#define _AES256ENC_H_ | ||
|
||
// expand 256-bit key. ek[] needs 240 bytes of storage | ||
/* expand 256-bit key. ek[] needs 240 bytes of storage */ | ||
#define AES256_EXPKEY_LEN 240 | ||
|
||
void aes256_enc_exp_key(void *ek, const void *key); | ||
|
||
// encrypt a block | ||
/* encrypt a block */ | ||
void aes256_encrypt_ecb(void *v, const void *ek); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
CC ?= clang | ||
CC ?= clang | ||
AR ?= ar | ||
ARFLAGS = rcs | ||
CFLAGS = -Wall -Werror -g -DE4_STORE_FILE -std=c89 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.