Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.6.0.3
Functions
Provide An External API To Applications In Other Processes [OPENAPI_PW_SCRAMBLE]

Functions

open_error_t openapiPwDecrypt (openapiClientHandle_t *client_handle, open_buffdesc *encryptedPw, open_buffdesc *decryptedPw)
 Decrypt encrypted password. More...
 

Detailed Description

Function Documentation

open_error_t openapiPwDecrypt ( openapiClientHandle_t client_handle,
open_buffdesc encryptedPw,
open_buffdesc decryptedPw 
)

Decrypt encrypted password.

Parameters
[in]client_handleClient handle from registration API
[in]encryptedPwPointer to encrypted password string storage
  • Buffer allocated size must be at least
  • OPENAPI_ENCRYPTED_PASSWORD_SIZE
[out]decryptedPwPointer to dencrypted password string storage
  • Buffer allocated size must be at least
  • OPENAPI_DECRYPTED_PASSWORD_SIZE
Note
Use openapiPwLimitsGet to retrieve the values of OPENAPI_ENCRYPTED_PASSWORD_SIZE and OPENAPI_DECRYPTED_PASSWORD_SIZE
Return values
OPEN_E_NONEif successful
OPEN_E_FAILif operation failed
OPEN_E_PARAMif an invalid parameter was supplied

OpEN API Version: 1.8

Examples:
pw_scramble_example.c.