Home
last modified time | relevance | path

Searched refs:s_ds_data (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-latest/components/mbedtls/port/esp_ds/
Desp_rsa_sign_alt.c39 static esp_ds_data_t *s_ds_data; variable
73 s_ds_data = ds_data->esp_ds_data; in esp_ds_init_data_ctx()
78 if (esp_ptr_byte_accessible(s_ds_data)) { in esp_ds_init_data_ctx()
80 s_ds_data->rsa_length = rsa_length_int; in esp_ds_init_data_ctx()
81 } else if (s_ds_data->rsa_length != rsa_length_int) { in esp_ds_init_data_ctx()
88 ESP_LOGE(TAG, "RSA length mismatch %u, %u", s_ds_data->rsa_length, rsa_length_int); in esp_ds_init_data_ctx()
106 return ((s_ds_data->rsa_length + 1) * FACTOR_KEYLEN_IN_BYTES); in esp_ds_get_keylen()
231 …uint32_t *signature = heap_caps_malloc_prefer((s_ds_data->rsa_length + 1) * FACTOR_KEYLEN_IN_BYTES… in esp_ds_rsa_sign()
237 …if ((ret = (rsa_rsassa_pkcs1_v15_encode( md_alg, hashlen, hash, ((s_ds_data->rsa_length + 1) * FAC… in esp_ds_rsa_sign()
243 for (unsigned int i = 0; i < (s_ds_data->rsa_length + 1); i++) { in esp_ds_rsa_sign()
[all …]