diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/fsl_avb.h | 3 | ||||
-rw-r--r-- | include/fsl_fastboot.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/fsl_avb.h b/include/fsl_avb.h index c377d3a22b..225f42ab09 100644 --- a/include/fsl_avb.h +++ b/include/fsl_avb.h @@ -251,6 +251,9 @@ int avb_atx_fuse_perm_attr(uint8_t *staged_buffer, uint32_t size); /* Initialize rpmb key with the staged key */ int fastboot_set_rpmb_key(uint8_t *staged_buf, uint32_t key_size); +/* Initialize rpmb key with random key which is generated by caam rng */ +int fastboot_set_rpmb_random_key(void); + /* Generate ATX unlock challenge */ int avb_atx_get_unlock_challenge(struct AvbAtxOps* atx_ops, uint8_t *upload_buffer, uint32_t *size); diff --git a/include/fsl_fastboot.h b/include/fsl_fastboot.h index ad0fce6629..a58663a623 100644 --- a/include/fsl_fastboot.h +++ b/include/fsl_fastboot.h @@ -86,6 +86,7 @@ #ifdef CONFIG_IMX_TRUSTY_OS #ifndef CONFIG_AVB_ATX #define FASTBOOT_SET_RPMB_KEY "set-rpmb-key" +#define FASTBOOT_SET_RPMB_RANDOM_KEY "set-rpmb-random-key" #define FASTBOOT_SET_VBMETA_PUBLIC_KEY "set-public-key" #endif |