Skip to content
View Kavin-Re's full-sized avatar

Block or report Kavin-Re

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Kavin-Re/README.md
Kavin K K. Embedded Systems, Hardware Security, RTOS, Applied Cryptography

Hi, I'm Kavin.

I'm an electronics engineer (B.Tech Electronics Engineering, VLSI, at Rashtriya Raksha University) who works where firmware, digital logic and security meet.

What ties the work together: I test whether a hardware claim holds up against the real thing: a latency claim against a logic analyzer, an error metric against real video encoders, and a redundancy countermeasure against the physics of a glitch (that last one is work in progress).

I say what kind of result each number is. Two projects below ran on real hardware (Haptic-Sense and PhyRand). The rest are simulation, synthesis or host-tested code, and are labelled that way. Where a number appears, the repository says how it was produced and what has not been measured yet.

Open to embedded firmware, RTOS, digital design and hardware-security roles. Connect on LinkedIn

Projects

Three flagships and three supporting projects.

Haptic-Sense: µT-Kernel 3.0 on STM32N6, 3.375 µs worst-case preemption latency (logic analyzer) GlitchSAT: fault analysis of gate-level netlists; the three reference designs need 1, 1 and 3 modelled bit flips under the single-bit model M0 (model results, not physical glitches)

Approximate SAD: approximate compressor cells in an 8x8 SAD datapath, tested in the x264 and x265 encoders; co-authored manuscript, not yet published (repository private) PhyRand: Zener-diode noise source on STM32F401RE, 7.9997 bits/byte Shannon entropy on a 1 MB capture computed by the repository's own analysis; the same capture fails chi-square; the source is unvalidated

FHSS-Link: frequency-hopping link study; a 16-bit LFSR hop schedule is broken after 8 to 9 observed hops, replaced by a keyed SipHash engine in Verilog (simulation and RTL) VCD-Studio: waveform viewer for VCD dumps in one offline HTML file

Flagships

Project In one line Status
Haptic-Sense Predictive obstacle-alert prototype for visually impaired users on an STM32N6570-DK running µT-Kernel 3.0. TRON Forum Programming Contest 2026, entry 34476. Hardware, measured. Frozen. Worst-case preemption latency 3.375 µs (logic analyzer) and 4.19 µs (cycle counter, 30-minute soak). These time the task handoff, not sensor-to-motor latency. Benchtop prototype, urgency feedback only, no direction.
GlitchSAT Open-source fault-analysis tool for gate-level netlists: finds the smallest number of modelled bit flips that defeat a protection, checks whether a protection survived synthesis, and explains the result in a teaching app. Model only. Nothing was measured on hardware. The current model flips single bits independently, so it does not cover one glitch upsetting several flip-flops, or all copies, at once. Version 2.0 asks one question: does adding timing change the verdict on one real protected block?
Approximate-SAD paper Research internship at NIT Delhi (summer 2026), co-authored manuscript: approximate compressor cells in a shared 8x8 SAD datapath for video motion estimation, synthesised and run inside the x264 and x265 encoders. Simulation, synthesis and real encoders. Not yet published. The repository stays private until publication.

Supporting

