ntruprime-test(1)

πŸ“¦
version 0~20241021 Β· 3 versions
, in debian trixie, ubuntu questing

πŸ’– ntruprime-test β€” the vibe check for libntruprime πŸ’–

okay bestie, so this is the ntruprime-test page from section 1 of the manual, and it's literally just a little test-runner that goes "does this actually work tho" 🫢


✨ NAME ✨

ntruprime-test β€” run some libntruprime correctness tests πŸ’…


🌸 SYNOPSIS 🌸

ntruprime-test

that's it. no flags. no args. she takes zero notes and zero options, she just runs. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

ntruprime-test runs some tests of the correctness of the libntruprime implementation of the Streamlined NTRU Prime cryptosystem. fr fr, that's the whole job β€” she shows up, she checks that the crypto is doing what it's supposed to, she reports back. ✨

🚨 heads up bestie: the ntruprime-test output format is subject to change. so don't you dare go parsing this in your little scripts and then acting surprised. the format is not the moment, iykyk.

as examples of the current format, the lines

kem_sntrup761 offset 1
kem_sntrup761 selected implementation factored compiler clang -Wall -fPIC -fwrapv -Qunused-arguments -O2; Ubuntu clang version 14.0.0-1ubuntu1.1; Target: x86_64-pc-linux-gnu; Thread model: posix; InstalledDir: /usr/bin

mean that ntruprime-test is testing the automatically selected factored implementation of the sntrup761 parameter set, with various arrays offset by 1 byte from being aligned. (yes, that second line is a whole compiler brag, it's giving résumé energy 😭)

and then a final line saying

all tests succeeded

means that all tests passed. πŸŽ€ that's the good ending. that's the slay. when you see that line you can close the terminal and go touch grass. 🌈


πŸ’œ SEE ALSO πŸ’œ


okay that's the whole page bestie, no cap. this was ntruprime-test(1) from section 1 of the manual, filed under ntruprime-test(1) β€” that's the manual name and the source/version line, and since the date on the original is just baked into that same footer, we're calling it the timeless classic it is. go run it and let it tell you all tests succeeded πŸ’–πŸ’…βœ¨

πŸ“¦ where this page comes from