Commit abf9f1a
committed
PSA interruptible sign/verify: detect invalid curve family in start
Detect attempts to do ECDSA with a Montgomery curve in psa_sign_hash_start()
and psa_verify_hash_start(), whereas before start() would succeed and
complete() would fail. This avoids an inconsistency between psa_sign_hash()
and psa_sign_hash_start() that would be annoying to handle in
test_suite_psa_crypto_op_fail.
Signed-off-by: Gilles Peskine <[email protected]>1 parent 9058998 commit abf9f1a
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3969 | 3969 | | |
3970 | 3970 | | |
3971 | 3971 | | |
3972 | | - | |
| 3972 | + | |
3973 | 3973 | | |
3974 | 3974 | | |
| 3975 | + | |
| 3976 | + | |
| 3977 | + | |
| 3978 | + | |
3975 | 3979 | | |
3976 | 3980 | | |
3977 | 3981 | | |
| |||
4188 | 4192 | | |
4189 | 4193 | | |
4190 | 4194 | | |
| 4195 | + | |
| 4196 | + | |
| 4197 | + | |
| 4198 | + | |
4191 | 4199 | | |
4192 | 4200 | | |
4193 | 4201 | | |
| |||
0 commit comments