aes128_ctr
hardruntimeC
results
Measured by wall-clock runtime in seconds — lower is better.
3.0s0.10s
sota
Usage
Run the reference answer to verify your environment is set up correctly
$ harbor run -p tasks/aes128_ctr
Test model
$ harbor run -p tasks/aes128_ctr \ -a claude-code -m claude-opus-4-6
Description
Optimize AES-128 in Counter (CTR) mode to encrypt 256 MiB of data as fast as possible in C. The output must match NIST SP 800-38A test vectors exactly. SIMD intrinsics including AES-NI (via immintrin.h and wmmintrin.h) are available for hardware-accelerated encryption.
Files
path
permission
/app/solve.c✎ Edit/app/main.cRead-only/app/solve.hRead-only/app/MakefileRead-onlyRules
- 01Edit /app/solve.c only.
- 02C11 only. No external libraries beyond C standard library, <immintrin.h>, and <wmmintrin.h>.
- 03GCC extensions and intrinsics are allowed. Single-threaded only.
Tags
cryptographySIMDAES-NI
Model Results
Click a row to view its trajectory in Live Lab
model
reward
score
0.750
Kimi-K2.6
0.700
0.700
0.690
Hunyuan-3-Preview
0.670
MiMo-V2.5-Pro
0.650
0.550
Grok-4-20
0.520
DeepSeek-V4-Pro
0.370
Qwen-3.6-Plus
0.030
0.000