Xilinx / Xilinx/bootgen

Failed to calculated montgomery reduction in BN_MONT_CTX_set in Vitis 2024.2 vs bootgen in Vivado 2019.1 works with same .bif and same certificates

Open
#56 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
64
Forks
56
PR merge metrics
No merged PRs in 30d

Description

C:\Xilinx\Vitis\2024.2\bin\bootgen -image design_rsa.bif -arch zynq -p xc7z045 -o output_signed.bin -w on

****** Bootgen v2024.2
**** Build date : Nov 8 2024-16:22:31
** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.
** Copyright 2022-2024 Advanced Micro Devices, Inc. All Rights Reserved.

[ERROR] : Failed to calculated montgomery reduction in BN_MONT_CTX_set

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported command with design_rsa.bif and the same certificates, comparing Vitis 2024.2 with the working Vivado 2019.1 bootgen. Trace the failure at BN_MONT_CTX_set and determine whether the 2024.2 path differs. Done means the same inputs complete successfully or the regression is isolated with a clear diagnosis.

Written by the indexing model from the issue text.

Assessment

Domain
cli, cryptography
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.