Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

qcrypt:test.rbf:8068: unexpected end-of-file

Steve-Mowbray-ENL
New Contributor II
453 Views

Hi 

When running Qcrypt on my working RBF configuration file I get the following result:

C:\Users\steve>D:/intelFPGA/21.1/quartus/bin64/qcrypt --encrypt --keyfile=keyfile.key --keyname=key1 --keystore=otp test.rbf test_qcrypt.rbf
Intel qcrypt 1.5 built at 12:02:50 on Aug 15 2017
Copyright (C) 2015-2017 Intel Corporation. All Rights Reserved.

qcrypt:test.rbf:8068: unexpected end-of-file

Any clues as to what could be wrong would be appreciated - I am confused as the unencrypted  RBF file works fine with passive serial configuration..

Thanks 

Steve 

Labels (1)
0 Kudos
1 Solution
Steve-Mowbray-ENL
New Contributor II
389 Views

Sorted -- according to AN-556:

"Encryption and compression cannot be used simultaneously in 20 nm FPGAs."

Assignments->Settings->"Device and Pin Options..."->Configuration->"Generate compressed bitstreams" seems to be checked by default -- unchecked and the rebuilt RBF gets encrypted correctly by "Qcrypt" tool (at double the size...).

View solution in original post

0 Kudos
1 Reply
Steve-Mowbray-ENL
New Contributor II
390 Views

Sorted -- according to AN-556:

"Encryption and compression cannot be used simultaneously in 20 nm FPGAs."

Assignments->Settings->"Device and Pin Options..."->Configuration->"Generate compressed bitstreams" seems to be checked by default -- unchecked and the rebuilt RBF gets encrypted correctly by "Qcrypt" tool (at double the size...).

0 Kudos
Reply