aes: Clarify counter overflow checking. #2120
93.73% of diff hit (target 97.12%)
View this Pull Request on Codecov
93.73% of diff hit (target 97.12%)
Annotations
Check warning on line 166 in src/aead/aes.rs
codecov / codecov/patch
src/aead/aes.rs#L166
Added line #L166 was not covered by tests
Check warning on line 173 in src/aead/aes/counter.rs
codecov / codecov/patch
src/aead/aes/counter.rs#L173
Added line #L173 was not covered by tests
Check warning on line 178 in src/aead/aes/ffi.rs
codecov / codecov/patch
src/aead/aes/ffi.rs#L178
Added line #L178 was not covered by tests
Check warning on line 120 in src/aead/aes/vp.rs
codecov / codecov/patch
src/aead/aes/vp.rs#L120
Added line #L120 was not covered by tests
Check warning on line 138 in src/aead/aes/vp.rs
codecov / codecov/patch
src/aead/aes/vp.rs#L138
Added line #L138 was not covered by tests
Check warning on line 265 in src/aead/aes_gcm.rs
codecov / codecov/patch
src/aead/aes_gcm.rs#L265
Added line #L265 was not covered by tests
Check warning on line 305 in src/aead/aes_gcm.rs
codecov / codecov/patch
src/aead/aes_gcm.rs#L303-L305
Added lines #L303 - L305 were not covered by tests
Check warning on line 311 in src/aead/aes_gcm.rs
codecov / codecov/patch
src/aead/aes_gcm.rs#L309-L311
Added lines #L309 - L311 were not covered by tests
Check warning on line 522 in src/aead/aes_gcm.rs
codecov / codecov/patch
src/aead/aes_gcm.rs#L522
Added line #L522 was not covered by tests
Check warning on line 573 in src/aead/aes_gcm.rs
codecov / codecov/patch
src/aead/aes_gcm.rs#L571-L573
Added lines #L571 - L573 were not covered by tests
Check warning on line 579 in src/aead/aes_gcm.rs
codecov / codecov/patch
src/aead/aes_gcm.rs#L577-L579
Added lines #L577 - L579 were not covered by tests
Check warning on line 585 in src/aead/aes_gcm.rs
codecov / codecov/patch
src/aead/aes_gcm.rs#L583-L585
Added lines #L583 - L585 were not covered by tests
Check warning on line 53 in src/aead/gcm.rs
codecov / codecov/patch
src/aead/gcm.rs#L53
Added line #L53 was not covered by tests
Check warning on line 149 in src/aead/gcm.rs
codecov / codecov/patch
src/aead/gcm.rs#L147-L149
Added lines #L147 - L149 were not covered by tests
Check warning on line 155 in src/aead/gcm.rs
codecov / codecov/patch
src/aead/gcm.rs#L153-L155
Added lines #L153 - L155 were not covered by tests