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: pulling entropy out of a noisy diode, getting a hazard alert through an RTOS in microseconds, breaking a weak hop schedule and replacing it in Verilog, and checking approximate arithmetic bit for bit against its model.

I care about measured results and about saying what kind of result each one is. Two projects below ran on real hardware (Haptic-Sense, PhyRand). The rest are simulation, RTL and 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

What I build

Area What that has meant so far
Hardware security A true random number generator built from Zener-diode breakdown noise with on-chip Von Neumann debiasing; a keyed SipHash-2-4 hop engine in Verilog checked against a Python model and with SymbiYosys; a workshop kit covering state recovery, correlation power analysis, masking, fault injection and PUFs on simulated models.
RF resilience and defense Frequency-hopping link simulators with attacker models, a benchmark that scores hop schedules against those attackers, and passive, receive-only detectors for GNSS interference and drone links. All simulation so far; none of it transmits.
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); bare-metal STM32F4 work with UART parsing, FatFS over SPI and an OLED; C99 protocol references with no dynamic allocation, tested under sanitizers and fuzzing on the host.
Digital design and approximate computing Approximate adders and multipliers as bit-accurate Python models plus Verilog, compared exhaustively in Icarus Verilog and synthesised with Yosys; approximate SAD datapaths for video motion estimation; an int8 inference datapath with approximate multipliers.
Edge ML on MCUs A small INT8 fully-connected 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, serial capture and analysis scripts, and a local-LLM shell assistant.

Featured projects

Haptic-Sense: µT-Kernel 3.0 on STM32N6, 3.375 µs worst-case preemption latency (logic analyzer) PhyRand: Zener-noise TRNG on STM32F401RE, 7.9997 bits/byte entropy (ent suite)

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) RTL-Sec-Lab: six-lab hardware-security workshop kit, 39 of 39 reference-solution tasks pass the graders (simulation only)

ApproxKit: approximate adders and multipliers, 173 of 173 Verilog cases match the Python models on every operand pair GNSS-Sentinel: passive GNSS jamming and spoofing indicator toolkit, fused detection probability 0.74 to 1.00 across five scenarios (synthetic data only)

Project In one line Honest 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. 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.
PhyRand Zener-noise TRNG on an STM32F401RE, with a FastAPI key authority and Fernet file vault. Hardware. 7.9997 bits/byte measured with ent. NIST SP 800-22 is still pending, and the analog noise has not been characterised on an oscilloscope.
FHSS-Link Frequency-hopping link study: link and attacker simulators, a keyed SipHash-2-4 hop engine in Verilog, and a C firmware reference. Simulation, RTL and host C. An attacker model recovers a 16-bit LFSR hop schedule after 8 or 9 observed hops (exhaustive over all 65,535 seeds), while the keyed schedule stays at chance. Synthesis figures are Yosys estimates. Nothing has run on an ESP32 or any radio yet.
RTL-Sec-Lab Three-hour hardware-security workshop kit: six labs with handouts, starters, graders and answer keys, built around a small keyed hop engine. Simulation only. All 39 reference-solution tasks pass the graders. Leakage, fault, trojan and PUF behaviour are simple assumed models, and every handout says so.
ApproxKit Approximate adders and multipliers: bit-accurate Python models, error metrics, a Pareto design-space explorer and Verilog. Simulation and synthesis estimates. 173 of 173 Verilog cases match the Python models on every operand pair (Icarus Verilog). Area numbers are Yosys + sky130 estimates without place and route, not silicon.
GNSS-Sentinel Passive toolkit that flags GNSS jamming and spoofing indicators from receiver logs (CSV or NMEA) with six fused detectors. It never transmits. Synthetic data only. Fused detection probability is 1.00 for four attack scenarios and 0.74 for slow position drag, at about 1.1 false alerts per hour. A noisier test profile raises that to about 7 per hour. Not validated on a real receiver.

More projects

ThemeProjectWhat it is, and where it stands
Hardware security & RF defense HopBench Benchmark that scores frequency-hop schedules against a suite of attackers (state recovery, n-gram, Berlekamp-Massey, jammers). Keyed schedules score 99.8 and the LFSR, LCG and xorshift schedules about 20 to 23 out of 100. Scores are relative to this attacker suite, not a security proof. Includes a browser game, "Break the Hop".
Embedded & RTOS UAV-DAQ STM32F401RE telemetry logger: parses a UART stream, logs CSV to SD with FatFS over SPI, shows values and rates of change on an OLED. Bench prototype fed by a replayed ArduPilot log; host-tested, and the SD-logging fix still awaits a hardware re-test. Not flight-tested.
LifeLine-Mesh Store-and-forward mesh protocol for short messages when infrastructure is down: specification, Python simulator and a C99 reference with no dynamic allocation. C and Python agree on 288,113 shared-vector checks. In simulation, custody transfer delivers 1.00 against 0.69 for flooding in the default scenario. No hardware or RF yet.
Digital design & approximate computing PolarFire-VibMonitor Software model of a 32-channel vibration monitor: fixed-point feature extraction, an int8 MLP, approximate multipliers and a Verilog MAC-array skeleton. About 97 % accuracy on its own synthetic test set. The RTL testbench passes 325,161 checks against the Python model. No FPGA has been touched.
Tools VCD-Studio Single-file, offline waveform viewer for VCD dumps that runs in the browser, plus a stdlib Python script for per-signal toggle counts and a switching-activity proxy.
shell-sage Python CLI that turns a plain-English request into a bash command using a local Ollama model, with a warning on risky commands.

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 & cryptoTRNG / entropy 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 Ollama Linux Git

Currently

  • Working toward NIST SP 800-22 validation of PhyRand's output, the open item in that repository.
  • Taking FHSS-Link from host-only tests to its first run on ESP32 hardware, the open item in that repository.
  • Writing up the approximate-SAD research from the NIT Delhi internship.
  • Looking for a role in embedded systems, digital design or hardware security.

Contact

Banner and project cards are hand-written SVG, 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

    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