Browse Source

Wrap long line.

OPENBSD_5_5
jsing 10 years ago
parent
commit
3d91c77a21
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/lib/libutil/pkcs5_pbkdf2.c

+ 3
- 3
src/lib/libutil/pkcs5_pbkdf2.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: pkcs5_pbkdf2.c,v 1.4 2013/06/03 21:07:02 tedu Exp $ */
/* $OpenBSD: pkcs5_pbkdf2.c,v 1.5 2014/01/18 07:12:04 jsing Exp $ */
/*-
* Copyright (c) 2008 Damien Bergamini <damien.bergamini@free.fr>
@ -73,8 +73,8 @@ hmac_sha1(const u_int8_t *text, size_t text_len, const u_int8_t *key,
* Code based on IEEE Std 802.11-2007, Annex H.4.2.
*/
int
pkcs5_pbkdf2(const char *pass, size_t pass_len, const uint8_t *salt, size_t salt_len,
uint8_t *key, size_t key_len, unsigned int rounds)
pkcs5_pbkdf2(const char *pass, size_t pass_len, const uint8_t *salt,
size_t salt_len, uint8_t *key, size_t key_len, unsigned int rounds)
{
uint8_t *asalt, obuf[SHA1_DIGEST_LENGTH];
uint8_t d1[SHA1_DIGEST_LENGTH], d2[SHA1_DIGEST_LENGTH];


Loading…
Cancel
Save