-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcrypto_str.h
50 lines (40 loc) · 1.21 KB
/
crypto_str.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* Public Domain */
#ifndef CRYPTO_STR_BOX_H
#define CRYPTO_STR_BOX_H
#include "stralloc.h"
int crypto_str_secretbox(
stralloc* c,
const stralloc* m,
const stralloc* n,
const stralloc* k);
int crypto_str_secretbox_open(
stralloc* m,
const stralloc* c,
const stralloc* n,
const stralloc* k);
int crypto_str_box(stralloc* c,
const stralloc* m,
const stralloc* n,
const stralloc* pk,
const stralloc* sk);
int crypto_str_box_open(
stralloc* m,
const stralloc* c,
const stralloc* n,
const stralloc* pk,
const stralloc* sk);
int crypto_str_box_beforenm(
stralloc* k,
const stralloc* pk,
const stralloc* sk);
int crypto_str_box_afternm(
stralloc* c,
const stralloc* m,
const stralloc* n,
const stralloc* k);
int crypto_str_box_open_afternm(
stralloc* m,
const stralloc* c,
const stralloc* n,
const stralloc* k);
#endif