Microchip® Advanced Software Framework

winc1500/host_drv/driver/include/m2m_ssl.h File Reference

WINC Application Interface Internal Types.

Copyright (c) 2017-2021 Microchip Technology Inc. and its subsidiaries.

#include "common/include/nm_common.h"
#include "driver/include/m2m_types.h"
#include "driver/source/nmdrv.h"
#include "ecc_types.h"
#include "socket/include/socket.h"

Typedefs

typedef void(* tpfAppSSLCb )(uint8 u8MsgType, void *pvMsg)
 

Functions

NMI_API void m2m_ssl_ecc_process_done (void)
 Allow SSL driver to tidy up after application has finished processing ECC message. More...
 
NMI_API sint8 m2m_ssl_handshake_rsp (tstrEccReqInfo *strECCResp, uint8 *pu8RspDataBuff, uint16 u16RspDataSz)
 Sends ECC responses to the WINC. More...
 
NMI_API sint8 m2m_ssl_init (tpfAppSSLCb pfAppSSLCb)
 Initializes the SSL layer. More...
 
NMI_API sint8 m2m_ssl_retrieve_cert (uint16 *pu16Curve, uint8 *pu8Value, uint8 *pu8Sig, tstrECPoint *pstrKey)
 Retrieve the next set of information from the WINC for ECDSA verification. More...
 
NMI_API sint8 m2m_ssl_retrieve_hash (uint8 *pu8Value, uint16 u16ValueSz)
 Retrieve the value from the WINC for ECDSA signing. More...
 
NMI_API sint8 m2m_ssl_retrieve_next_for_verifying (tenuEcNamedCurve *penuCurve, uint8 *pu8Value, uint16 *pu16ValueSz, uint8 *pu8Sig, uint16 *pu16SigSz, tstrECPoint *pstrKey)
 Retrieve the next set of information from the WINC for ECDSA verification. More...
 
NMI_API sint8 m2m_ssl_send_certs_to_winc (uint8 *pu8Buffer, uint32 u32BufferSz)
 Sends certificates to the WINC. More...
 
NMI_API sint8 m2m_ssl_set_active_ciphersuites (uint32 u32SslCsBMP)
 Sets the active ciphersuites. More...
 
NMI_API void m2m_ssl_stop_processing_certs (void)
 Allow SSL driver to tidy up in case application does not read all available certificates. More...
 
NMI_API void m2m_ssl_stop_retrieving (void)
 Allow SSL driver to tidy up when the application chooses not to retrieve all available information. More...
 

typedef void(* tpfAppSSLCb)(uint8 u8MsgType, void *pvMsg)