Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121027806
extra_api.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jul 8, 09:03
Size
621 B
Mime Type
text/x-c
Expires
Thu, Jul 10, 09:03 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27273601
Attached To
R10499 Energy Analysis of Lightweight AEAD Circuit
extra_api.h
View Options
/* Definitions and parameters complementary to api.h */
#ifndef EXTRA_API_H
#define EXTRA_API_H
#include "api.h"
#define CRYPTO_BLOCKSIZE 16
#define CRYPTO_TWEAKSIZE 20
#define CRYPTO_TWEAKEYSIZE (CRYPTO_KEYBYTES+CRYPTO_TWEAKSIZE)
//
#define TWEAKEY_BLOCKSIZE_RATIO ((CRYPTO_TWEAKEYSIZE % CRYPTO_BLOCKSIZE == 0) ? ((int) (CRYPTO_TWEAKEYSIZE/CRYPTO_BLOCKSIZE)) : ((int) (CRYPTO_TWEAKEYSIZE/CRYPTO_BLOCKSIZE) + 1))
/* Number of tweakey states */
#define CRYPTO_BLOCKSIZE_16
#define CRYPTO_NBROUNDS_BEFORE 25
// Number of rounds before forking
#define CRYPTO_NBROUNDS_AFTER 31
// Number of rounds after forking
#endif
Event Timeline
Log In to Comment