comparison libtomcrypt/src/misc/pkcs5/pkcs_5_1.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_5_1.c 14 @file pkcs_5_1.c
15 PKCS #5, Algorithm #1, Tom St Denis 15 LTC_PKCS #5, Algorithm #1, Tom St Denis
16 */ 16 */
17 #ifdef PKCS_5 17 #ifdef LTC_PKCS_5
18 /** 18 /**
19 Execute PKCS #5 v1 19 Execute LTC_PKCS #5 v1
20 @param password The password (or key) 20 @param password The password (or key)
21 @param password_len The length of the password (octet) 21 @param password_len The length of the password (octet)
22 @param salt The salt (or nonce) which is 8 octets long 22 @param salt The salt (or nonce) which is 8 octets long
23 @param iteration_count The PKCS #5 v1 iteration count 23 @param iteration_count The LTC_PKCS #5 v1 iteration count
24 @param hash_idx The index of the hash desired 24 @param hash_idx The index of the hash desired
25 @param out [out] The destination for this algorithm 25 @param out [out] The destination for this algorithm
26 @param outlen [in/out] The max size and resulting size of the algorithm output 26 @param outlen [in/out] The max size and resulting size of the algorithm output
27 @return CRYPT_OK if successful 27 @return CRYPT_OK if successful
28 */ 28 */
99 return err; 99 return err;
100 } 100 }
101 101
102 #endif 102 #endif
103 103
104 /* $Source: /cvs/libtom/libtomcrypt/src/misc/pkcs5/pkcs_5_1.c,v $ */ 104 /* $Source$ */
105 /* $Revision: 1.5 $ */ 105 /* $Revision$ */
106 /* $Date: 2006/03/31 14:15:35 $ */ 106 /* $Date$ */