2.1.6.10 DRV_PUF_GetKeyCmd()
drv_puf_result_t DRV_PUF_GetKeyCmd (uint16_t keyLenBits, drv_puf_key_scope_t keyScopeStarted, drv_puf_key_scope_t keyScopeEnrolled, uint32_t userContext0, uint32_t userContext1, drv_puf_data_destination_t keyDest, uint8_t * key)
Performs the Get Key command.
| keyLenBits |
Length of the key in bits. Accepted values: Till 1024: Multiples of 64; and 2048, 3072, 4096. |
| keyScopeStarted |
Key scope in Started state |
| keyScopeEnrolled |
Key scope in Enrolled state |
| userContext0 |
User context word 0 |
| userContext1 |
User context word 1 |
| keyDest |
Key destination |
| key |
Pointer to the byte array that will hold the key |
Result code of the operation. See drv_puf_result_t enum for details. |
Note:
The PUF must have been enrolled or started/reconstructed to run this command successfully.
