Browse Source

Initial commit

master
root 6 years ago
commit
8c598b4ef5
  1. 2
      .idea/.gitignore
  2. 2
      .idea/ecdaa_issuer.iml
  3. 7
      .idea/misc.xml
  4. 8
      .idea/modules.xml
  5. 6
      .idea/vcs.xml
  6. 11
      CMakeLists.txt
  7. 8
      issuer.c

2
.idea/.gitignore

@ -0,0 +1,2 @@
# Default ignored files
/workspace.xml

2
.idea/ecdaa_issuer.iml

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<module classpath="CMake" type="CPP_MODULE" version="4" />

7
.idea/misc.xml

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" />
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
</project>

8
.idea/modules.xml

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/ecdaa_issuer.iml" filepath="$PROJECT_DIR$/.idea/ecdaa_issuer.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

11
CMakeLists.txt

@ -0,0 +1,11 @@
cmake_minimum_required(VERSION 3.15)
project(ecdaa_issuer C)
set(CMAKE_C_STANDARD 11)
add_executable(ecdaa_issuer issuer.c)
target_include_directories(ecdaa_issuer PUBLIC
${ECDAA_AMCL}
)
target_link_libraries(ecdaa_issuer /usr/local/lib/libecdaa.so)

8
issuer.c

@ -0,0 +1,8 @@
#include <stdio.h>
#include <string.h>
#include <ecdaa.h>
int main() {
printf("Hello, World!\n");
return 0;
}
Loading…
Cancel
Save