smuellerdd / leancrypto Goto Github PK
View Code? Open in Web Editor NEWLean cryptographic library usable for bare-metal environments
Home Page: https://leancrypto.org
License: Other
Lean cryptographic library usable for bare-metal environments
Home Page: https://leancrypto.org
License: Other
Looks like during the rename of symkmac_test.c the Kbuild file was not updated.
cd linux_kernel
make
<...>
make[2]: *** No rule to make target '/home/michaelr/unpack/entropy/git/leancrypto/linux_kernel/../aead/tests/symkmac_test.o', needed by '/home/michaelr/unpack/entropy/git/leancrypto/linux_kernel/symkmac_test.o'. Stop.
Based on the commit to rename symkmac_test.c this is what I came up with as the fix:
diff --git a/linux_kernel/Kbuild b/linux_kernel/Kbuild
index 0f86410..ee9dc77 100644
--- a/linux_kernel/Kbuild
+++ b/linux_kernel/Kbuild
@@ -370,7 +370,7 @@ leancrypto-$(CONFIG_LEANCRYPTO_SYMKMAC_CRYPT)
+= ../aead/src/symkmac.o
ifdef CONFIG_LEANCRYPTO_SYMKMAC_CRYPT
obj-m += symkmac_test.o
-symkmac_test-y += ../aead/tests/symkmac_test.o
+symkmac_test-y += ../aead/tests/symkmac256_test.o
endif
leancrypto-$(CONFIG_LEANCRYPTO_HASH_CRYPT) \
Compiles OK. Have not tested yet.
In hash/api/lc_hash.h
several function do not validate input pointers and just dereference them. Some more in aead/src/cshake_crypt.c
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.