~ubuntu-branches/ubuntu/utopic/nettle/utopic

« back to all changes in this revision

Viewing changes to salsa20.h

  • Committer: Package Import Robot
  • Author(s): Magnus Holmgren
  • Date: 2013-03-24 11:38:21 UTC
  • mto: (1.4.6) (3.1.11 experimental)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: package-import@ubuntu.com-20130324113821-3rsmekqi09c93lnh
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 * 
21
21
 * You should have received a copy of the GNU Lesser General Public License
22
22
 * along with the nettle library; see the file COPYING.LIB.  If not, write to
23
 
 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
24
 
 * MA 02111-1307, USA.
 
23
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 
24
 * MA 02111-1301, USA.
25
25
 */
26
26
 
27
27
#ifndef NETTLE_SALSA20_H_INCLUDED
37
37
#define salsa20_set_key nettle_salsa20_set_key
38
38
#define salsa20_set_iv nettle_salsa20_set_iv
39
39
#define salsa20_crypt nettle_salsa20_crypt
 
40
#define _salsa20_core _nettle_salsa20_core
40
41
 
41
42
/* Minimum and maximum keysizes, and a reasonable default. In
42
43
 * octets.*/
75
76
              unsigned length, uint8_t *dst,
76
77
              const uint8_t *src);
77
78
 
 
79
void
 
80
_salsa20_core(uint32_t *dst, const uint32_t *src, unsigned rounds);
 
81
 
78
82
#ifdef __cplusplus
79
83
}
80
84
#endif