[edk2,edk2-platforms] Platform/DeveloperBox: enable HTTPS boot

Message ID 20181018060933.24603-1-ard.biesheuvel@linaro.org
State New
Headers show
Series
  • [edk2,edk2-platforms] Platform/DeveloperBox: enable HTTPS boot
Related show

Commit Message

Ard Biesheuvel Oct. 18, 2018, 6:09 a.m.
Enable support for HTTPS boot by incorporating the TLS DXE driver into
the build, and the driver that permits enrolling the TLS certificates.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
 Platform/Socionext/DeveloperBox/DeveloperBox.dsc | 5 ++++-
 Platform/Socionext/DeveloperBox/DeveloperBox.fdf | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)

-- 
2.17.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Leif Lindholm Oct. 18, 2018, 6:25 a.m. | #1
On Thu, Oct 18, 2018 at 02:09:33PM +0800, Ard Biesheuvel wrote:
> Enable support for HTTPS boot by incorporating the TLS DXE driver into

> the build, and the driver that permits enrolling the TLS certificates.

> 

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>


Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>


> ---

>  Platform/Socionext/DeveloperBox/DeveloperBox.dsc | 5 ++++-

>  Platform/Socionext/DeveloperBox/DeveloperBox.fdf | 2 ++

>  2 files changed, 6 insertions(+), 1 deletion(-)

> 

> diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc

> index bab72442ec9d..801caf52afcf 100644

> --- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc

> +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc

> @@ -130,7 +130,8 @@

>    NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf

>  

>    BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf

> -  OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf

> +  OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf

> +  TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf

>    IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf

>  

>    NorFlashInfoLib|EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.inf

> @@ -657,6 +658,8 @@

>    NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf

>    NetworkPkg/HttpDxe/HttpDxe.inf

>    NetworkPkg/HttpBootDxe/HttpBootDxe.inf

> +  NetworkPkg/TlsDxe/TlsDxe.inf

> +  NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf

>  

>    #

>    # Console preference selection

> diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.fdf b/Platform/Socionext/DeveloperBox/DeveloperBox.fdf

> index 7b009516ae11..8bbad1741de8 100644

> --- a/Platform/Socionext/DeveloperBox/DeveloperBox.fdf

> +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.fdf

> @@ -213,6 +213,8 @@ READ_LOCK_STATUS   = TRUE

>    INF NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf

>    INF NetworkPkg/HttpDxe/HttpDxe.inf

>    INF NetworkPkg/HttpBootDxe/HttpBootDxe.inf

> +  INF NetworkPkg/TlsDxe/TlsDxe.inf

> +  INF NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf

>  

>    #

>    # Console preference selection

> -- 

> 2.17.1

> 

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Ard Biesheuvel Oct. 19, 2018, 4:36 a.m. | #2
On 18 October 2018 at 14:25, Leif Lindholm <leif.lindholm@linaro.org> wrote:
> On Thu, Oct 18, 2018 at 02:09:33PM +0800, Ard Biesheuvel wrote:

>> Enable support for HTTPS boot by incorporating the TLS DXE driver into

>> the build, and the driver that permits enrolling the TLS certificates.

>>

>> Contributed-under: TianoCore Contribution Agreement 1.1

>> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

>

> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>

>


Thanks.

Pushed as 6aad08ad6c9a..ba0a48ecf801

>> ---

>>  Platform/Socionext/DeveloperBox/DeveloperBox.dsc | 5 ++++-

>>  Platform/Socionext/DeveloperBox/DeveloperBox.fdf | 2 ++

>>  2 files changed, 6 insertions(+), 1 deletion(-)

>>

>> diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc

>> index bab72442ec9d..801caf52afcf 100644

>> --- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc

>> +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc

>> @@ -130,7 +130,8 @@

>>    NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf

>>

>>    BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf

>> -  OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf

>> +  OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf

>> +  TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf

>>    IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf

>>

>>    NorFlashInfoLib|EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.inf

>> @@ -657,6 +658,8 @@

>>    NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf

>>    NetworkPkg/HttpDxe/HttpDxe.inf

>>    NetworkPkg/HttpBootDxe/HttpBootDxe.inf

>> +  NetworkPkg/TlsDxe/TlsDxe.inf

>> +  NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf

>>

>>    #

>>    # Console preference selection

>> diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.fdf b/Platform/Socionext/DeveloperBox/DeveloperBox.fdf

>> index 7b009516ae11..8bbad1741de8 100644

>> --- a/Platform/Socionext/DeveloperBox/DeveloperBox.fdf

>> +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.fdf

>> @@ -213,6 +213,8 @@ READ_LOCK_STATUS   = TRUE

>>    INF NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf

>>    INF NetworkPkg/HttpDxe/HttpDxe.inf

>>    INF NetworkPkg/HttpBootDxe/HttpBootDxe.inf

>> +  INF NetworkPkg/TlsDxe/TlsDxe.inf

>> +  INF NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf

>>

>>    #

>>    # Console preference selection

>> --

>> 2.17.1

>>

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Patch

diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc
index bab72442ec9d..801caf52afcf 100644
--- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc
+++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc
@@ -130,7 +130,8 @@ 
   NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
 
   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
-  OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
+  OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
+  TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
   IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
 
   NorFlashInfoLib|EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.inf
@@ -657,6 +658,8 @@ 
   NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
   NetworkPkg/HttpDxe/HttpDxe.inf
   NetworkPkg/HttpBootDxe/HttpBootDxe.inf
+  NetworkPkg/TlsDxe/TlsDxe.inf
+  NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
 
   #
   # Console preference selection
diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.fdf b/Platform/Socionext/DeveloperBox/DeveloperBox.fdf
index 7b009516ae11..8bbad1741de8 100644
--- a/Platform/Socionext/DeveloperBox/DeveloperBox.fdf
+++ b/Platform/Socionext/DeveloperBox/DeveloperBox.fdf
@@ -213,6 +213,8 @@  READ_LOCK_STATUS   = TRUE
   INF NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
   INF NetworkPkg/HttpDxe/HttpDxe.inf
   INF NetworkPkg/HttpBootDxe/HttpBootDxe.inf
+  INF NetworkPkg/TlsDxe/TlsDxe.inf
+  INF NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
 
   #
   # Console preference selection