Skip to content

Add support for AES-CCM #141

Add support for AES-CCM

Add support for AES-CCM #141

Triggered via pull request August 22, 2024 19:03
@pulsastrixpulsastrix
synchronize #24
aes_ccm
Status Failure
Total duration 1m 12s
Artifacts

check.yml

on: pull_request
Check
17s
Check
Check (no_std)
13s
Check (no_std)
Test Suite
49s
Test Suite
Test Suite (all features)
51s
Test Suite (all features)
Test Suite (no_std)
49s
Test Suite (no_std)
Rustfmt
7s
Rustfmt
clippy_check
29s
clippy_check
test_coverage
1m 1s
test_coverage
Fit to window
Zoom out
Zoom in

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/