MXOS Security Algorithm APIs
MXOS provides algorithms including security and verification.
Security algorithms are used to ensure the security and reliability of network data transmission.
⊕ mxos-demos SDK를 참조한다.
Security Algorithm List
| Algorithm | Security API | Description |
| MD5 The function of generating MD5 hash values for system data transmission. | ||
| MD5 | InitMd5 | Create an MD5 structure |
| Md5Update | Update MD5 processing buffer | |
| Md5Final | Output MD5 final summary content | |
| SHA The SHA hash value used for system data transmission includes four types: SHA1, SHA 256, SHA384, and SHA512. | ||
| SHA | USHAReset | Initializes a SHAContext, ready to calculate a new SHA message digest. |
| USHAInput | takes an eight-bit byte array as the next part of the message | |
| USHAFinalBits | Add any final bit of the message | |
| USHAResult | returns a message digest with the appropriate number of bits, to an array of callback functions | |
| USHABlockSize | returns the block size of the given SHA algorithm | |
| USHAHashSize | returns the hash size of the given SHA algorithm | |
| USHAHashSizeBits | Returns the hash size of the given SHA algorithm, expressed in bits | |
| USHAHashName | a string that returns the name of the SHA algorithm. | |
| HMAC MD5 Generation of HMAC_MD5 digest value for system data transfer. | ||
| HMAC MD5 | HmacSetKey | expands the key to a longer string |
| HmacUpdate | Build process cache | |
| HmacFinal | Final summary content output | |
| HMAC SHA Generation of HMAC_SHA digest value for system data transfer | ||
| HMAC SHA | hmacReset | Initializes a structure that stores the new HMAC message digest value |
| hmacInput | accepts an octet array as the next part of the message | |
| hmacResult | returns a N-byte message digest to the array in which the function definition is called. | |
| DES The key used to encrypt or decrypt DES. | ||
|
DES 64 bits |
Des_SetKey | DES extends the external key to a long string |
| Des_CbcEncrypt: | DES encryption process in cbc mode | |
| Des_CbcDecrypt | DES decryption process in cbc mode | |
|
DES 128 bits |
Des3_SetKey | DES3 extended external key to a long string |
| Des3_CbcEncrypt | DES3 encryption process in cbc mode | |
| Des3_CbcDecrypt | DES3 decryption process in cbc mode | |
| AES CBC Used to implement AES encryption or decryption. | ||
|
AES CBC Mode |
AesSetKey | AES extends the external key to a long string |
| AesCbcEncrypt | AES encryption process in cbc mode | |
| AesCbcEncrypt | AES decryption process in cbc mode | |
| AEC PKCS#5 AesCbcEncryptPkcs5Padding: cbc mode PKCS#5 filled AES encryption process | ||
|
AES PKCS#5 in CBC Mode |
AesCbcDecryptPkcs5Padding | cbc mode PKCS#5 filled AES decryption process Ecb mode |
| AesSetKeyDirect | AES extends the external key to a long string | |
| AesEncryptDirect | AES encryption process in ecb mode | |
| AesDecryptDirect | AES encryption process in ecb mode | |
| ARC4 Used to implement the encryption and decryption function of ARC4. | ||
| ARC4 | Arc4SetKey | Arc4 extended external key to a longer string |
| Arc4Process | ARC4 encryption or decryption process | |
| Rabbit Used to implement the encryption and decryption function of Rabbit. | ||
| Rabbit | RabbitSetKey | Rabbit extends the external key to a longer string |
| RabbitProcess | Rabbit encryption or decryption process | |
| RSA Used to implement RSA encryption and decryption. | ||
| RSA | InitRsaKey | Initialize RsaKey |
| FreeRsaKey | Release RsaKey | |
| InitRng | Initialize Rng for RSA | |
| RsaPublicEncryp | Encrypt the string with a public key | |
| RsaPrivateDecrypt | decrypt using a private key | |
| RsaSSL_Sign | Signing data using RSA | |
| RsaSSL_Verify | Verify data with RSA | |
| RsaPrivateKeyDecode | Decode private key | |
| RsaPublicKeyDecode | Decode the public key | |
이상 끝 ~~~
