Hanno Becker
5d5e90a610
Adapt ecdsa_verify_wrap() to new EC public key format
...
Previously, PSA used SubjectPublicKeyInfo structures to serialize EC public keys.
This has recently been changed to using ECPoint structures instead, but the wrapper
making PSA ECDSA verification available through Mbed TLS' PK API hasn't yet been
adapted accordingly - which is what this commit does.
Luckily, Mbed TLS' PK API offers two functions mbedtls_pk_write_pubkey()
and mbedtls_pk_write_pubkey_der(), the latter exporting a SubjectPublicKeyInfo
structure and the former exporting an ECPoint structure in case of EC public
keys. For the adaptation of the ECDSA wrapper ecdsa_verify_wrap() it is therefore
sufficient to use mbedtls_pk_write_pubkey() instead of mbedtls_pk_write_pubkey_der().
2019-01-28 11:41:37 +00:00
..
2015-06-25 10:59:56 +02:00
2018-11-09 19:57:53 +00:00
2018-04-05 15:37:38 +02:00
2018-04-17 10:00:21 -05:00
2018-08-13 13:49:52 +03:00
2018-04-17 10:00:21 -05:00
2018-11-02 10:52:49 +00:00
2017-02-15 23:31:07 +02:00
2018-10-09 16:36:53 +01:00
2018-04-17 10:00:21 -05:00
2018-04-17 10:00:21 -05:00
2018-07-30 11:29:26 +03:00
2018-11-02 10:52:38 +00:00
2018-06-07 11:54:17 +02:00
2018-06-18 10:30:30 +02:00
2018-11-22 16:33:01 +00:00
2019-01-25 14:36:28 +00:00
2018-06-27 10:51:47 +01:00
2019-01-10 09:32:04 +01:00
2018-08-21 17:55:46 +03:00
2017-09-06 17:51:14 +03:00
2018-04-17 10:00:21 -05:00
2018-04-17 10:00:21 -05:00
2018-11-05 18:08:46 +02:00
2018-11-05 14:04:26 +02:00
2018-05-15 09:21:57 +01:00
2018-04-04 09:18:27 +02:00
2018-10-26 15:09:35 +01:00
2018-07-24 17:20:17 +01:00
2018-04-17 10:00:21 -05:00
2018-11-09 13:57:37 +00:00
2018-11-09 15:01:07 +00:00
2018-04-17 10:00:21 -05:00
2018-07-23 10:34:47 -07:00
2018-04-17 10:00:21 -05:00
2018-12-11 16:48:13 +01:00
2018-04-17 10:00:21 -05:00
2018-04-17 10:00:21 -05:00
2018-07-05 10:47:00 +02:00
2018-01-22 11:54:42 +01:00
2018-04-17 10:00:21 -05:00
2018-06-12 16:56:04 +01:00
2018-07-24 17:20:17 +01:00
2018-07-24 16:43:20 +01:00
2018-02-08 17:18:15 +08:00
2015-09-04 14:21:07 +02:00
2018-04-17 10:00:21 -05:00
2019-01-28 11:41:37 +00:00
2019-01-25 14:36:28 +00:00
2018-05-25 14:54:14 +01:00
2015-09-04 14:21:07 +02:00
2018-04-17 10:00:21 -05:00
2018-10-11 11:31:15 +01:00
2019-01-23 06:22:32 -05:00
2018-09-06 12:09:56 +01:00
2018-10-11 11:04:20 +01:00
2018-06-07 11:54:17 +02:00
2018-12-11 16:48:14 +01:00
2018-11-23 22:58:38 +01:00
2019-01-23 13:38:50 +00:00
2018-12-11 16:48:14 +01:00
2018-12-11 16:48:13 +01:00
2018-12-11 16:48:13 +01:00
2018-12-12 16:15:34 +01:00
2018-12-11 16:48:13 +01:00
2018-12-11 16:48:14 +01:00
2019-01-25 10:09:40 +00:00
2018-04-17 10:00:21 -05:00
2018-10-09 16:36:53 +01:00
2018-11-19 19:25:56 +00:00
2018-07-05 10:47:00 +02:00
2018-07-05 10:47:00 +02:00
2018-07-05 10:47:00 +02:00
2017-10-29 17:53:52 +02:00
2018-08-10 10:59:53 +01:00
2018-11-22 16:30:20 +00:00
2018-04-17 10:00:21 -05:00
2018-11-22 16:30:20 +00:00
2018-11-22 16:38:06 +00:00
2019-01-23 06:22:32 -05:00
2018-09-06 12:09:56 +01:00
2018-11-04 18:51:36 +00:00
2018-11-22 16:25:36 +00:00
2016-11-04 23:05:56 +01:00
2018-11-02 10:52:38 +00:00
2018-04-17 10:00:21 -05:00
2018-11-22 13:02:29 -05:00
2018-06-28 12:09:15 +01:00
2018-09-05 15:06:19 +01:00
2018-04-17 10:00:21 -05:00
2018-11-22 12:53:32 -05:00
2018-04-17 10:00:21 -05:00