diff options
author | peter@linux.local <> | 2002-06-14 15:14:30 +0400 |
---|---|---|
committer | peter@linux.local <> | 2002-06-14 15:14:30 +0400 |
commit | d505803728df8acb95e112464b85606dce8d139a (patch) | |
tree | f47e08fb9e4c935c0c094ada6d7b5861615d6609 /include/my_aes.h | |
parent | 7e80b0588481b42051e372dc4960a6ecdb837d4e (diff) | |
download | mariadb-git-d505803728df8acb95e112464b85606dce8d139a.tar.gz |
This is just code style/minor optimizations cleanup changeset
Diffstat (limited to 'include/my_aes.h')
-rw-r--r-- | include/my_aes.h | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/include/my_aes.h b/include/my_aes.h index 9aa250d0d3a..48ee11d15e5 100644 --- a/include/my_aes.h +++ b/include/my_aes.h @@ -1,18 +1,18 @@ -/* Copyright (C) 2002 MySQL AB & MySQL Finland AB & TCX DataKonsult AB - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +/* Copyright (C) 2002 MySQL AB & MySQL Finland AB & TCX DataKonsult AB + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /* Header file for my_aes.c */ @@ -33,7 +33,7 @@ extern "C" { #endif /* -my_aes_crypt - Crypt buffer with AES encryption algorithm. +my_aes_encrypt - Crypt buffer with AES encryption algorithm. source - Pinter to data for encryption source_length - size of encruption data dest - buffer to place encrypted data (must be large enough) @@ -65,7 +65,8 @@ int my_aes_decrypt(const char* source, int source_length, const char* dest, /* -my_aes_get_size - get size of buffer which will be large enough for encrypted data +my_aes_get_size - get size of buffer which will be large enough for encrypted + data source_length - length of data to be encrypted returns - size of buffer required to store encrypted data |