Searched refs:rngReseed (Results 1 – 1 of 1) sorted by relevance
4239 caam_desc_rng_t rngReseed = {0}; in CAAM_RNG_Reseed() local4240 rngReseed[0] = 0xB0800004u; /* HEADER */ in CAAM_RNG_Reseed()4241 …rngReseed[1] = 0x12200020u; /* LOAD 32 bytes of to Class 1 Context Register. Offset … in CAAM_RNG_Reseed()4242 rngReseed[2] = ADD_OFFSET((uint32_t)additionalEntropy); in CAAM_RNG_Reseed()4243 …rngReseed[3] = 0x8250000Au; /* ALG OPERATION: RNG reseed state handle (AS=10 Reseed) … in CAAM_RNG_Reseed()4248 rngReseed[3] |= (uint32_t)1u << 11; /* set AI bit in ALG OPERATION */ in CAAM_RNG_Reseed()4252 rngReseed[1] = DESC_JUMP_2; /* jump to current index + 2 (=3) */ in CAAM_RNG_Reseed()4258 rngReseed[3] |= 1u << 4; in CAAM_RNG_Reseed()4264 status = caam_in_job_ring_add(base, handle->jobRing, &rngReseed[0]); in CAAM_RNG_Reseed()4267 status = CAAM_Wait(base, handle, &rngReseed[0], kCAAM_Blocking); in CAAM_RNG_Reseed()