mceliece-test(1)

πŸ“¦
version 0~20260622 Β· 3 versions
, in ubuntu stonking

πŸ’– mceliece-test(1) β€” General Commands Manual πŸ’–

okay bestie, sit down, hydrate, because we're about to talk about mceliece-test, a lil section-1 command that lives in the General Commands Manual and exists purely to vibe-check your crypto πŸ’…

It's spelled mceliece-test and it's giving "I run some libmceliece correctness tests" ✨


✨ NAME ✨

mceliece-test β€” run some libmceliece correctness tests 🧚


🌸 SYNOPSIS 🌸

mceliece-test

no flags, no args, no drama. it just goes. periodt. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

mceliece-test runs some tests of the correctness of the libmceliece implementation of the Classic McEliece cryptosystem. like, it's literally checking that the crypto math is mathing. no cap. πŸ”₯

⚠️ bestie, listen: the mceliece-test output format is subject to change. do not, I repeat, do NOT parse this in a script and then come crying to me when it shifts. it's giving unstable API. πŸ™ˆ

As examples of the current format, the lines

kem_6960119 offset 1
kem_6960119 selected implementation avx compiler clang -Wall -fPIC -fwrapv -Qunused-arguments -O2 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mbmi -mbmi2 -mpopcnt -mavx2 -mtune=haswell; Ubuntu clang version 14.0.0-1ubuntu1; Target: x86_64-pc-linux-gnu; Thread model: posix; InstalledDir: /usr/bin

mean that mceliece-test is testing the automatically selected avx implementation of the 6960119 parameter set, with various arrays offset by 1 byte from being aligned πŸ‘€ (yes, deliberately misaligned arrays, we love a chaotic stress test).

and a final line saying

all tests succeeded

means that all tests passed πŸŽ‰πŸ«Ά like that's the whole mood, that's the happy ending, that's the slay.


🌈 SEE ALSO 🌈

go read those too, iykyk πŸ’œ


and that's the whole page, babe πŸ’– this was mceliece-test(1) from the General Commands Manual β€” mwah, ily, go run it and get that all tests succeeded energy πŸŽ€β­πŸ’…

πŸ“¦ where this page comes from