GitHub topics: constant-time
mxfactorial/geonum
geometric number library supporting unlimited dimensions with O(1) complexity
Language: Rust - Size: 490 KB - Last synced at: 3 days ago - Pushed at: 3 days ago - Stars: 3 - Forks: 0

thalespaiva/minal_mlkem
This repository contains the code and data associated with our paper "Tailorable codes for lattice-based KEMs with applications to compact ML-KEM instantiations", to appear in IACR TCHES 2025.
Language: C - Size: 3.17 MB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 0 - Forks: 0

jnk0le/cortexm-AES
high performance AES implementations optimized for cortex-m microcontrollers
Language: Assembly - Size: 632 KB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 41 - Forks: 4

dalek-cryptography/subtle
Pure-Rust traits and utilities for constant-time cryptographic implementations.
Language: Rust - Size: 367 KB - Last synced at: 5 days ago - Pushed at: 9 months ago - Stars: 269 - Forks: 90

sileneundula/libslug
libslug is the official library for cryptographic primitives used in slug20 including encryption, digital signatures, and certificates.
Language: Rust - Size: 164 KB - Last synced at: 7 days ago - Pushed at: 8 days ago - Stars: 1 - Forks: 0

paragonie/constant_time_encoding
Constant-Time Character Encoding in PHP Projects
Language: PHP - Size: 180 KB - Last synced at: 5 days ago - Pushed at: 10 months ago - Stars: 850 - Forks: 34

R-unic/better-queue
Simple O(1) queue implementation for Roblox
Language: Luau - Size: 124 KB - Last synced at: 9 days ago - Pushed at: 13 days ago - Stars: 0 - Forks: 0

bilibili/SMGo
Shang-Mi cipher library. Constant-time implementation of SM2 and SM4.
Language: Go - Size: 1.05 MB - Last synced at: 22 days ago - Pushed at: almost 2 years ago - Stars: 46 - Forks: 8

pavel-kirienko/o1heap
Constant-complexity deterministic memory allocator (heap) for hard real-time high-integrity embedded systems. Allocation takes ≈165 cycles on Cortex M4. There is very little activity because the project is finished and does not require further changes.
Language: C++ - Size: 6.39 MB - Last synced at: 20 days ago - Pushed at: about 1 year ago - Stars: 282 - Forks: 34

jedisct1/rust-ct-codecs
Constant-time hex and base64 codecs from libsodium reimplemented in Rust.
Language: Rust - Size: 23.4 KB - Last synced at: 17 days ago - Pushed at: 29 days ago - Stars: 14 - Forks: 0

phayes/sidefuzz
Fuzzer to automatically find side-channel (timing) vulnerabilities
Language: Rust - Size: 288 KB - Last synced at: 24 days ago - Pushed at: almost 4 years ago - Stars: 116 - Forks: 8

IronCoreLabs/gridiron
Rust finite field library with fixed size multi-word values
Language: Rust - Size: 180 KB - Last synced at: 17 days ago - Pushed at: about 2 months ago - Stars: 17 - Forks: 4

soatok/constant-time-js
Constant-time JavaScript functions
Language: TypeScript - Size: 198 KB - Last synced at: 7 days ago - Pushed at: over 2 years ago - Stars: 54 - Forks: 4

crocs-muni/ct-tools
A repository of tools for verifying constant-timeness
Language: HTML - Size: 188 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 14 - Forks: 3

IronCoreLabs/recrypt-rs
A set of cryptographic primitives for building a multi-hop Proxy Re-encryption scheme, known as Transform Encryption.
Language: Rust - Size: 562 KB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 153 - Forks: 20

binsec/Rel
Binsec/Rel is an extension of Binsec that implements relational symbolic execution for constant-time verification and secret-erasure at binary-level.
Language: OCaml - Size: 1.01 MB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 33 - Forks: 2

tomhea/farray
Initialize / Fill C++ array fast - O(1) time with only 1 extra bit of memory.
Language: C++ - Size: 287 KB - Last synced at: 17 days ago - Pushed at: about 2 years ago - Stars: 30 - Forks: 2

jedisct1/js-base64-ct
Safe Base64 encoding/decoding in pure JavaScript.
Language: TypeScript - Size: 6.84 KB - Last synced at: 12 days ago - Pushed at: almost 4 years ago - Stars: 17 - Forks: 1

