cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
1,290 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
Highlighted
Moderator
Moderator
1,216 Views
Registered: ‎11-04-2010

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
Highlighted
Xilinx Employee
Xilinx Employee
1,206 Views
Registered: ‎06-04-2018

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.
-------------------------------------------------------------------------

Highlighted
Visitor
Visitor
1,194 Views
Registered: ‎10-04-2018

Hi  

 

 

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
1,169 Views
Registered: ‎06-04-2018

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
Highlighted
Visitor
Visitor
1,164 Views
Registered: ‎10-04-2018

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
Highlighted
Xilinx Employee
Xilinx Employee
1,160 Views
Registered: ‎06-04-2018

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
Visitor
1,127 Views
Registered: ‎10-04-2018

Hi 

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
1,110 Views
Registered: ‎06-04-2018

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