Reference Manual
Redpine Signals, Inc. Proprietary and Confidential Page 101
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
19.3.6 PUF Load Key
This operation is used for loading key to AES engine or key holder for the given key code input.
./onebox_util rpine0 puf_req 5 puf_keycode_0.txt
19.3.7 PUF AES Encryption
This operation is used for encrypting data inputted with Key provided or with key which is already loaded into AES by PUF.
It also provides provision for encryption with AES engine for two modes (ECB, CBC). Parameters should be provided
depending on mode of usage
./onebox_util rpine0 puf_req 6 0 0 0 0 128 plain_data.txt 0 0
For the above command, create a text file plain_data.txt that should have some data of length more than 128 bytes
19.3.8 PUF AES Decryption
This operation is used for decrypting data inputted with Key provided or with key which is already loaded into AES by PUF.
It also provides provision for decryption with AES engine for two modes (ECB, CBC). Parameters should be provided
depending on mode of usage
./onebox_util rpine0 puf_req 7 0 0 0 0 128 aes_enc_data.txt 0 0
19.3.9 PUF AES MAC Generation
This operation is used for generating Message authentication check (MAC) for the data inputted with provided key as well
as Initialization Vector (IV). Parameters should be provided depending on mode of usage
./onebox_util rpine0 puf_req 8 1 0 0 0 128 plain_data.txt 0 abcdefghijklmnop
For the above command, create a text file plain_data.txt that should have some data of length more than 128 bytes
19.3.10 PUF Block Enroll
This operation is used for blocking further enroll operations.
./onebox_util rpine0 puf_req 9
19.3.11 PUF Block Set Key
This operation is used for blocking further Set Key operations.