Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: NNN50_CE_Test_UDP NNN50_linux_firmware NNN50_SoftAP_HelloWorld NNN50_BLEWIFISensor ... more
Functions | |
| NMI_API sint8 | m2m_ssl_handshake_rsp (tstrEccReqInfo *strECCResp, uint8 *pu8RspDataBuff, uint16 u16RspDataSz) |
| Sends ECC responses to the WINC. | |
| NMI_API sint8 | m2m_ssl_send_certs_to_winc (uint8 *pu8Buffer, uint32 u32BufferSz) |
| Sends certificates to the WINC. | |
| NMI_API sint8 | m2m_ssl_retrieve_cert (uint16 *pu16CurveType, uint8 *pu8Hash, uint8 *pu8Sig, tstrECPoint *pu8Key) |
| Retrieve the certificate to be verified from the WINC. | |
| NMI_API sint8 | m2m_ssl_retrieve_hash (uint8 *pu8Hash, uint16 u16HashSz) |
| Retrieve the certificate hash. | |
| NMI_API void | m2m_ssl_stop_processing_certs (void) |
| Allow ssl driver to tidy up in case application does not read all available certificates. | |
| NMI_API void | m2m_ssl_ecc_process_done (void) |
| Allow ssl driver to tidy up after application has finished processing ecc message. | |
| sint8 | m2m_ssl_set_active_ciphersuites (uint32 u32SslCsBMP) |
Function Documentation
| m2m_ssl_ecc_process_done | ( | void | ) |
| NMI_API sint8 m2m_ssl_retrieve_cert | ( | uint16 * | pu16CurveType, |
| uint8 * | pu8Hash, | ||
| uint8 * | pu8Sig, | ||
| tstrECPoint * | pu8Key | ||
| ) |
Retrieve the certificate to be verified from the WINC.
- Parameters:
-
[in] pu16CurveType Pointer to the certificate curve type. [in] pu8Hash Pointer to the certificate hash. [in] pu8Sig Pointer to the certificate signature. [in] pu8Key Pointer to the certificate Key.
- Returns:
- The function SHALL return 0 for success and a negative value otherwise.
| m2m_ssl_set_active_ciphersuites | ( | uint32 | u32SslCsBMP ) |
Override the default Active SSL ciphers in the SSL module with a certain combination selected by the caller in the form of a bitmap containing the required ciphers to be on. There is no need to call this function if the application will not change the default ciphersuites.
- Parameters:
-
[in] u32SslCsBMP Bitmap containing the desired ciphers to be enabled for the SSL module. The ciphersuites are defined in TLS Cipher Suite IDs. The default ciphersuites are all ciphersuites supported by the firmware with the exception of ECC ciphersuites. The caller can override the default with any desired combination, except for combinations involving both RSA and ECC; if any RSA ciphersuite is enabled, then firmware will disable all ECC ciphersuites. If u32SslCsBMP does not contain any ciphersuites supported by firmware, then the current active list will not be changed.
- Returns:
- [SOCK_ERR_NO_ERROR](SOCK_ERR_NO_ERROR)
- [SOCK_ERR_INVALID_ARG](SOCK_ERR_INVALID_ARG)
Generated on Wed Jul 13 2022 16:32:38 by
1.7.2