Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Tiny AES C
Commits
6018b3f4
Unverified
Commit
6018b3f4
authored
May 29, 2018
by
kokke
Committed by
GitHub
May 29, 2018
Browse files
Update aes.h
parent
93c26702
Changes
1
Show whitespace changes
Inline
Side-by-side
aes.h
View file @
6018b3f4
...
@@ -58,8 +58,8 @@ void AES_ctx_set_iv(struct AES_ctx* ctx, const uint8_t* iv);
...
@@ -58,8 +58,8 @@ void AES_ctx_set_iv(struct AES_ctx* ctx, const uint8_t* iv);
// buffer size is exactly AES_BLOCKLEN bytes;
// buffer size is exactly AES_BLOCKLEN bytes;
// you need only AES_init_ctx as IV is not used in ECB
// you need only AES_init_ctx as IV is not used in ECB
// NB: ECB is considered insecure for most uses
// NB: ECB is considered insecure for most uses
void
AES_ECB_encrypt
(
struct
AES_ctx
*
ctx
,
const
uint8_t
*
buf
);
void
AES_ECB_encrypt
(
struct
AES_ctx
*
ctx
,
uint8_t
*
buf
);
void
AES_ECB_decrypt
(
struct
AES_ctx
*
ctx
,
const
uint8_t
*
buf
);
void
AES_ECB_decrypt
(
struct
AES_ctx
*
ctx
,
uint8_t
*
buf
);
#endif // #if defined(ECB) && (ECB == !)
#endif // #if defined(ECB) && (ECB == !)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment