[mirror] Crypto stuff. Don't use.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
odzhan f5c1beecb6 upd 2 years ago
..
block upd 2 years ago
doc upd 2 years ago
old upd 2 years ago
ref upd 2 years ago
Makefile upd 2 years ago
README.md upd 2 years ago
README.txt upd 2 years ago
chaskey.c upd 2 years ago
chaskey.html upd 2 years ago
test upd 2 years ago
test.c upd 2 years ago

README.md

About

Chaskey Message Authentication Code

  • chaskey.c

Size optiimized functions to generate MAC from message

void chas_setkey(void *out, void *in);
void chas_mac(uint8_t *tag, uint8_t *msg, uint32_t msglen, uint8_t *key);
  • cx.asm

x86 assembly code based on chaskey.c using stdcall convention

  • cxx.asm

x86-64 assembly based on chaskey.c using Microsoft fastcall convention.

Code Sizes

cpu setkey + mac
x86 229
x86-64 132

Author

@odzhancode

3/10/2017 2:28:46 PM