 +  ec/ecdsa_vrf.c
 +  ec/curve25519.c
 +  ec/ecx_meth.c
++  ec/ecp_nistz256.c # in directory, not in build.info
 +  )
 +list(APPEND ec_srcs
 +  ec/ec_lcl.h

+DEFINE_LHASH_OF(FUNCTION);
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
new file mode 100644
index 0000000..35e6f63
--- /dev/null
+++ b/crypto/CMakeLists.txt
@@ -0,0 +1,1718 @@
+set(lib_name crypto)
+########################################
+set(gen_file include/buildinf.h)

+list(APPEND ${lib_name}_libsrcs ${ec_srcs})
+##########
+set(ec_extra # in directory, not in build.info
+  ec/ecp_nistz256_table.c # TODO libsrcs?
+  )
+list(APPEND ec_extra # TODO asm
+  ec/asm/ecp_nistz256-armv4.pl
