Home
last modified time | relevance | path

Searched refs:trng_value (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/crypto/ccp/
H A Dccp-dev.c509 u32 trng_value; in ccp_trng_read() local
510 int len = min_t(int, sizeof(trng_value), max); in ccp_trng_read()
515 trng_value = ioread32(ccp->io_regs + TRNG_OUT_REG); in ccp_trng_read()
516 if (!trng_value) { in ccp_trng_read()
529 memcpy(data, &trng_value, len); in ccp_trng_read()