Add support for AES-CCM #141
check.yml
on: pull_request
Check
17s
Check (no_std)
13s
Test Suite
49s
Test Suite (all features)
51s
Test Suite (no_std)
49s
Rustfmt
7s
clippy_check
29s
test_coverage
1m 1s
Annotations
2 errors and 5 warnings
clippy_check
reviewdog exited with status code: 1
|
test_coverage
Process completed with exit code 1.
|
[clippy] src/token/cose/encrypted/mod.rs#L345:
src/token/cose/encrypted/mod.rs#L345
warning: this lifetime isn't used in the function definition
--> src/token/cose/encrypted/mod.rs:345:39
|
345 | fn determine_and_check_aes_params<'a, 'b, BE: Display>(
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
= note: `#[warn(clippy::extra_unused_lifetimes)]` on by default
|
[clippy] src/token/cose/encrypted/mod.rs#L354:
src/token/cose/encrypted/mod.rs#L354
warning: unnecessary closure used with `bool::then`
--> src/token/cose/encrypted/mod.rs:354:9
|
354 | (!v.iv.is_empty()).then(|| &v.iv)
| ^^^^^^^^^^^^^^^^^^^--------------
| |
| help: use `then_some(..)` instead: `then_some(&v.iv)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
= note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default
|
[clippy] src/token/cose/encrypted/mod.rs#L358:
src/token/cose/encrypted/mod.rs#L358
warning: unnecessary closure used with `bool::then`
--> src/token/cose/encrypted/mod.rs:358:9
|
358 | (!v.partial_iv.is_empty()).then(|| &v.partial_iv)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------
| |
| help: use `then_some(..)` instead: `then_some(&v.partial_iv)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
|
[clippy] src/token/cose/encrypted/mod.rs#L395:
src/token/cose/encrypted/mod.rs#L395
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/token/cose/encrypted/mod.rs:395:80
|
395 | message_iv[(expected_iv_len - partial_iv.len())..].copy_from_slice(&partial_iv);
| ^^^^^^^^^^^ help: change this to: `partial_iv`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
clippy_check
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@main. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|