cryptocell-312-runtime icon indicating copy to clipboard operation
cryptocell-312-runtime copied to clipboard

cryptocell-312-runtime library for MacOS

Open xuyong0528 opened this issue 4 years ago • 3 comments

Hi, I have the following questions:

  1. How can I build cryptocell-312-runtime (https://github.com/ARM-software/cryptocell-312-runtime.git) for MacOS?
  2. In the build setup, according to the document, I need to set KERNEL_DIR. This does not look like a folder for the host PC. What should I set?
  3. Does this library released in any other form? (pre-built image?)

Thank you, Min-Ching Ho

xuyong0528 avatar Aug 17 '21 08:08 xuyong0528

Hi Min-Ching, 1.How can I build cryptocell-312-runtime (https://github.com/ARM-software/cryptocell-312-runtime.git) for MacOS?

I'm not sure I fully understand the question, do you mean integrating CryptoCell312 into MacOS? or Just built on MacOS? Currently, CryptoCell-312 building process is based on Makefile.

2.In the build setup, according to the document, I need to set KERNEL_DIR. This does not look like a folder for the host PC. What should I set?

The KERNEL_DIR is used to indicate the directory of an RTOS which you want to integrate CryptoCell-312. E.g. Freertos, MbedOS or a bare metal. If you just want to use CryptoCell-312 in bare metal, the "KERNEL_DIR" environment variable is not used in buidling.

  1. Does this library released in any other form? (pre-built image?)

CryptoCell-312 is an HW IP, CryptoCell-312 runtime library is its corresponding library, it provides APIs to drive CryptoCell-312. It can be integrated into other RTOS. The HW IP can be integrated into many embedded platforms, such as Cortex-M serials and other different IPs, also the source code can be integrated into many RTOS. It is very hard to cover all the embedded HW platforms and all the RTOS. So, we don't provide other release forms ( such as ,pre-built image).

Best Regards, Yong

xuyong0528 avatar Aug 17 '21 09:08 xuyong0528

Hi Yong, Our vendor has a signing tool for the FW. And they don't have Mac version tool. They need this library to make their signing tool work on Mac. I will pass this info to our vendor. Thank you.

Min-Ching Ho

minchingho avatar Aug 17 '21 17:08 minchingho

Hi Min-Ching, Do you mean the script tool to sign images or assets? The location is under the utils/src directory? If it is true, we have developed a cross-platform tools to replace it. The cross-platform utils tool is developed by Python language and doesn't depend on any other libraries. You can find these cross-platform utils tools from https://github.com/ARM-software/cryptocell-312-runtime/tree/experimental/cross-platform-utils

Best Regards, Yong

xuyong0528 avatar Aug 18 '21 01:08 xuyong0528