UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor canadyre_
Visitor
962 Views
Registered: ‎10-04-2018

SDAccel security examples on AWS EC2 F1 instances

Hi all, 

I am trying to run the various security examples from:

https://github.com/Xilinx/SDAccel_Examples/tree/70a0f3edc6d78f3de13806ec7a7a01d1fbe0d2bd/security

The RSA one failed with an error of "openssl/bn.h' file not found" when trying to run the emulation on software, AES would not emulate on software but SHA1 would, AES and SHA1 failed when trying to build on hardware. Does anyone have any tips on getting these to run on the AWS EC2 F1 instances? I know they're not specifically built to run on F1 instances but it has a link at the bottom of each algorithm on how to run in cloud environments so I assume they should be able to be run.

 

Thanks!

0 Kudos
8 Replies
Moderator
Moderator
888 Views
Registered: ‎11-04-2010

Re: SDAccel security examples on AWS EC2 F1 instances

Hi, @canadyre_ ,

The issue has been reflected to the developer.

When we have update, we will let you know.

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Xilinx Employee
Xilinx Employee
878 Views
Registered: ‎06-04-2018

Re: SDAccel security examples on AWS EC2 F1 instances

Hi @canadyre_,

All the security examples had been removed from public github couple of days back.

if you check the latest link:

https://github.com/Xilinx/SDAccel_Examples

Some of the security examples(RSA) are working fine in command line flow, but few other are not working fine and even the performance is not as expected.

So, we removed the security examples from public github. Once, we update the examples locally and achieve the expected performance will push to public github.

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

Visitor canadyre_
Visitor
866 Views
Registered: ‎10-04-2018

Re: SDAccel security examples on AWS EC2 F1 instances

Hi  

 

 

0 Kudos
Xilinx Employee
Xilinx Employee
841 Views
Registered: ‎06-04-2018

Re: SDAccel security examples on AWS EC2 F1 instances

Hi @canadyre_,

Can you try the following steps and check if the issue still remains:

1. sudo rm -rf /opt/Xilinx/SDx/*rte*

2. cd aws-fpga

3. source sdaccel_setup.sh

4. sudo sh

5. fpga-clear-local-image -S 0

6. source /opt/Xilinx/SDx/2017.4_rte.dyn/setup.sh

7. <run your application>

 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

0 Kudos
Visitor canadyre_
Visitor
836 Views
Registered: ‎10-04-2018

Re: SDAccel security examples on AWS EC2 F1 instances

Hi bchebrol, 

There is not an rte file in the /opt/Xilinx/SDx folder, instead there is 2018.2.op2258646.

Thanks,

Robert Canady

0 Kudos
Xilinx Employee
Xilinx Employee
832 Views
Registered: ‎06-04-2018

Re: SDAccel security examples on AWS EC2 F1 instances

Hi @canadyre_,

just do git clone and continue from 2nd step:

if f1_dynamic:
git clone http://github.com/aws/aws-fpga.git -b RC_v1_3_9
elsif f1-04261818_dynamic
git clone http://github.com/aws/aws-fpga.git -b master

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

0 Kudos
Highlighted
Visitor canadyre_
Visitor
799 Views
Registered: ‎10-04-2018

Re: SDAccel security examples on AWS EC2 F1 instances

Hi 

0 Kudos
Xilinx Employee
Xilinx Employee
782 Views
Registered: ‎06-04-2018

Re: SDAccel security examples on AWS EC2 F1 instances

Hi @canadyre_,

if you are using 2018.2, then the corresponding source file path :

  • source /opt/xilinx/xrt/setup.sh

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

0 Kudos