esp_srp_get_session_key() function
Get session key in `*bytes_key` given by len in `*len_key`. [Step2.c]. This calculated session key is used for further communication given the proofs are exchanged/authenticated with `esp_srp_exchange_proofs`
Arguments
bytes_key
Key returned to the caller
len_key
length of the key in *bytes_key
Return value
esp_err_t ESP_OK on success, appropriate error otherwise
Notes
*bytes_key MUST NOT BE FREED BY THE CALLER
esp_srp_get_session_key() is called by 1 function and calls 11 functions:
![]()
esp_srp_get_session_key()
esp_srp_get_session_key() reads 7 variables and writes 4 variables:
![]()
esp_srp_get_session_key()