all repos — TinyCrypT @ a2a1d74db0953d9f68d7cd1e8d62d50f0ac3c0d0

Short and sweet classical cryptographic primitives

Reorganizations
Juniper Beatitudes [email protected]
Tue, 06 Jan 2026 20:53:42 -0600
commit

a2a1d74db0953d9f68d7cd1e8d62d50f0ac3c0d0

parent

e30bd9d8ef90e3700513e6860228878ea8d1f267

M meson.buildmeson.build

@@ -3,26 +3,26 @@

incdir = include_directories('tinycrypt') sources = [ - 'tinycrypt/kangarootwelve128.c', - 'tinycrypt/sha2.c', + 'tinycrypt/portable/kangarootwelve128.c', + 'tinycrypt/portable/sha2.c', ] if meson.get_compiler('c').has_define('__SIZEOF_INT128__') - sources += 'tinycrypt/ed25519_64bit.c' + sources += 'tinycrypt/x86_64_aarch64/ed25519.c' else - sources += 'tinycrypt/ed25519.c' + sources += 'tinycrypt/portable/ed25519.c' endif if meson.get_compiler('c').has_define('__SIZEOF_INT128__') - sources += 'tinycrypt/chacha20_poly1305_64bit.c' + sources += 'tinycrypt/x86_64_aarch64/chacha20_poly1305.c' else - sources += 'tinycrypt/chacha20_poly1305.c' + sources += 'tinycrypt/portable/chacha20_poly1305.c' endif if meson.get_compiler('c').has_define('__SIZEOF_INT128__') - sources += 'tinycrypt/x25519_64bit.c' + sources += 'tinycrypt/x86_64_aarch64/x25519.c' else - sources += 'tinycrypt/x25519.c' + sources += 'tinycrypt/portable/x25519.c' endif build_args = [
M tinycrypt/ed25519_64bit.ctinycrypt/x86_64_aarch64/ed25519.c

@@ -792,7 +792,7 @@ }

#ifndef TCT_LOWMEM -#include "tinycrypt/ed25519_precompute_64bit.h" +#include "tinycrypt/x86_64_aarch64/ed25519_precompute.h" static void xB (const uint64_t *k, uint64_t *x, uint64_t *y, uint64_t *z, uint64_t *t)