Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/hisilicon/trng/
H A Dtrng.c34 #define SW_DRBG_BLOCKS_NUM 4095 macro
100 writel(SW_DRBG_BLOCKS_NUM | (0x1 << SW_DRBG_ENABLE_SHIFT), in hisi_trng_seed()
123 if (dlen > SW_DRBG_BLOCKS_NUM * SW_DRBG_BYTES || dlen == 0) { in hisi_trng_generate()
125 SW_DRBG_BLOCKS_NUM * SW_DRBG_BYTES); in hisi_trng_generate()