Mercurial > dropbear
comparison libtomcrypt/src/pk/pkcs1/pkcs_1_pss_decode.c @ 1439:8d24733026c5 coverity
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 24 Jun 2017 23:33:16 +0800 |
parents | f849a5ca2efc |
children | 6dba84798cd5 |
comparison
equal
deleted
inserted
replaced
1400:238a439670f5 | 1439:8d24733026c5 |
---|---|
4 * algorithms in a highly modular and flexible manner. | 4 * algorithms in a highly modular and flexible manner. |
5 * | 5 * |
6 * The library is free for all purposes without any express | 6 * The library is free for all purposes without any express |
7 * guarantee it works. | 7 * guarantee it works. |
8 * | 8 * |
9 * Tom St Denis, [email protected], http://libtomcrypt.com | 9 * Tom St Denis, [email protected], http://libtom.org |
10 */ | 10 */ |
11 #include "tomcrypt.h" | 11 #include "tomcrypt.h" |
12 | 12 |
13 /** | 13 /** |
14 @file pkcs_1_pss_decode.c | 14 @file pkcs_1_pss_decode.c |
15 PKCS #1 PSS Signature Padding, Tom St Denis | 15 LTC_PKCS #1 PSS Signature Padding, Tom St Denis |
16 */ | 16 */ |
17 | 17 |
18 #ifdef PKCS_1 | 18 #ifdef LTC_PKCS_1 |
19 | 19 |
20 /** | 20 /** |
21 PKCS #1 v2.00 PSS decode | 21 LTC_PKCS #1 v2.00 PSS decode |
22 @param msghash The hash to verify | 22 @param msghash The hash to verify |
23 @param msghashlen The length of the hash (octets) | 23 @param msghashlen The length of the hash (octets) |
24 @param sig The signature data (encoded data) | 24 @param sig The signature data (encoded data) |
25 @param siglen The length of the signature data (octets) | 25 @param siglen The length of the signature data (octets) |
26 @param saltlen The length of the salt used (octets) | 26 @param saltlen The length of the salt used (octets) |
168 XFREE(DB); | 168 XFREE(DB); |
169 | 169 |
170 return err; | 170 return err; |
171 } | 171 } |
172 | 172 |
173 #endif /* PKCS_1 */ | 173 #endif /* LTC_PKCS_1 */ |
174 | 174 |
175 /* $Source: /cvs/libtom/libtomcrypt/src/pk/pkcs1/pkcs_1_pss_decode.c,v $ */ | 175 /* $Source$ */ |
176 /* $Revision: 1.9 $ */ | 176 /* $Revision$ */ |
177 /* $Date: 2006/11/30 02:37:21 $ */ | 177 /* $Date$ */ |