mirror of https://github.com/kokke/tiny-AES-c
Update README.md
This commit is contained in:
parent
ba795cdc9e
commit
bf208d5eaf
|
@ -9,7 +9,7 @@ The API is very simple and looks like this (I am using C99 `<stdint.h>`-style an
|
||||||
```C
|
```C
|
||||||
/* Initialize context calling one of: */
|
/* Initialize context calling one of: */
|
||||||
void AES_init_ctx(struct AES_ctx* ctx, const uint8_t* key);
|
void AES_init_ctx(struct AES_ctx* ctx, const uint8_t* key);
|
||||||
void AES_init_ctx_iv(struct AES_ctx* ctx,const uint8_t* key, const uint8_t* iv);
|
void AES_init_ctx_iv(struct AES_ctx* ctx, const uint8_t* key, const uint8_t* iv);
|
||||||
|
|
||||||
/* ... or reset IV at random point: */
|
/* ... or reset IV at random point: */
|
||||||
void AES_ctx_set_iv(struct AES_ctx* ctx, const uint8_t* iv);
|
void AES_ctx_set_iv(struct AES_ctx* ctx, const uint8_t* iv);
|
||||||
|
|
Loading…
Reference in New Issue