1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-03 12:11:33 +01:00
Werner Koch 6fab7b075a
gpg: Implement a parser for Kyber encrypted packets.
* g10/misc.c (pubkey_get_nenc): Add ky768 and ky1024 values.
* g10/parse-packet.c (read_octet_string): New.
(read_size_body): Rename to ...
(read_sized_octet_string): this and change args to update-able PKTLEN.
(parse_pubkeyenc): Split general parsing loop for easier reading.
Implement parser for the Kyber algorithms.
--

Take care: this has not been tested at all, it merely passes the
regression test for the other algos.

Kyber is also known as ML-KEM in FIPS-203.

The list mode is slighly changed: In case of a parsing error no data
is printed - before that already parsed data was printed.

GnuPG-bug-id: 6815
2023-11-13 16:13:30 +01:00
..
2023-06-20 09:08:29 +09:00
2020-11-11 09:13:13 +09:00
2021-11-13 21:03:02 +01:00
2022-11-09 10:37:58 +09:00
2022-11-09 10:37:58 +09:00
2023-09-26 13:34:50 +09:00
2023-05-25 16:50:00 +02:00
2015-02-04 09:15:34 +01:00
2023-11-07 20:38:27 +01:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2018-10-25 16:53:05 -04:00
2023-04-04 16:39:59 +02:00
2023-09-04 16:36:51 +02:00
2023-11-07 20:38:27 +01:00
2023-09-05 08:10:36 +02:00
2020-02-18 18:07:46 -05:00
2019-07-11 12:32:44 +09:00
2019-07-23 12:04:21 +09:00
2021-03-24 14:51:42 +09:00
2017-01-23 19:16:55 +01:00
2023-07-05 09:36:00 +09:00
2017-02-21 13:11:46 -05:00
2017-03-07 20:32:09 +09:00
2023-04-05 21:32:23 +02:00
2016-03-08 14:08:49 +01:00
2023-04-05 21:32:23 +02:00
2022-11-25 16:04:54 +01:00
2021-05-20 13:38:39 +02:00
2016-12-06 12:16:56 +01:00
2023-02-16 18:10:03 +01:00