comparison libtomcrypt/src/misc/pkcs5/pkcs_5_2.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_2.c 14 @file pkcs_5_2.c
15 PKCS #5, Algorithm #2, Tom St Denis 15 LTC_PKCS #5, Algorithm #2, Tom St Denis
16 */ 16 */
17 #ifdef PKCS_5 17 #ifdef LTC_PKCS_5
18 18
19 /** 19 /**
20 Execute PKCS #5 v2 20 Execute LTC_PKCS #5 v2
21 @param password The input password (or key) 21 @param password The input password (or key)
22 @param password_len The length of the password (octets) 22 @param password_len The length of the password (octets)
23 @param salt The salt (or nonce) 23 @param salt The salt (or nonce)
24 @param salt_len The length of the salt (octets) 24 @param salt_len The length of the salt (octets)
25 @param iteration_count # of iterations desired for PKCS #5 v2 [read specs for more] 25 @param iteration_count # of iterations desired for LTC_PKCS #5 v2 [read specs for more]
26 @param hash_idx The index of the hash desired 26 @param hash_idx The index of the hash desired
27 @param out [out] The destination for this algorithm 27 @param out [out] The destination for this algorithm
28 @param outlen [in/out] The max size and resulting size of the algorithm output 28 @param outlen [in/out] The max size and resulting size of the algorithm output
29 @return CRYPT_OK if successful 29 @return CRYPT_OK if successful
30 */ 30 */
122 } 122 }
123 123
124 #endif 124 #endif
125 125
126 126
127 /* $Source: /cvs/libtom/libtomcrypt/src/misc/pkcs5/pkcs_5_2.c,v $ */ 127 /* $Source$ */
128 /* $Revision: 1.5 $ */ 128 /* $Revision$ */
129 /* $Date: 2006/03/31 14:15:35 $ */ 129 /* $Date$ */