X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilccrypt%2Fsilcpkcs1.h;h=2218106e49d0b3ab4c88daaf1e42e7f5919d11e4;hb=e7b6c157b80152bf9fb9266e6bdd93f9fb0db776;hp=573777c17c6cdf78988680c252e426bb14b78b77;hpb=c257b555225193e54d85daf541d29578b3c93882;p=silc.git diff --git a/lib/silccrypt/silcpkcs1.h b/lib/silccrypt/silcpkcs1.h index 573777c1..2218106e 100644 --- a/lib/silccrypt/silcpkcs1.h +++ b/lib/silccrypt/silcpkcs1.h @@ -4,7 +4,7 @@ Author: Pekka Riikonen - Copyright (C) 2003 Pekka Riikonen + Copyright (C) 2003 - 2005 Pekka Riikonen 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 @@ -56,12 +56,12 @@ typedef enum { * * SYNOPSIS * - * bool silc_pkcs1_encode(SilcPkcs1BlockType bt, - * const unsigned char *data, - * SilcUInt32 data_len, - * unsigned char *dest_data, - * SilcUInt32 dest_data_size, - * SilcRng rng); + * SilcBool silc_pkcs1_encode(SilcPkcs1BlockType bt, + * const unsigned char *data, + * SilcUInt32 data_len, + * unsigned char *dest_data, + * SilcUInt32 dest_data_size, + * SilcRng rng); * * DESCRIPTION * @@ -77,23 +77,23 @@ typedef enum { * function returns TRUE on success. * ***/ -bool silc_pkcs1_encode(SilcPkcs1BlockType bt, - const unsigned char *data, - SilcUInt32 data_len, - unsigned char *dest_data, - SilcUInt32 dest_data_size, - SilcRng rng); +SilcBool silc_pkcs1_encode(SilcPkcs1BlockType bt, + const unsigned char *data, + SilcUInt32 data_len, + unsigned char *dest_data, + SilcUInt32 dest_data_size, + SilcRng rng); /****f* silccrypt/SilcPKCS1API/silc_pkcs1_decode * * SYNOPSIS * - * bool silc_pkcs1_decode(SilcPkcs1BlockType bt, - * const unsigned char *data, - * SilcUInt32 data_len, - * unsigned char *dest_data, - * SilcUInt32 dest_data_size, - * SilcUInt32 *dest_len); + * SilcBool silc_pkcs1_decode(SilcPkcs1BlockType bt, + * const unsigned char *data, + * SilcUInt32 data_len, + * unsigned char *dest_data, + * SilcUInt32 dest_data_size, + * SilcUInt32 *dest_len); * * DESCRIPTION * @@ -105,11 +105,11 @@ bool silc_pkcs1_encode(SilcPkcs1BlockType bt, * Returns the decoded length into `dest_len'. * ***/ -bool silc_pkcs1_decode(SilcPkcs1BlockType bt, - const unsigned char *data, - SilcUInt32 data_len, - unsigned char *dest_data, - SilcUInt32 dest_data_size, - SilcUInt32 *dest_len); +SilcBool silc_pkcs1_decode(SilcPkcs1BlockType bt, + const unsigned char *data, + SilcUInt32 data_len, + unsigned char *dest_data, + SilcUInt32 dest_data_size, + SilcUInt32 *dest_len); #endif /* SILCPKCS1_H */