ori88c/non-replacement-random-item-sampler
An efficient random item sampler that ensures O(1) sampling complexity, and equal selection probability for all items across cycles. Each cycle ensures unique, non-repeating item selections, with each item sampled only once per cycle. Upon cycle completion, the sampler automatically refreshes, initiating a new cycle to repeat the process.
Language: TypeScript - Size: 46.9 KB - Last synced at: 13 days ago - Pushed at: 6 months ago - Stars: 0 - Forks: 0

dot-asm/cryptogams
CRYPTOGAMS distribution repository
Language: Assembly - Size: 939 KB - Last synced at: 17 days ago - Pushed at: 6 months ago - Stars: 56 - Forks: 16

PeeterO/Arraymap
C++20 ordered associative container with O(1) lookup complexity
Language: C++ - Size: 21.5 KB - Last synced at: 6 months ago - Pushed at: 6 months ago - Stars: 1 - Forks: 0

eMahtab/min-stack
Min Stack
Size: 25.4 KB - Last synced at: about 1 month ago - Pushed at: 6 months ago - Stars: 1 - Forks: 0

taylordotfish/fixed-bump
A bump allocator that uses fixed-size chunks to ensure non-amortized O(1) allocations
Language: Rust - Size: 72.3 KB - Last synced at: 30 days ago - Pushed at: over 2 years ago - Stars: 9 - Forks: 3

taylordotfish/fixed-typed-arena
A typed arena that uses fixed-size chunks to ensure non-amortized O(1) allocations
Language: Rust - Size: 82 KB - Last synced at: 9 months ago - Pushed at: over 1 year ago - Stars: 4 - Forks: 2

saliccio/tlsf
Two-Level Segregated Fit - O(1) Memory Allocation Algorithm
Language: C - Size: 25.4 KB - Last synced at: 9 months ago - Pushed at: 9 months ago - Stars: 2 - Forks: 0

DavidLeeds/hashmap
Templated type-safe hashmap implementation in C using open addressing and linear probing for collision resolution.
Language: C - Size: 104 KB - Last synced at: 10 months ago - Pushed at: over 1 year ago - Stars: 265 - Forks: 54

mratsim/constantine
Constantine: modular, high-performance, zero-dependency cryptography stack for proof systems and blockchain protocols.
Language: Nim - Size: 17.7 MB - Last synced at: 11 months ago - Pushed at: 11 months ago - Stars: 265 - Forks: 35

ocheron/crypto-cbc 📦
Experiments for more secure CBC mode
Language: HTML - Size: 628 KB - Last synced at: about 1 year ago - Pushed at: almost 5 years ago - Stars: 0 - Forks: 0

Daksh2060/node-pool-linked-list
This C project takes a unique approach to linked lists. Using a pre-allocated memory pool, it generates sets of list heads and nodes at startup. By default, supports up to 10 lists with a total of 100 nodes (adjustable). Emphasizing speed and memory efficiency, this implementation is designed for integration into programs dependent on efficiency.
Language: C - Size: 106 KB - Last synced at: about 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

loretanr/dp-gbdt
GBDT learning + differential privacy. Standalone C++ implementation of "DPBoost" (Li et al.). There are further hardened & SGX versions of the code.
Language: C++ - Size: 206 MB - Last synced at: 7 days ago - Pushed at: almost 3 years ago - Stars: 8 - Forks: 1

orion-rs/orion-dudect
Testing the Rust crypto library orion with dudect-bencher
Language: Rust - Size: 75.2 KB - Last synced at: about 1 month ago - Pushed at: over 3 years ago - Stars: 1 - Forks: 2

ma-ilsi/porridge
Secret independent (constant time) implementation of deterministic ECDSA nonces (RFC 6979).
Language: C - Size: 4.88 KB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 0 - Forks: 0

umpc/go-sortedmap
A simple value-sorted map type for Go that features constant-time reads and efficient iteration over records.
Language: Go - Size: 1.1 MB - Last synced at: 10 months ago - Pushed at: about 7 years ago - Stars: 70 - Forks: 8

opencoff/go-chd
Minimal Perfect Hash function via Compress Hash Displace
Language: Go - Size: 52.7 KB - Last synced at: 26 days ago - Pushed at: about 4 years ago - Stars: 3 - Forks: 0

simonepri/tsse
⏱ Timing safe string equals.
Language: JavaScript - Size: 126 KB - Last synced at: 11 days ago - Pushed at: almost 3 years ago - Stars: 3 - Forks: 0