Project In one line Status
PhyRand Zener-diode noise source on an STM32F401RE with Von Neumann debiasing, a health-tested key pipeline and a file vault. Hardware, source unvalidated. A 1 MB capture has 7.9997 bits/byte Shannon entropy (computed with the repository's own analysis), and the same capture fails chi-square (p = 0.0009). The control run with the diode removed has not been done.
FHSS-Link Frequency-hopping link study: link and attacker simulators, a keyed SipHash-2-4 hop engine in Verilog, a C reference, and the HopBench schedule benchmark. Simulation, RTL and host C. Frozen. An attacker model recovers a 16-bit LFSR hop schedule after 8 or 9 observed hops (exhaustive over all 65,535 seeds); the keyed schedule stays at chance against that attacker. Nothing has run on a radio.
VCD-Studio Waveform viewer for Verilog .vcd dumps in one offline HTML file, plus a standard-library script for toggle counts. Tool. Frozen. Works on any .vcd in a browser with nothing installed. GTKWave and Surfer do more.

Every other repository on this account is frozen or archived, and its README says which and why.

What I build

Area What that has meant so far
Hardware security A noise source built from Zener-diode breakdown with on-chip Von Neumann debiasing; a keyed SipHash-2-4 hop engine in Verilog checked against a Python model and with SymbiYosys; a fault-analysis tool that searches netlists for the fewest modelled bit flips that defeat a protection.
Real-time firmware A four-task µT-Kernel 3.0 application on a Cortex-M55 with preemption latency measured two ways (logic analyzer and in-firmware cycle counter); a first bare-metal STM32F4 project that parses UART telemetry onto an OLED (its SD logging never worked); C99 protocol references with no dynamic allocation, tested under sanitizers on the host.
Digital design and approximate computing Approximate SAD datapaths for video motion estimation, synthesised and tested inside real encoders; approximate adders and multipliers as bit-accurate Python models plus Verilog, compared exhaustively in Icarus Verilog.
Edge ML on MCUs A small INT8 model trained in Edge Impulse and run on the STM32N6 Neural-ART NPU, backed by a deterministic safety rule.
Tooling A single-file browser waveform viewer for VCD dumps, and serial capture and analysis scripts.

Tech stack

LanguagesC Python Verilog Bash
MCUs & boardsSTM32F4 (Cortex-M4) STM32N6 (Cortex-M55 + NPU)
RTOS & firmwareµT-Kernel 3.0 STM32 HAL FatFS STM32CubeIDE
RTL & verificationIcarus Verilog Verilator Yosys SymbiYosys (formal) sky130 synthesis estimates
Buses & peripheralsI2C SPI UART ADC DMA
Security & cryptoentropy analysis Von Neumann debiasing SipHash-2-4 side-channel analysis (simulated) Fernet (AES-128-CBC + HMAC)
Edge MLEdge Impulse TFLite INT8 ST Neural-ART
Host sideFastAPI NumPy pySerial Linux Git

Currently

  • Working on GlitchSAT 2.0: does adding timing change the verdict of a fault search on one real protected block? One design, one short technical note.
  • Taking the co-authored approximate-SAD manuscript through to publication.
  • Looking for a role in embedded systems, digital design or hardware security.

Contact

Banner and project cards are SVG files generated by tools/build_assets.py. No trackers, no external fonts.

Pinned Loading

  1. Haptic-Sense Haptic-Sense Public

    Predictive obstacle-alert wearable prototype on STM32N6570-DK with µT-Kernel 3.0: ToF + IMU sensing, on-device NPU model, haptic feedback. 3.375 µs worst-case preemption latency (logic analyzer). T…

    C

  2. PhyRand PhyRand Public

    Hardware true random number generator: Zener-diode breakdown noise sampled and Von Neumann-debiased on an STM32F401RE (7.9997 bits/byte, ent), with a FastAPI key authority and Fernet file vault.

    Python 1

  3. FHSS-Link FHSS-Link Public

    Frequency-hopping link study: link and attacker simulators, a keyed SipHash-2-4 hop engine in Verilog (simulated, formally checked, Yosys estimates) and a host-tested C firmware reference. A 16-bit…

    Python

  4. RTL-Sec-Lab RTL-Sec-Lab Public

    Three-hour hardware-security workshop kit on a small keyed hop/PRF engine: six graded labs (LFSR break, PRNG prediction, CPA, masking, fault injection + TMR, trojan detection + PUF) with handouts, …

    HTML

  5. ApproxKit ApproxKit Public

    Approximate adders and multipliers: bit-accurate Python models, error metrics (ER, MED, MRED, NMED, WCE), a Pareto design-space explorer and Verilog-2001 RTL. 173/173 RTL cases match the models exh…

    Python

  6. GNSS-Sentinel GNSS-Sentinel Public archive

    Passive GNSS interference and spoofing indicator toolkit: six fused detectors (C/N0 + AGC, power uniformity, clock, RAIM, Kalman innovation, CUSUM) over receiver logs (CSV/NMEA), with an offline da…

    Python