[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v10 0/5] fw_cfg: Add FW_CFG_DATA_GENERATOR; crypto: Add tls-c
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v10 0/5] fw_cfg: Add FW_CFG_DATA_GENERATOR; crypto: Add tls-cipher-suites |
Date: |
Tue, 23 Jun 2020 19:30:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 6/23/20 7:27 PM, Philippe Mathieu-Daudé wrote:
> Hi,
>
> This series has 3 parts:
>
> - First we add the tls-cipher-suites object
>
> - We add the ability to QOM objects to produce data
> consumable by the fw_cfg device,
>
> - Then we let the tls-cipher-suites object implement
> the FW_CFG_DATA_GENERATOR interface.
>
> This is required by EDK2 'HTTPS Boot' feature [*] to tell
> the guest which TLS ciphers it can use.
>
> Since v9:
> - intent to address Daniel suggestions, rewrite of crypto/* code
I forgot to explain the huge diff due to the rewrite.
Daniel suggested to simplify the API by returning a GByteArray:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg712887.html
https://www.mail-archive.com/qemu-devel@nongnu.org/msg712923.html
> $ git backport-diff -u v9
> Key:
> [----] : patches are identical
> [####] : number of functional differences between upstream/downstream patch
> [down] : patch is downstream-only
> The flags [FC] indicate (F)unctional and (C)ontextual differences,
> respectively
>
> 001/5:[0139] [FC] 'crypto: Add tls-cipher-suites object'
> 002/5:[0052] [FC] 'hw/nvram/fw_cfg: Add the FW_CFG_DATA_GENERATOR interface'
> 003/5:[0010] [FC] 'softmmu/vl: Let -fw_cfg option take a 'gen_id' argument'
> 004/5:[----] [--] 'softmmu/vl: Allow -fw_cfg 'gen_id' option to use the
> 'etc/' namespace'
> 005/5:[0018] [FC] 'crypto/tls-cipher-suites: Produce fw_cfg consumable blob'
- [PATCH v10 2/5] hw/nvram/fw_cfg: Add the FW_CFG_DATA_GENERATOR interface, (continued)
- [PATCH v10 2/5] hw/nvram/fw_cfg: Add the FW_CFG_DATA_GENERATOR interface, Philippe Mathieu-Daudé, 2020/06/23
- [PATCH v10 3/5] softmmu/vl: Let -fw_cfg option take a 'gen_id' argument, Philippe Mathieu-Daudé, 2020/06/23
- [PATCH v10 1/5] crypto: Add tls-cipher-suites object, Philippe Mathieu-Daudé, 2020/06/23
- [PATCH v10 4/5] softmmu/vl: Allow -fw_cfg 'gen_id' option to use the 'etc/' namespace, Philippe Mathieu-Daudé, 2020/06/23
- [PATCH v10 5/5] crypto/tls-cipher-suites: Produce fw_cfg consumable blob, Philippe Mathieu-Daudé, 2020/06/23
- Re: [PATCH v10 0/5] fw_cfg: Add FW_CFG_DATA_GENERATOR; crypto: Add tls-cipher-suites,
Philippe Mathieu-Daudé <=