kavyasreedhar/sreedhar-xgcd-hardware-ches2022
Artifact associated with CHES 2022 paper https://tches.iacr.org/index.php/TCHES/article/view/9817
Language: Python - Size: 1.09 MB - Last synced at: over 1 year ago - Pushed at: over 1 year ago - Stars: 7 - Forks: 1

im95able/Rea
Lightweight library of data structures implemented in C++11, designed for constant time insertion, erasure, lookup, and fastest possible iteration.
Language: C++ - Size: 84 KB - Last synced at: over 1 year ago - Pushed at: about 6 years ago - Stars: 164 - Forks: 16

i404788/bigint-popcnt
Language: TypeScript - Size: 2.93 KB - Last synced at: about 1 month ago - Pushed at: over 3 years ago - Stars: 2 - Forks: 3

UzL-ITS/MAMBO-V
MAMBO-V: Dynamic Side-Channel Leakage Analysis on RISC-V
Language: C - Size: 823 KB - Last synced at: over 1 year ago - Pushed at: almost 2 years ago - Stars: 6 - Forks: 1

nikhildagarwal/Dictionary_Backend_Server
Dictionary App backend project. Features custom built dictionary data structure that allows for O(1) insertion, search, and delete on a Java server with HTTPS req/res capabilites
Language: Java - Size: 5.82 MB - Last synced at: about 1 year ago - Pushed at: about 1 year ago - Stars: 1 - Forks: 0

gokhankici/iodine
Iodine: Verifying Constant-Time Execution of Hardware
Language: C++ - Size: 2.3 MB - Last synced at: over 1 year ago - Pushed at: about 4 years ago - Stars: 11 - Forks: 0

rmind/tlsf
TLSF: two-level segregated fit O(1) allocator
Language: C - Size: 29.3 KB - Last synced at: over 1 year ago - Pushed at: over 2 years ago - Stars: 67 - Forks: 5

cfcs/lilsumthing
AST rewriting of Python for-loop summations as closed-form Gauss summations
Language: Python - Size: 38.1 KB - Last synced at: about 1 month ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

Tanisha-saini/Algorithms
Language: C++ - Size: 17.2 MB - Last synced at: about 2 years ago - Pushed at: almost 3 years ago - Stars: 1 - Forks: 0

nuxed/crypto
The Nuxed Crypto component provides a high-level cryptography interface that relies on libsodium for all of its underlying cryptography operations.
Language: Hack - Size: 113 KB - Last synced at: 4 months ago - Pushed at: over 4 years ago - Stars: 3 - Forks: 4

Paprikar/lru-lfu-cache-test-task-java
Test task on LRU and LFU caching implementation in JAVA.
Language: Java - Size: 86.9 KB - Last synced at: about 2 years ago - Pushed at: about 4 years ago - Stars: 0 - Forks: 0

jchoker/DataStructures
Advanced Data Structures in C#
Language: C# - Size: 17.6 KB - Last synced at: almost 2 years ago - Pushed at: about 4 years ago - Stars: 0 - Forks: 0

attacomsian/statistics-api
RESTful API to calculate real-time statistic from the last 60 seconds.
Language: Java - Size: 60.5 KB - Last synced at: about 2 years ago - Pushed at: almost 7 years ago - Stars: 1 - Forks: 3

bwesterb/go-subtlesort
Constant-time sorting for Go
Language: Go - Size: 4.88 KB - Last synced at: 10 months ago - Pushed at: over 6 years ago - Stars: 0 - Forks: 0

ChamanGurjar/Algo-and-DS-using-Swift4-By-nyisztor
Book Author nyisztor
Language: Swift - Size: 3.91 KB - Last synced at: about 1 month ago - Pushed at: over 6 years ago - Stars: 0 - Forks: 1

gramcha/realtime-statistic
A restful solution for transactions statistics.
Language: Java - Size: 38.1 KB - Last synced at: about 2 years ago - Pushed at: almost 7 years ago - Stars: 0 - Forks: 0

ORESoftware/simple-queue
Simple queue with constant time operations.
Language: Shell - Size: 12.7 KB - Last synced at: 6 days ago - Pushed at: almost 7 years ago - Stars: 1 - Forks: 0

daniloaleixo/voxus_queue
Constant Time implementation push, pop and min of a Queue
Language: Python - Size: 16.6 KB - Last synced at: 12 months ago - Pushed at: over 7 years ago - Stars: 0 - Forks: 0
