zephyr/include/zephyr/data
Benjamin Lemouzy 9f60075d14 jwt: remove jwt_payload_len function
The function jwt_payload_len doesn't return payload length but returns
used data in builder->buf

If jwt_payload_len is called after jwt_init_builder, header length will
be returned
If jwt_payload_len is called after jwt_add_payload, header+payload
length will be returned
If jwt_payload_len is called after jwt_sign, header+payload+sign length
will be returned

So, this commit removes the function and uses strlen instead

Signed-off-by: Benjamin Lemouzy <blemouzy@centralp.fr>
2024-10-08 18:10:41 -04:00
..
json.h json: support parsing and serializing 'uint64_t' 2024-10-05 14:04:48 -04:00
jwt.h jwt: remove jwt_payload_len function 2024-10-08 18:10:41 -04:00
navigation.h data: Add navigation utils header 2023-10-30 11:43:19 -04:00