~ubuntu-branches/ubuntu/feisty/wpasupplicant/feisty

« back to all changes in this revision

Viewing changes to sha1.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2007-04-01 10:53:37 UTC
  • Revision ID: james.westby@ubuntu.com-20070401105337-3dd89n3g8ecdhjsl
Tags: 0.5.7-0ubuntu2
Apply patch from upstream after private email discussion:
http://w1.fi/gitweb/gitweb.cgi?p=hostap.git;a=commitdiff;h=33673d3f43da6f5ec0f0aa5a8245a1617b6eb2fd#patch1
Fixes LP: #98895, #98925

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
void pbkdf2_sha1(const char *passphrase, const char *ssid, size_t ssid_len,
31
31
                 int iterations, u8 *buf, size_t buflen);
32
32
 
33
 
#ifdef CONFIG_CRYPTO_INTERNAL
34
 
struct SHA1Context;
35
 
 
36
 
void SHA1Init(struct SHA1Context *context);
37
 
void SHA1Update(struct SHA1Context *context, const void *data, u32 len);
38
 
void SHA1Final(unsigned char digest[20], struct SHA1Context *context);
39
 
#endif /* CONFIG_CRYPTO_INTERNAL */
40
 
 
41
33
#endif /* SHA1_H */