Files
luban-lite/target/d12x/demo68-nor/pack/keys/gen_spienc_key.sh
刘可亮 8bca5e8332 v1.0.4
2024-04-03 16:40:57 +08:00

7 lines
172 B
Bash
Executable File

#!/bin/bash
dd if=/dev/urandom of=spi_aes.key bs=16 count=1
xxd -i spi_aes.key > spi_aes_key.h
cp spi_aes_key.h ../../../../../bsp/examples_bare/test-efuse/spi_aes_key.h