-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coverage improvements #540
Conversation
|
||
TEST_ASSERT ( 0 == mbedtls_md_update( &ctx_copy, src_str + halfway, src_len - halfway ) ); | ||
TEST_ASSERT ( 0 == mbedtls_md_finish( &ctx_copy, output ) ); | ||
hexify( hash_str, output, mbedtls_md_get_size(md_info) ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor style issue: mbedtls_md_get_size(md_info) -> mbedtls_md_get_size( md_info )
+1 |
+13 functions, +57 lines
As a consequence also adds coverage for reading 3 and 4 byte lengths (which were not covered before)
@@ -1097,3 +1097,6 @@ test_vec_ecb:MBEDTLS_CIPHER_AES_256_ECB:MBEDTLS_DECRYPT:"00000000000000000000000 | |||
AES-256-ECB Decrypt NIST KAT #12 | |||
depends_on:MBEDTLS_AES_C | |||
test_vec_ecb:MBEDTLS_CIPHER_AES_256_ECB:MBEDTLS_DECRYPT:"0000000000000000000000000000000000000000000000000000000000000000":"9b80eefb7ebe2d2b16247aa0efc72f5d":"e0000000000000000000000000000000":0 | |||
|
|||
Cipher Corner Case behaviours |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this special case should be dependent on MBEDTLS_AES_C.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see line 95 in the patch to test_suit_cipher.function where the dependency is stated..
Reviewed, all issues addressed, so ready for merge. |
Update the library version to 2.14.1
Coverage improvements and some general bug fixes.