mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-12-22 20:41:08 +00:00
Fix cipher macros
This commit is contained in:
parent
cf02f33af7
commit
aa4a92bac9
1 changed files with 2 additions and 2 deletions
|
@ -63,8 +63,8 @@ const cipher_algorithm *get_cipher_algorithm(const char *);
|
||||||
#define cipher_init(alg, ctx, mode, key, keylen) \
|
#define cipher_init(alg, ctx, mode, key, keylen) \
|
||||||
(alg)->init((ctx), (mode), (key), (keylen))
|
(alg)->init((ctx), (mode), (key), (keylen))
|
||||||
#define cipher_update(alg, ctx, in, len, out) \
|
#define cipher_update(alg, ctx, in, len, out) \
|
||||||
(alg)->update((ctx), (buf), (in), (len), (out))
|
(alg)->update((ctx), (in), (len), (out))
|
||||||
#define cipher_finish(alg, ctx) \
|
#define cipher_finish(alg, ctx) \
|
||||||
(alg)->finish((buf), (ctx))
|
(alg)->finish((ctx))
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue