ASCON Suite
|
#include <ascon/permutation.h>
#include "ascon-select-backend.h"
#include "ascon-util.h"
#include <string.h>
#include "ascon-sliced32.h"
Go to the source code of this file.
Macros | |
#define | ascon_separator(state) ((state)->W[8] ^= 0x01) |
#define | ascon_pad(state, offset) |
#define | ascon_absorb_8(state, data, offset) ascon_absorb_sliced((state), (data), (offset) / 8) |
#define | ascon_absorb_16(state, data, offset) |
#define | ascon_absorb_partial(state, data, offset, count) ascon_add_bytes((state), (data), (offset), (count)) |
#define | ascon_squeeze_8(state, data, offset) ascon_squeeze_sliced((state), (data), (offset) / 8) |
#define | ascon_squeeze_16(state, data, offset) |
#define | ascon_squeeze_partial(state, data, offset, count) ascon_extract_bytes((state), (data), (offset), (count)) |
#define | ascon_encrypt_8(state, dest, src, offset) ascon_encrypt_sliced((state), (dest), (src), (offset) / 8) |
#define | ascon_encrypt_16(state, dest, src, offset) |
#define | ascon_encrypt_partial(state, dest, src, offset, count) |
#define | ascon_decrypt_8(state, dest, src, offset) ascon_decrypt_sliced((state), (dest), (src), (offset) / 8) |
#define | ascon_decrypt_16(state, dest, src, offset) |
#define | ascon_decrypt_partial(state, dest, src, offset, count) ascon_extract_and_overwrite_bytes((state), (src), (dest), (offset), (count)) |
#define | ascon_backend_init(state) do { ; } while (0) |
#define | ascon_backend_free(state) do { ; } while (0) |
Definition at line 50 of file ascon-util-snp.h.
#define ascon_absorb_8 | ( | state, | |
data, | |||
offset | |||
) | ascon_absorb_sliced((state), (data), (offset) / 8) |
Definition at line 48 of file ascon-util-snp.h.
#define ascon_absorb_partial | ( | state, | |
data, | |||
offset, | |||
count | |||
) | ascon_add_bytes((state), (data), (offset), (count)) |
Definition at line 55 of file ascon-util-snp.h.
#define ascon_backend_free | ( | state | ) | do { ; } while (0) |
Definition at line 260 of file ascon-util-snp.h.
#define ascon_backend_init | ( | state | ) | do { ; } while (0) |
Definition at line 248 of file ascon-util-snp.h.
#define ascon_decrypt_16 | ( | state, | |
dest, | |||
src, | |||
offset | |||
) |
Definition at line 83 of file ascon-util-snp.h.
#define ascon_decrypt_8 | ( | state, | |
dest, | |||
src, | |||
offset | |||
) | ascon_decrypt_sliced((state), (dest), (src), (offset) / 8) |
Definition at line 81 of file ascon-util-snp.h.
#define ascon_decrypt_partial | ( | state, | |
dest, | |||
src, | |||
offset, | |||
count | |||
) | ascon_extract_and_overwrite_bytes((state), (src), (dest), (offset), (count)) |
Definition at line 88 of file ascon-util-snp.h.
#define ascon_encrypt_16 | ( | state, | |
dest, | |||
src, | |||
offset | |||
) |
Definition at line 70 of file ascon-util-snp.h.
#define ascon_encrypt_8 | ( | state, | |
dest, | |||
src, | |||
offset | |||
) | ascon_encrypt_sliced((state), (dest), (src), (offset) / 8) |
Definition at line 68 of file ascon-util-snp.h.
#define ascon_encrypt_partial | ( | state, | |
dest, | |||
src, | |||
offset, | |||
count | |||
) |
Definition at line 75 of file ascon-util-snp.h.
#define ascon_pad | ( | state, | |
offset | |||
) |
Definition at line 44 of file ascon-util-snp.h.
Definition at line 43 of file ascon-util-snp.h.
#define ascon_squeeze_8 | ( | state, | |
data, | |||
offset | |||
) | ascon_squeeze_sliced((state), (data), (offset) / 8) |
Definition at line 58 of file ascon-util-snp.h.
#define ascon_squeeze_partial | ( | state, | |
data, | |||
offset, | |||
count | |||
) | ascon_extract_bytes((state), (data), (offset), (count)) |
Definition at line 65 of file ascon-util-snp.h.