trustcrypto/libraries
View on GitHub ↗ ★ 32 C
Libraries for OnlyKey Firmware
5 mentions on Hacker News by 4 people: 0 stories, 5 comments · first 2019-12-26 · latest 2019-12-27
20082026
-
…if (integrityctr1 != integrityctr2) { //Integrity Check unlocked = false; CPU_RESTART(); return; } https://github.com/trustcrypto/libraries/blob/5bd1f8eb15eb04...
comment by cr7pt0 · 2019-12-27 · in OnlyKey: Open-Source Alternative to YubiKey -
….ino you mentioned here https://github.com/trustcrypto/OnlyKey-Firmware as well as libraries here https://github.com/trustcrypto/libraries . Our code is reviewed by Codacy and yes, it does receive a grade of A. For the .ino grading you…
comment by cr7pt0 · 2019-12-26 · in OnlyKey: Open-Source Alternative to YubiKey -
…over and over again. Some examples... Compare these two blocks of assignments and memcpy calls: https://github.com/trustcrypto/libraries/blob/5bd1f8eb15eb04... https://github.com/trustcrypto/libraries/blob/5bd1f8eb15eb04... Yes, they are…
comment by Stratoscope · 2019-12-26 · in OnlyKey: Open-Source Alternative to YubiKey -
…is here, and yeah, it doesn't inspire much confidence (7000+ lines of code in okcore.cpp, ouch): https://github.com/trustcrypto/libraries/tree/master/onlykey
comment by marcan_42 · 2019-12-26 · in OnlyKey: Open-Source Alternative to YubiKey -
…more scary function. It doesn't appear (at a quick glance) to be used anywhere, but still... https://github.com/trustcrypto/libraries/blob/master/randomb... For anyone wanting to try this out (it will compile with plain GCC if you add):…
comment by g_p · 2019-12-26 · in OnlyKey: Open-Source Alternative to YubiKey