TinyCrypt deprecation - library's usage removal part 2 (bluetooth) #159409
Annotations
1 error, 1 warning, and 5 notices
Run Compliance Tests
Process completed with exit code 1.
|
check-warns:
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
|
Run Compliance Tests:
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 *);
|
Run Compliance Tests:
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)
|
Run Compliance Tests:
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");
|
Run Compliance Tests:
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)
|
Run Compliance Tests:
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);
|
Loading