This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/CC2640R2F: Different Hash generation from python2 vs python 3 tools.

Part Number: CC2640R2F


Tool/software: TI C/C++ Compiler

I have been working with both secure_fw_tool.py as well as tools\blestack\oad\keys\key_generate.py.  The latter has support for python 3, the former does not. 

I modified the key generate code to read from a text file for loading the private(signing) key and noticed that for the exact same key I get different signer signatures when running the test code under python2&3. 

For my purposes, I will be loading the python2 generated sign to my main.c , but perhaps someone from ti should update the secure_fw_tool.py to handle both flavors as keygen does.

Best,

Konstantin