Skip to content

Commit

Permalink
doc crypto: add word on using CFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
BytesGalore committed Feb 11, 2016
1 parent a0429f7 commit 30ab688
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sys/crypto/doc.txt
Expand Up @@ -25,6 +25,12 @@
* While you can use the ciphers functions directly, you should resort to
* the generic API for block ciphers whenever possible.
*
* Additionally you need to set a CFLAG for each cipher you want to use in your Makefile:
* * AES-128: CFLAGS += -DCRYPTO_AES
* * 3DES: CFLAGS += -DCRYPTO_THREEDES
* * Twofish: CFLAGS += -CRYPTO_TWOFISH
* This sets the appropriate buffer sizes for cipher operations.
*
* Example:
* @code
* #include "crypto/ciphers.h"
Expand Down

0 comments on commit 30ab688

Please sign in to comment.