Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/crypto/hisilicon/trng/
A Dtrng.c38 #define SW_DRBG_BYTES 16 macro
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()
140 if (dlen - currsize >= SW_DRBG_BYTES) { in hisi_trng_generate()
141 memcpy(dstn + currsize, data, SW_DRBG_BYTES); in hisi_trng_generate()
142 currsize += SW_DRBG_BYTES; in hisi_trng_generate()

Completed in 2 milliseconds