Skip to content

Commit d7b32a2

Browse files
ti-mitultyashwin-ti
authored andcommitted
am261x/am263x/am263px: rng: udpate structure
- Result Length should not be a pointer Fixes: TIFSMCU-2526 Signed-off-by: Mitul Tyagi <mitulty@ti.com>
1 parent b26f6f8 commit d7b32a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/drivers/hsmclient/hsm_services/trng_service_app.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ void HsmRngApp_start(HsmClient_t *client)
6363
getRNG.DRBGMode = 0x5A;
6464
getRNG.seedSizeInDWords = SEED_SIZE_IN_DWORDS;
6565
getRNG.seedValue = (uint32_t *)&RngDrbgSeed;
66-
getRNG.resultLengthPtr = &length;
66+
getRNG.resultLength = length;
6767
getRNG.resultPtr = (uint8_t *)val;
6868

6969
CycleCounterP_reset();

0 commit comments

Comments
 (0)