Re: [PATCH 3/4] fpga mgr: zynq: Add support for encrypted bitstreams

2016-11-14 Thread Moritz Fischer
Hi Alan, On Mon, Nov 14, 2016 at 7:42 PM, atull wrote: > On Mon, 7 Nov 2016, Moritz Fischer wrote: > > Hi Moritz, > > This looks good. Probably the socfpga changes could get > folded into this patch (was patch 4/4) unless you thought of > a reason not to (after that patch is changed to see if th

Re: [PATCH 3/4] fpga mgr: zynq: Add support for encrypted bitstreams

2016-11-14 Thread atull
On Mon, 7 Nov 2016, Moritz Fischer wrote: Hi Moritz, This looks good. Probably the socfpga changes could get folded into this patch (was patch 4/4) unless you thought of a reason not to (after that patch is changed to see if the MSEL bits are set to enable decrypt). There also could be a uncomp

Re: [PATCH 3/4] fpga mgr: zynq: Add support for encrypted bitstreams

2016-11-08 Thread Sören Brinkmann
On Sun, 2016-11-06 at 17:13:25 -0700, Moritz Fischer wrote: > Add new flag FPGA_MGR_DECRYPT_BISTREAM as well as a matching > capability FPGA_MGR_CAP_DECRYPT to allow for on-the-fly > decryption of an encrypted bitstream. > > If the system is not booted in secure mode AES & HMAC units > are disable

Re: [PATCH 3/4] fpga mgr: zynq: Add support for encrypted bitstreams

2016-11-08 Thread Moritz Fischer
Hi Sören, On Tue, Nov 8, 2016 at 10:32 AM, Sören Brinkmann wrote: > On Sun, 2016-11-06 at 17:13:25 -0700, Moritz Fischer wrote: >> Add new flag FPGA_MGR_DECRYPT_BISTREAM as well as a matching >> capability FPGA_MGR_CAP_DECRYPT to allow for on-the-fly >> decryption of an encrypted bitstream. >> >>

[PATCH 3/4] fpga mgr: zynq: Add support for encrypted bitstreams

2016-11-06 Thread Moritz Fischer
Add new flag FPGA_MGR_DECRYPT_BISTREAM as well as a matching capability FPGA_MGR_CAP_DECRYPT to allow for on-the-fly decryption of an encrypted bitstream. If the system is not booted in secure mode AES & HMAC units are disabled by the boot ROM, therefore the capability is not available. Signed-of