Commit b534fc9
committed
crypto: avoid EC reconstruction for signature sizing
Use EVP_PKEY_bits() to determine the width of ECDSA signature
components on OpenSSL 3. This avoids reconstructing the EC group
and public point just to read the group order size.
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
Assisted-by: GitHub Copilot1 parent 0ddf3c9 commit b534fc9
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4147 | 4147 | | |
4148 | 4148 | | |
4149 | 4149 | | |
4150 | | - | |
4151 | | - | |
4152 | | - | |
4153 | | - | |
4154 | | - | |
| 4150 | + | |
4155 | 4151 | | |
4156 | 4152 | | |
4157 | 4153 | | |
| |||
0 commit comments