{"data":{"slug":"discovered-1b237908aad349aeab34578051cb69f5796d13e34817e0e1","title":"TinyCrypt Port (rm_tinycrypt_port) API and Deprecated Wrappers","summary":"Manage and update the TinyCrypt port API names, deprecated RM_TINYCRYPT_PORT_* wrappers, and TRNG implementation, including test and usage notes.","url":"https:\/\/skillshunter.net\/skills\/discovered-1b237908aad349aeab34578051cb69f5796d13e34817e0e1","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-1b237908aad349aeab34578051cb69f5796d13e34817e0e1","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-1b237908aad349aeab34578051cb69f5796d13e34817e0e1.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-1b237908aad349aeab34578051cb69f5796d13e34817e0e1\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure that deprecated API names are marked with `\/\/ [DEPRECATED]` (LIN style) and that no compiler deprecation attributes are used, as they break the build with `-Werror` in `fsp_flags`.","instructions":"---\nname: tinycrypt\ndescription: TinyCrypt port (rm_tinycrypt_port) API names, deprecated RM_TINCYRYPT_PORT_* wrappers, TRNG, and their tests and usage notes. Read before changing rm_tinycrypt_port names, tests, or release notes.\n---\n\n# TinyCrypt port (rm_tinycrypt_port)\n\n## Status\n- Branch `FSPRA-6430_Correct_rm_tinycrypt_port_API_names`: new names in use, old names kept as deprecated wrappers.\n- Not built against real BSP headers yet. Compat test not run on hardware.\n- Release note: `documents\/release_notes\/upcoming\/FSPRA-6430.yml` (category 4, Deprecations).\n\n## Knowledge\n- Typo fixed: `RM_TINCYRYPT_PORT_Init` \/ `_TRNG_Read` are now `RM_TINYCRYPT_PORT_Init` \/ `_TRNG_Read`.\n- Old-name wrappers: end of `ra\/fsp\/src\/rm_tinycrypt_port\/rm_tinycrypt_port.c`. They call the new names.\n- Declared in `ra\/fsp\/inc\/instances\/rm_tinycrypt_port.h` and `ra\/fsp\/src\/rm_tinycrypt_port\/inc\/rm_tinycrypt_port.h`, marked `\/\/ [DEPRECATED]` (LIN style).\n- No compiler deprecation attribute. It broke the build: `test_files\/shared\/tools.yml` sets `-Werror` in `fsp_flags`.\n- Compat test: `TC_API_TestDeprecatedNames` in `!test\/rm_tinycrypt_port_tests_tg1.c` (`@req`\/`@verify` `tc_deprecated_names`). Usage note anchor: `um_tc_deprecated_names`.\n- Test runner `test_files\/src\/r_tests_runner_main.c` uses the new name. The e2 test project `tinycrypt_api_test` calls the old names on purpose (no `-Werror` there).\n\n## Open\n- Pack build with real BSP headers to confirm the wrappers link.\n- Editor save once dropped the wrappers. Check `git diff HEAD` on `rm_tinycrypt_port.c` after saving.\n","use_cases":["Update deprecated API names in the TinyCrypt port to new names.","Ensure compatibility tests for deprecated names are run with real BSP headers.","Validate that deprecated API wrappers are correctly marked and do not break the build."],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/minhnguyenyf\/skills\/blob\/7213d81500a27f3a96028144f5342ccfe4efbe4a\/tinycrypt\/SKILL.md","source_commit":"7213d81500a27f3a96028144f5342ccfe4efbe4a","license":null,"version":null,"listing_approved_at":"2026-11-30","created_at":"2026-11-29T11:12:24.000000Z","updated_at":"2026-11-30T06:52:26.000000Z","seo_title":"TinyCrypt Port API and Deprecated Wrappers Management","seo_description":"Update and maintain the TinyCrypt port API names, deprecated wrappers, and TRNG implementation with test and usage notes.","seo_keywords":["TinyCrypt port","API name updates","deprecated wrappers","TRNG implementation","compatibility testing"]}}