Commit 879a9c6
authored
[crypto] Align PSA P256Keypair::Serialize buffer cleanup with the mbedTLS backend (project-chip#73344)
The mbedTLS implementation of P256Keypair::Serialize calls ClearSecretData
on its temporary buffer before returning. Apply the same call in the two
PSA-based implementations so all three follow one convention.1 parent 2bc1662 commit 879a9c6
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
882 | 882 | | |
883 | 883 | | |
884 | 884 | | |
| 885 | + | |
885 | 886 | | |
886 | 887 | | |
887 | 888 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
849 | 849 | | |
850 | 850 | | |
851 | 851 | | |
| 852 | + | |
852 | 853 | | |
853 | 854 | | |
854 | 855 | | |
| |||
0 commit comments