rmd160.c (116191) | rmd160.c (139825) |
---|---|
1/* $OpenBSD: rmd160.c,v 1.3 2001/09/26 21:40:13 markus Exp $ */ | 1/* $OpenBSD: rmd160.c,v 1.3 2001/09/26 21:40:13 markus Exp $ */ |
2/* | 2/*- |
3 * Copyright (c) 2001 Markus Friedl. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright --- 14 unchanged lines hidden (view full) --- 25 26/* 27 * Preneel, Bosselaers, Dobbertin, "The Cryptographic Hash Function RIPEMD-160", 28 * RSA Laboratories, CryptoBytes, Volume 3, Number 2, Autumn 1997, 29 * ftp://ftp.rsasecurity.com/pub/cryptobytes/crypto3n2.pdf 30 */ 31 32#include <sys/cdefs.h> | 3 * Copyright (c) 2001 Markus Friedl. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright --- 14 unchanged lines hidden (view full) --- 25 26/* 27 * Preneel, Bosselaers, Dobbertin, "The Cryptographic Hash Function RIPEMD-160", 28 * RSA Laboratories, CryptoBytes, Volume 3, Number 2, Autumn 1997, 29 * ftp://ftp.rsasecurity.com/pub/cryptobytes/crypto3n2.pdf 30 */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/sys/opencrypto/rmd160.c 116191 2003-06-11 05:57:50Z obrien $"); | 33__FBSDID("$FreeBSD: head/sys/opencrypto/rmd160.c 139825 2005-01-07 02:29:27Z imp $"); |
34 35#include <sys/param.h> 36#include <sys/systm.h> 37#include <sys/endian.h> 38#include <opencrypto/rmd160.h> 39 40#define PUT_64BIT_LE(cp, value) do { \ 41 (cp)[7] = (value) >> 56; \ --- 326 unchanged lines hidden --- | 34 35#include <sys/param.h> 36#include <sys/systm.h> 37#include <sys/endian.h> 38#include <opencrypto/rmd160.h> 39 40#define PUT_64BIT_LE(cp, value) do { \ 41 (cp)[7] = (value) >> 56; \ --- 326 unchanged lines hidden --- |