Skip to content

TinyCrypt deprecation - library's usage removal part 2 (bluetooth) #159409

TinyCrypt deprecation - library's usage removal part 2 (bluetooth)

TinyCrypt deprecation - library's usage removal part 2 (bluetooth) #159409

Triggered via pull request November 7, 2024 08:32
Status Success
Total duration 3m 14s
Artifacts 1

compliance.yml

on: pull_request
Run compliance checks on patch series (PR)
3m 6s
Run compliance checks on patch series (PR)
Fit to window
Zoom out
Zoom in

Annotations

1 error, 1 warning, and 5 notices
Run compliance checks on patch series (PR)
Process completed with exit code 1.
Run compliance checks on patch series (PR): ClangFormat.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details. You may want to run clang-format on this change: - size_t, mbedtls_svc_key_id_t *); + size_t, mbedtls_svc_key_id_t *); DEFINE_FAKE_VALUE_FUNC(psa_status_t, psa_cipher_encrypt, mbedtls_svc_key_id_t, psa_algorithm_t, - const uint8_t *, size_t, uint8_t *, size_t, size_t *); + const uint8_t *, size_t, uint8_t *, size_t, size_t *); File:tests/bluetooth/host/crypto/mocks/aes.c Line:16 You may want to run clang-format on this change: -#define AES_FFF_FAKES_LIST(FAKE) \ - FAKE(psa_crypto_init) \ - FAKE(psa_generate_random) \ - FAKE(psa_import_key) \ - FAKE(psa_cipher_encrypt) \ - FAKE(psa_destroy_key) +#define AES_FFF_FAKES_LIST(FAKE) \ + FAKE(psa_crypto_init) \ + FAKE(psa_generate_random) \ + FAKE(psa_import_key) \ + FAKE(psa_cipher_encrypt) \ + FAKE(psa_destroy_key) File:tests/bluetooth/host/crypto/mocks/aes.h Line:18 You may want to run clang-format on this change: - "'%s()' was called with incorrect '%s' value", func_name, "arg1"); + "'%s()' was called with incorrect '%s' value", func_name, "arg1"); zassert_not_equal(psa_cipher_encrypt_fake.arg3_val, 0, - "'%s()' was called with incorrect '%s' value", func_name, "arg3"); + "'%s()' was called with incorrect '%s' value", func_name, "arg3"); zassert_equal_ptr(psa_cipher_encrypt_fake.arg4_val, out, - "'%s()' was called with incorrect '%s' value", func_name, "arg4"); + "'%s()' was called with incorrect '%s' value", func_name, "arg4"); zassert_not_equal(psa_cipher_encrypt_fake.arg5_val, 0, - "'%s()' was called with incorrect '%s' value", func_name, "arg5"); + "'%s()' was called with incorrect '%s' value", func_name, "arg5"); File:tests/bluetooth/host/crypto/mocks/aes_expects.c Line:26 You may want to run clang-format on this change: -#define PRNG_FFF_FAKES_LIST(FAKE) \ - FAKE(psa_crypto_init) \ - FAKE(psa_generate_random) +#define PRNG_FFF_FAKES_LIST(FAKE) \ + FAKE(psa_crypto_init) \ + FAKE(psa_generate_random) File:tests/bluetooth/host/crypto/mocks/prng.h Line:15 You may want to run clang-format on this change: - zassert_equal(psa_generate_random_fake.call_count, 1, - "'%s()' was called more than once", func_name); + zassert_equal(psa_generate_random_fake.call_count, 1, "'%s()' was called more than once", + func_name); File:tests/bluetooth/host/crypto/mocks/prng_expects.c Line:25
You may want to run clang-format on this change: tests/bluetooth/host/crypto/mocks/aes.c#L16
tests/bluetooth/host/crypto/mocks/aes.c:16 - size_t, mbedtls_svc_key_id_t *); + size_t, mbedtls_svc_key_id_t *); DEFINE_FAKE_VALUE_FUNC(psa_status_t, psa_cipher_encrypt, mbedtls_svc_key_id_t, psa_algorithm_t, - const uint8_t *, size_t, uint8_t *, size_t, size_t *); + const uint8_t *, size_t, uint8_t *, size_t, size_t *);
You may want to run clang-format on this change: tests/bluetooth/host/crypto/mocks/aes.h#L18
tests/bluetooth/host/crypto/mocks/aes.h:18 -#define AES_FFF_FAKES_LIST(FAKE) \ - FAKE(psa_crypto_init) \ - FAKE(psa_generate_random) \ - FAKE(psa_import_key) \ - FAKE(psa_cipher_encrypt) \ - FAKE(psa_destroy_key) +#define AES_FFF_FAKES_LIST(FAKE) \ + FAKE(psa_crypto_init) \ + FAKE(psa_generate_random) \ + FAKE(psa_import_key) \ + FAKE(psa_cipher_encrypt) \ + FAKE(psa_destroy_key)
You may want to run clang-format on this change: tests/bluetooth/host/crypto/mocks/aes_expects.c#L26
tests/bluetooth/host/crypto/mocks/aes_expects.c:26 - "'%s()' was called with incorrect '%s' value", func_name, "arg1"); + "'%s()' was called with incorrect '%s' value", func_name, "arg1"); zassert_not_equal(psa_cipher_encrypt_fake.arg3_val, 0, - "'%s()' was called with incorrect '%s' value", func_name, "arg3"); + "'%s()' was called with incorrect '%s' value", func_name, "arg3"); zassert_equal_ptr(psa_cipher_encrypt_fake.arg4_val, out, - "'%s()' was called with incorrect '%s' value", func_name, "arg4"); + "'%s()' was called with incorrect '%s' value", func_name, "arg4"); zassert_not_equal(psa_cipher_encrypt_fake.arg5_val, 0, - "'%s()' was called with incorrect '%s' value", func_name, "arg5"); + "'%s()' was called with incorrect '%s' value", func_name, "arg5");
You may want to run clang-format on this change: tests/bluetooth/host/crypto/mocks/prng.h#L15
tests/bluetooth/host/crypto/mocks/prng.h:15 -#define PRNG_FFF_FAKES_LIST(FAKE) \ - FAKE(psa_crypto_init) \ - FAKE(psa_generate_random) +#define PRNG_FFF_FAKES_LIST(FAKE) \ + FAKE(psa_crypto_init) \ + FAKE(psa_generate_random)
You may want to run clang-format on this change: tests/bluetooth/host/crypto/mocks/prng_expects.c#L25
tests/bluetooth/host/crypto/mocks/prng_expects.c:25 - zassert_equal(psa_generate_random_fake.call_count, 1, - "'%s()' was called more than once", func_name); + zassert_equal(psa_generate_random_fake.call_count, 1, "'%s()' was called more than once", + func_name);

Artifacts

Produced during runtime
Name Size
compliance.xml
1.13 KB