wolfssl-examples/crypto/MagicCrypto
Andras Fekete 4c2f96ff64 Clean up wolfSSL path variable name 2024-04-04 13:28:23 -04:00
..
MagicCrypto.patch First commit 2023-07-31 11:03:10 -04:00
Makefile Clean up wolfSSL path variable name 2024-04-04 13:28:23 -04:00
README.md Add in documentation 2023-07-31 13:55:38 -04:00
client.c First commit 2023-07-31 11:03:10 -04:00
common.h Clean up folder structure 2023-07-31 11:58:42 -04:00
server.c First commit 2023-07-31 11:03:10 -04:00

README.md

Overview

The MagicCrypto library is created by Dream Security which contains a certified implementation of the ARIA cipher that is used by the South Korean government. This example makes use of the wolfSSL bindings to create a TLS 1.2 connection.

Compiling

You will need to compile wolfSSL with: ./configure --enable-ariagcm --enable-cryptocb && make install

You will need to have the MagicCrypto headers and library in the wolfSSL source directory. You may need to apply the patch file to clear up some of the compiler warnings.

Once the wolfSSL library in installed, you can run make in this folder to generate the sample client and server applications. You may need to modify the Makefile to point to the MagicCrypto includes directory.

Usage

The sample applications depend on using the certificates found in the wolfSSL source directory. You should execute them from the folder containing the 'certs' folder. Alternatively, you can modify the #define in 'common.h'.

To run, simply start ./server and ./client 127.0.0.1.