nrfxlib API 2.7.99
Loading...
Searching...
No Matches
ocrypto_sha384.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2016 - 2024 Nordic Semiconductor ASA
3 * Copyright (c) since 2013 Oberon microsystems AG
4 *
5 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
6 */
7
8
23#ifndef OCRYPTO_SHA384_H
24#define OCRYPTO_SHA384_H
25
26#include "ocrypto_sha512.h"
27
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33
37#define ocrypto_sha384_BYTES (48)
38
40typedef ocrypto_sha512_ctx ocrypto_sha384_ctx;
58 ocrypto_sha384_ctx *ctx);
59
75 ocrypto_sha384_ctx *ctx,
76 const uint8_t *in, size_t in_len);
77
95 ocrypto_sha384_ctx *ctx,
96 uint8_t r[ocrypto_sha384_BYTES]);
109 uint8_t r[ocrypto_sha384_BYTES],
110 const uint8_t *in, size_t in_len);
111
112#ifdef __cplusplus
113}
114#endif
115
116#endif
117
void ocrypto_sha384_update(ocrypto_sha384_ctx *ctx, const uint8_t *in, size_t in_len)
#define ocrypto_sha384_BYTES
Definition: ocrypto_sha384.h:37
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)