zephyr/tests/subsys/jwt
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
..
src
CMakeLists.txt
prj.conf
testcase.yaml