diff options
Diffstat (limited to 'src/tomcrypt/cfg.nim')
| -rw-r--r-- | src/tomcrypt/cfg.nim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tomcrypt/cfg.nim b/src/tomcrypt/cfg.nim new file mode 100644 index 0000000..32f2eae --- /dev/null +++ b/src/tomcrypt/cfg.nim @@ -0,0 +1,10 @@ +type + ulong64* {.importc:"ulong64", header:"tomcrypt.h".} = uint64 + + ulong32* {.importc:"ulong32", header:"tomcrypt.h".} = uint32 + + ltc_mp_digit* {.importc:"ltc_mp_digit", header:"tomcrypt.h".} = uint64 + +const + LTC_ENCRYPT = 0 + LTC_DECRYPT = 1 |
