IoT managed integrations End Device SDK
Loading...
Searching...
No Matches
iotmi_pal_Crypto.h
Go to the documentation of this file.
1/*
2 * Copyright 2025 Amazon.com, Inc. or its affiliates. All rights reserved.
3 *
4 * AMAZON PROPRIETARY/CONFIDENTIAL
5 *
6 * You may not use this file except in compliance with the terms and
7 * conditions set forth in the accompanying LICENSE.txt file.
8 *
9 * THESE MATERIALS ARE PROVIDED ON AN "AS IS" BASIS. AMAZON SPECIFICALLY
10 * DISCLAIMS, WITH RESPECT TO THESE MATERIALS, ALL WARRANTIES, EXPRESS,
11 * IMPLIED, OR STATUTORY, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY,
12 * FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
13 */
14
20#ifndef IOTMI_PAL_CRYPTO_H_
21#define IOTMI_PAL_CRYPTO_H_
22
23#include <stddef.h>
24#include <stdint.h>
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30#if IOTMI_USE_WSS_PROVISIONEE == 1
31
45int32_t iotmiPal_hkdf_expand(const uint8_t* prk, size_t prk_len,
46 const uint8_t* info, size_t info_len,
47 uint8_t* output, size_t output_len);
48
59int32_t iotmiPal_sha384(const uint8_t* input, size_t input_len, uint8_t* output,
60 size_t output_size);
61
62#endif /* IOTMI_USE_WSS_PROVISIONEE == 1 */
63
64#ifdef __cplusplus
65}
66#endif
67
68#endif /* ifndef IOTMI_PAL_CRYPTO_H_ */