Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

padd.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile: padd.h,v $
00003  -------------------
00004  cvs         : $Id: padd.h,v 1.3 2005/03/25 17:35:27 aquamaniac Exp $
00005  begin       : Mon Jan 05 2004
00006  copyright   : (C) 2004 by Martin Preuss
00007  email       : martin@libchipcard.de
00008 
00009  ***************************************************************************
00010  *                                                                         *
00011  *   This library is free software; you can redistribute it and/or         *
00012  *   modify it under the terms of the GNU Lesser General Public            *
00013  *   License as published by the Free Software Foundation; either          *
00014  *   version 2.1 of the License, or (at your option) any later version.    *
00015  *                                                                         *
00016  *   This library is distributed in the hope that it will be useful,       *
00017  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00018  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00019  *   Lesser General Public License for more details.                       *
00020  *                                                                         *
00021  *   You should have received a copy of the GNU Lesser General Public      *
00022  *   License along with this library; if not, write to the Free Software   *
00023  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston,                 *
00024  *   MA  02111-1307  USA                                                   *
00025  *                                                                         *
00026  ***************************************************************************/
00027 
00028 #ifndef GWEN_PADD_H
00029 #define GWEN_PADD_H
00030 
00031 #include <gwenhywfar/buffer.h>
00032 
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif
00036 
00037 
00048 
00055 GWENHYWFAR_API
00056 int GWEN_Padd_PaddWithISO9796(GWEN_BUFFER *src);
00057 
00070 GWENHYWFAR_API
00071 int GWEN_Padd_PaddWithANSIX9_23(GWEN_BUFFER *src);
00072 
00077 GWENHYWFAR_API
00078 int GWEN_Padd_UnpaddWithANSIX9_23(GWEN_BUFFER *src);
00079 
00080 
00081 GWENHYWFAR_API
00082 int GWEN_Padd_PaddWithPkcs1Bt1(GWEN_BUFFER *src, int dstSize);
00083 
00084 GWENHYWFAR_API
00085 int GWEN_Padd_UnpaddWithPkcs1Bt1(GWEN_BUFFER *src);
00086 
00087 GWENHYWFAR_API
00088 int GWEN_Padd_PaddWithPkcs1Bt2(GWEN_BUFFER *src, int dstSize);
00089 
00090 GWENHYWFAR_API
00091 int GWEN_Padd_UnpaddWithPkcs1Bt2(GWEN_BUFFER *src);
00092 
00095 #ifdef __cplusplus
00096 }
00097 #endif
00098 
00099 
00100 
00101 #endif /* GWEN_PADD_H */
00102 

Generated on Wed Oct 5 15:12:37 2005 for gwenhywfar by  doxygen 1.4.4