Commit 8d8de11
authored
[crypto] Validate CSR subject key type on mbedTLS backend (project-chip#73112)
VerifyCertificateSigningRequest() on the pre-4.0 mbedTLS backend did not
validate the subject public key type before extracting it. Add that
validation so it matches the PSA / mbedTLS 4.0 path, which validates the
subject key type during mbedtls_pk_import_into_psa().1 parent 99c3ddd commit 8d8de11
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
0 commit comments