Skip to content
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

Closed
wants to merge 14 commits into from
Closed

Coverage improvements #540

wants to merge 14 commits into from

Conversation

pjbakker
Copy link
Contributor

Coverage improvements and some general bug fixes.


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) );
Copy link
Contributor

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 )

@yanesca
Copy link
Contributor

yanesca commented Jul 15, 2016

+1

@@ -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
Copy link
Contributor

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.

Copy link
Contributor Author

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..

@simonbutcher
Copy link
Contributor

Reviewed, all issues addressed, so ready for merge.

@simonbutcher simonbutcher added enhancement approved Design and code approved - may be waiting for CI or backports labels Aug 25, 2016
simonbutcher added a commit that referenced this pull request Dec 4, 2018
Update the library version to 2.14.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Design and code approved - may be waiting for CI or backports enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants