Symbols
loading...
Files
loading...

pre_encrypted_ota sample sample

pre_encrypted_ota sample is a sample project defining the following symbols:

Most used functions

Name
Location
Summary
This function returns esp_decrypt_handle_t handle.
This function performs decryption on input data. This function must be called only if esp_encrypted_img_decrypt_start() returns successfully. This function must be called in a loop since input data might not contain whole binary at once. This function must be called till it return ESP_OK.
Get the size of pre encrypted binary image header (`struct pre_enc_bin_header`). The initial header in the image contains magic, credentials (symmetric key) and few other parameters. This API could be useful for scenarios where the entire decrypted image length must be computed by the application including the image header.
Checks if the complete data has been decrypted.

Other commonly used symbols

Name
Location
Summary
Pointer to data to be decrypted
Pointer to decrypted data
Length of the buffer pointed to by rsa_priv_key
3072 bit RSA private key in PEM format

Dependencies