blob: f929fb07d28a39719fdcda29f07a3f852a9aa659 [file] [log] [blame] [edit]
/* Copyright 2016 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "dcrypto.h"
#include "internal.h"
#include "cryptoc/sha512.h"
void DCRYPTO_SHA512_init(LITE_SHA512_CTX *ctx)
{
SHA512_init(ctx);
}
const uint8_t *DCRYPTO_SHA512_hash(const void *data, uint32_t n,
uint8_t *digest)
{
return SHA512_hash(data, n, digest);
}