diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-01 18:15:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-01 18:15:00 +0000 |
commit | a2a2e32c02643a0cec111511220227703fda1cd5 (patch) | |
tree | 69cc2b631234c2a8e026b9cd4d72676c61c594df /include/mysql/plugin_encryption.h | |
parent | Releasing progress-linux version 1:10.11.8-1~progress7.99u1. (diff) | |
download | mariadb-a2a2e32c02643a0cec111511220227703fda1cd5.tar.xz mariadb-a2a2e32c02643a0cec111511220227703fda1cd5.zip |
Merging upstream version 1:11.4.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'include/mysql/plugin_encryption.h')
-rw-r--r-- | include/mysql/plugin_encryption.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/mysql/plugin_encryption.h b/include/mysql/plugin_encryption.h index 3c574aa4..a036e221 100644 --- a/include/mysql/plugin_encryption.h +++ b/include/mysql/plugin_encryption.h @@ -96,8 +96,11 @@ struct st_mariadb_encryption /** processes (encrypts or decrypts) a chunk of data - writes the output to th dst buffer. note that it might write + writes the output to the dst buffer. note that it might write more bytes that were in the input. or less. or none at all. + + dlen points to the starting lenght of the output buffer. Upon return, it + should be set to the number of bytes written. */ int (*crypt_ctx_update)(void *ctx, const unsigned char* src, unsigned int slen, unsigned char* dst, unsigned int* dlen); @@ -123,4 +126,3 @@ struct st_mariadb_encryption } #endif #endif - |