NET Library Function List

Functions

Getting States

NETGetWirelessMacAddress Gets the MAC address of the Wi-Fi module.

Network

NETGetStartupErrorCode The error value returned by the SOStartup function is converted into an error code to show to the user.

Endian

NETSwapBytes16
NETSwapBytes32
Reverses byte order.
NETReadSwappedBytes16
NETReadSwappedBytes32
Reverses byte order and reads.
NETWriteSwappedBytes16
NETWriteSwappedBytes32
Reverses byte order and writes.
NETCalcCRC16
NETCalcCRC32
Calculates the CRC value.

Hash

NETMD5Init Initializes the MD5 context structure.
NETMD5Update Updates the MD5 context structure based on input data.
NETMD5GetDigest Gets the digest value from the MD5 context structure.
NETCalcMD5 Executes initialization, calculation, and hash value acquisition of MD5 all together.
NETSHA1Init Initializes the SHA-1 context structure.
NETSHA1Update Updates the SHA-1 context structure based on input data.
NETSHA1GetDigest Gets the hash value from the SHA-1 context structure.
NETCalcSHA1 Executes initialization, calculation, and hash value acquisition of SHA-1 all together.
NETCalcHMACMD5
NETCalcHMACSHA1
Gets the hash value based on HMAC calculation.

Encryption

NETLockCrypto Starts the use of encryption processing.
NETUnlockCrypto Ends the use of encryption processing.
NETAESCreate Generates an AES encryption context.
NETAESDelete Releases the AES encryption context.
NETAESEncrypt Executes the AES encryption process.
NETAESDecrypt Executes the AES decryption process.
NETECCCreate Generates an ECC signature context.
NETECCDelete Releases the ECC signature context.
NETECCUpdate Inputs data to the ECC signature context.
NETECCGetSign Gets the ECC signature.
NETECCVerifySign Verifies the ECC signature.

Types and Structures

NETMD5Context Context structure used by MD5 functions.
NETSHA1Context Context structure used by SHA-1 functions.
NETAESContext Context structure used by AES functions.
NETECCContext Context structure used by ECC functions.
Hash algorithm This is a list of algorithms supported by the NET library.

CONFIDENTIAL