Commit c18c985f by bg nerilex

replacing old pi16cipher-asm with new one

parent f8e6561a
# Makefile for pi-cipher
NAME := PICIPHER_C2
TYPE := AEAD_CIPHER
DIR := algorithm/pi-cipher
INCDIR := algorithm/arcfour
OBJ := pi16cipher.o pi16cipher-asm2.o pi16cipher-aux-asm.o pi32cipher.o pi64cipher.o
TESTBIN := main-picipher-test.o arcfour-asm.o $(CLI_STD) performance_test.o
......@@ -82,9 +82,7 @@ void testrun_pi16(void)
uint8_t crypt[16 + 19 + 16];
size_t crypt_len, msg_len = sizeof(msg);
int v;
// printf("crypt = %p, crypt_len = %d, tag = %p, tag_len = %d\n", crypt, crypt_len, tag, tag_len);
pi16_encrypt_simple(crypt, &crypt_len, msg, sizeof(msg), ad, sizeof(ad), nsec, npub, sizeof(npub), key, sizeof(key));
// printf("crypt = %p, crypt_len = %d, tag = %p, tag_len = %d\n", crypt, crypt_len, tag, tag_len);
DUMP(key);
DUMP(msg);
DUMP(ad);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment