The selftest program fails with MBEDTLS_CTR_DRBG_USE_128_BIT_KEY #290
Labels
No labels
api-spec
bug
CLA requested
CLA valid
compliance
DO NOT MERGE
duplicate
enhancement
feature branch
good first issue
HEADER FORMATTING ISSUE
help wanted
Information
invalid
Jira status: AWAITING REVIEW
Jira status: CLOSED
Jira status: DONE
Jira status: IN PROGRESS
Jira status: IN REVIEW
Jira status: OPEN
Jira status: REOPENED
Jira status: RESOLVED
mirrored
mirror internally
needs: backports
needs: ci
needs: design review
needs: preceding PR
needs: review
needs: work
notabug
open for community contribution
Product Backlog
question
ready for merge
security
stale
type: bug
type: enhancement
type: question
web pages
wontfix
writing
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-ARMmbed/mbed-crypto#290
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Steps to reproduce:
Expected behavior:
passedActual behavior:
failedReason for the failure: we only have test data with AES-256, not with AES-128.
Reasons this was not detected before:
test_suite_ctr_drbg.datahasdepends_on:!MBEDTLS_CTR_DRBG_USE_128_BIT_KEY, so the selftest is skipped when using AES-128. No such skipping happens in the selftest program.MBEDTLS_CTR_DRBG_USE_128_BIT_KEYanywhere inall.sh(https://github.com/ARMmbed/mbed-crypto/issues/289).How I detected this: in https://github.com/ARMmbed/mbed-crypto/pull/287 I moved
MBEDTLS_CTR_DRBG_USE_128_BIT_KEYto thembed TLS feature supportsection where it belongs, so it got picked up byconfig.pl full. We do runselftestin that configuration on the CI, albeit only on Windows.Issue request type
Internal Jira reference: https://jira.arm.com/browse/IOTCRYPT-945
Apologies, this was closed in error by the automated bot - re-opening.