~ubuntu-branches/ubuntu/saucy/wpasupplicant/saucy

« back to all changes in this revision

Viewing changes to src/crypto/md5_i.h

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2010-11-22 09:43:43 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20101122094343-qgsxaojvmswfri77
Tags: 0.7.3-0ubuntu1
* Get wpasupplicant 0.7.3 from Debian's SVN. Leaving 0.7.3-1 as unreleased
  for now.
* Build-Depend on debhelper 8, since the packaging from Debian uses compat 8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * MD5 internal definitions
 
3
 * Copyright (c) 2003-2005, Jouni Malinen <j@w1.fi>
 
4
 *
 
5
 * This program is free software; you can redistribute it and/or modify
 
6
 * it under the terms of the GNU General Public License version 2 as
 
7
 * published by the Free Software Foundation.
 
8
 *
 
9
 * Alternatively, this software may be distributed under the terms of BSD
 
10
 * license.
 
11
 *
 
12
 * See README and COPYING for more details.
 
13
 */
 
14
 
 
15
#ifndef MD5_I_H
 
16
#define MD5_I_H
 
17
 
 
18
struct MD5Context {
 
19
        u32 buf[4];
 
20
        u32 bits[2];
 
21
        u8 in[64];
 
22
};
 
23
 
 
24
void MD5Init(struct MD5Context *context);
 
25
void MD5Update(struct MD5Context *context, unsigned char const *buf,
 
26
               unsigned len);
 
27
void MD5Final(unsigned char digest[16], struct MD5Context *context);
 
28
 
 
29
#endif /* MD5_I_H */