nrfxlib API 3.3.99
Loading...
Searching...
No Matches
ocrypto_sha384.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2016 - 2025 Nordic Semiconductor ASA
3 * Copyright (c) since 2013 Oberon microsystems AG
4 *
5 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
6 */
7
8
30#ifndef OCRYPTO_SHA384_H
31#define OCRYPTO_SHA384_H
32
33#include "ocrypto_sha512.h"
34
35
36#ifdef __cplusplus
37extern "C" {
38#endif
39
40
44#define ocrypto_sha384_BYTES (48)
45
47typedef ocrypto_sha512_ctx ocrypto_sha384_ctx;
67 ocrypto_sha384_ctx *ctx);
68
84 ocrypto_sha384_ctx *ctx,
85 const uint8_t *in, size_t in_len);
86
104 ocrypto_sha384_ctx *ctx,
105 uint8_t r[ocrypto_sha384_BYTES]);
118 uint8_t r[ocrypto_sha384_BYTES],
119 const uint8_t *in, size_t in_len);
120
121#ifdef __cplusplus
122}
123#endif
124
125#endif
126
void ocrypto_sha384_update(ocrypto_sha384_ctx *ctx, const uint8_t *in, size_t in_len)
#define ocrypto_sha384_BYTES
Definition ocrypto_sha384.h:44
void ocrypto_sha384_init(ocrypto_sha384_ctx *ctx)
void ocrypto_sha384_final(ocrypto_sha384_ctx *ctx, uint8_t r[(48)])
void ocrypto_sha384(uint8_t r[(48)], const uint8_t *in, size_t in_len)
SHA512 algorithm, a member of the SHA2 family, with 512 bit outputs.