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
BC
public
bctoolbox
Commits
b742a4cf
Commit
b742a4cf
authored
Feb 15, 2016
by
Ghislain MARY
Browse files
Add missing symbol exports.
parent
83cdbbe3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
include/bctoolbox/crypto.h
include/bctoolbox/crypto.h
+5
-5
No files found.
include/bctoolbox/crypto.h
View file @
b742a4cf
...
...
@@ -402,7 +402,7 @@ typedef struct bctoolbox_aes_gcm_context_struct bctoolbox_aes_gcm_context_t;
*
* @return 0 on success, crypto library error code otherwise
*/
int32_t
bctoolbox_aes_gcm_encrypt_and_tag
(
const
uint8_t
*
key
,
size_t
keyLength
,
BCTOOLBOX_PUBLIC
int32_t
bctoolbox_aes_gcm_encrypt_and_tag
(
const
uint8_t
*
key
,
size_t
keyLength
,
const
uint8_t
*
plainText
,
size_t
plainTextLength
,
const
uint8_t
*
authenticatedData
,
size_t
authenticatedDataLength
,
const
uint8_t
*
initializationVector
,
size_t
initializationVectorLength
,
...
...
@@ -426,7 +426,7 @@ int32_t bctoolbox_aes_gcm_encrypt_and_tag(const uint8_t *key, size_t keyLength,
*
* @return 0 on succes, BCTOOLBOX_ERROR_AUTHENTICATION_FAILED if tag doesn't match or polarssl error code
*/
int32_t
bctoolbox_aes_gcm_decrypt_and_auth
(
const
uint8_t
*
key
,
size_t
keyLength
,
BCTOOLBOX_PUBLIC
int32_t
bctoolbox_aes_gcm_decrypt_and_auth
(
const
uint8_t
*
key
,
size_t
keyLength
,
const
uint8_t
*
cipherText
,
size_t
cipherTextLength
,
const
uint8_t
*
authenticatedData
,
size_t
authenticatedDataLength
,
const
uint8_t
*
initializationVector
,
size_t
initializationVectorLength
,
...
...
@@ -446,7 +446,7 @@ int32_t bctoolbox_aes_gcm_decrypt_and_auth(const uint8_t *key, size_t keyLength,
*
* @return 0 on success, crypto library error code otherwise
*/
bctoolbox_aes_gcm_context_t
*
bctoolbox_aes_gcm_context_new
(
const
uint8_t
*
key
,
size_t
keyLength
,
BCTOOLBOX_PUBLIC
bctoolbox_aes_gcm_context_t
*
bctoolbox_aes_gcm_context_new
(
const
uint8_t
*
key
,
size_t
keyLength
,
const
uint8_t
*
authenticatedData
,
size_t
authenticatedDataLength
,
const
uint8_t
*
initializationVector
,
size_t
initializationVectorLength
,
const
uint8_t
mode
);
...
...
@@ -461,7 +461,7 @@ bctoolbox_aes_gcm_context_t *bctoolbox_aes_gcm_context_new(const uint8_t *key, s
*
* @return 0 on success, crypto library error code otherwise
*/
int32_t
bctoolbox_aes_gcm_process_chunk
(
bctoolbox_aes_gcm_context_t
*
context
,
BCTOOLBOX_PUBLIC
int32_t
bctoolbox_aes_gcm_process_chunk
(
bctoolbox_aes_gcm_context_t
*
context
,
const
uint8_t
*
input
,
size_t
inputLength
,
uint8_t
*
output
);
...
...
@@ -474,7 +474,7 @@ int32_t bctoolbox_aes_gcm_process_chunk(bctoolbox_aes_gcm_context_t *context,
*
* @return 0 on success, crypto library error code otherwise
*/
int32_t
bctoolbox_aes_gcm_finish
(
bctoolbox_aes_gcm_context_t
*
context
,
BCTOOLBOX_PUBLIC
int32_t
bctoolbox_aes_gcm_finish
(
bctoolbox_aes_gcm_context_t
*
context
,
uint8_t
*
tag
,
size_t
tagLength
);
#ifdef __cplusplus
...
...
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