Function anjay_sim_bootstrap_calculate_md5

Function Documentation

avs_error_t anjay_sim_bootstrap_calculate_md5(avs_stream_t *stream, anjay_sim_bootstrap_md5_t *md5)

Calulates MD5 hash value of a Bootstrap Information stored in an avs_stream_t object previously created with anjay_sim_bootstrap_stream_create().

Parameters:
  • stream – Stream to opeate on. avs_stream_reset() is called on it on function exit.

  • md5 – Pointer to an array of AVS_COMMONS_MD5_LENGTH size that will be filled with MD5 hash value

Returns:

AVS_OK in case of success, or an error code.