Azure IoT middleware for FreeRTOS
azure_iot_crypto.h
Go to the documentation of this file.
1 /* Copyright (c) Microsoft Corporation.
2  * Licensed under the MIT License. */
3 
13 #include <stdint.h>
14 
15 #include "azure_iot_result.h"
16 
27  uint64_t ulInputSize,
28  const char * pucOutputPtr,
29  uint64_t ulOutputSize );
30 
46 AzureIoTResult_t AzureIoTCrypto_RS256Verify( const char * pucInputPtr,
47  uint64_t ulInputSize,
48  const char * pucSignaturePtr,
49  uint64_t ulSignatureSize,
50  const char * pucN,
51  uint64_t ullNSize,
52  const char * pucE,
53  uint64_t ullESize,
54  const char * pucBufferPtr,
55  uint32_t ulBufferSize );
AzureIoTResult_t AzureIoTCrypto_SHA256Calculate(const char *pucInputPtr, uint64_t ulInputSize, const char *pucOutputPtr, uint64_t ulOutputSize)
Calculate a SHA256 hash.
AzureIoTResult_t AzureIoTCrypto_RS256Verify(const char *pucInputPtr, uint64_t ulInputSize, const char *pucSignaturePtr, uint64_t ulSignatureSize, const char *pucN, uint64_t ullNSize, const char *pucE, uint64_t ullESize, const char *pucBufferPtr, uint32_t ulBufferSize)
Verify an RS256 signed payload.
Azure IoT FreeRTOS middleware result values.
enum AzureIoTResult AzureIoTResult_t
The results used by the middleware.