codemod 2010-2016 to 2010-present
[hiphop-php.git] / hphp / runtime / ext / hash / hash_joaat.h
blobfa588e92d4929eb0d1e8c9e9cb259e1d7f66a44b
1 /*
2 +----------------------------------------------------------------------+
3 | HipHop for PHP |
4 +----------------------------------------------------------------------+
5 | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
6 | Copyright (c) 1997-2010 The PHP Group |
7 +----------------------------------------------------------------------+
8 | This source file is subject to version 3.01 of the PHP license, |
9 | that is bundled with this package in the file LICENSE, and is |
10 | available through the world-wide-web at the following url: |
11 | http://www.php.net/license/3_01.txt |
12 | If you did not receive a copy of the PHP license and are unable to |
13 | obtain it through the world-wide-web, please send a note to |
14 | license@php.net so we can mail you a copy immediately. |
15 +----------------------------------------------------------------------+
18 #ifndef incl_HPHP_EXT_HASH_JOAAT_H_
19 #define incl_HPHP_EXT_HASH_JOAAT_H_
21 #include "hphp/runtime/ext/hash/hash_engine.h"
23 namespace HPHP {
24 ///////////////////////////////////////////////////////////////////////////////
26 struct hash_joaat : HashEngine {
27 explicit hash_joaat();
29 virtual void hash_init(void *context) override;
30 virtual void hash_update(void *context, const unsigned char *buf,
31 unsigned int count) override;
32 virtual void hash_final(unsigned char *digest, void *context) override;
35 ///////////////////////////////////////////////////////////////////////////////
38 #endif // incl_HPHP_EXT_HASH_JOAAT_H_