Bug 1928997: Update tabs icon in Unified Search popup r=desktop-theme-reviewers,daleh...
[gecko.git] / security / manager / ssl / crypto_hash / crypto_hash_sha2.h
blobabccb556a42f31568b36847cb78b61619fdcbdf3
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef crypto_hash_sha2_h
6 #define crypto_hash_sha2_h
8 #include <stdint.h>
9 #include <stddef.h>
11 extern "C" {
12 // 32 bytes will be written to `output` so it must point at a buffer
13 // at least that big.
14 void crypto_hash_sha256(const uint8_t* input, size_t length, uint8_t* output);
17 #endif // crypto_hash_sha2_h