真随机数生成器是一款重要的数字 IP 核,目标是加密安全的应用。它是一种数字熵源,符合 NIST-800-90B 和 AIS31 标准。该 IP 核成功通过了 NIST-800-22、90B 和 AIS31 的熵源测试套件,符合 FIPS-140-2 验证。随机数生成对于任何安全设备而言都非常重要。随机数主要用于密钥生成、密钥交换、数字签名和加密等。IPsec、MACsec、TLS/SSL 或无线等典型安全协议在身份验证/密钥交换和数据传输阶段使用它们。
特性:
获得评估或购买此产品的权利。
您可免费试用以下示例应用。
查看和购买此应用的可用定价计划。
该应用是容器化的,可以在几分钟内轻松地在云中或本地运行。
请按照部署方法进行操作。
需要一个访问密钥来对用户进行身份验证,并根据其权限授予用户应用访问权。要获取您的帐户访问密钥,请按以下步骤操作:
注:生成的访问密钥将启用您帐户中的所有权限。如果您还没有从以上 "TRY OR BUY" 部分获取授权,请先获取授权,然后按照以下步骤生成访问密钥。
Ubuntu 16.04 /18.04 和 CentOS 7.x. 支持 Xilinx 运行时 (XRT) 主机应用(注意:此应用假定只有一张 Alveo 卡,并安装在插槽“0”中。) 支持 sudo 访问,使用以下命令下载并运行安装脚本:
git clone https://github.com/Xilinx/Xilinx_Base_Runtime.git
cd Xilinx_Base_Runtime
./host_setup.sh -v 2020.2 -p alveo-u50
./host_setup.sh -v 2020.2 -p alveo-u200
./host_setup.sh -v 2020.2 -p alveo-u250
注:
在允许 sudo 访问的情况下,请使用以下命令运行实用程序脚本来安装 docker。
cd Xilinx_Base_Runtime/utilities
./docker_install.sh
source Xilinx_Base_Runtime/utilities/xilinx_docker_setup.sh
Alveo U50
docker pull hubxilinx/silex_ba431_u50
Alveo U200
docker pull hubxilinx/silex_ba431_u200
Alveo U250
docker pull hubxilinx/silex_ba431_u250
Alveo U50
docker run -v ${PWD}/cred.json:/cred.json -v /dev/shm:/data $XILINX_DOCKER_DEVICES hubxilinx/silex_ba431_u50 1000
命令参数描述:
$XILINX_DOCKER_DEVICES
- 由主机设置脚本设置的变量-v ${PWD}/cred.json:/cred.json
- 将下载的 cred.json
映射至容器。-v /dev/shm:/data
— 将 container /data 目录映射至 host /dev/shm 目录。这个 /data 目录包含 random.txt 文本文件,其中包含所生成的所有 32 位随机数。hubxilinx/silex_ba431_u50
– docker 存储库名称1000
– 用户定义变量,指定要生成的 32 位随机数数量Alveo U200
docker run -v ${PWD}/cred.json:/cred.json -v /dev/shm:/data $XILINX_DOCKER_DEVICES hubxilinx/silex_ba431_u200 1000
命令参数描述:
$XILINX_DOCKER_DEVICES
- 由主机设置脚本设置的变量-v ${PWD}/cred.json:/cred.json
- 将下载的 cred.json
映射至容器。-v /dev/shm:/data
— 将 container /data 目录映射至 host /dev/shm 目录。这个 /data 目录包含 random.txt 文本文件,其中包含所生成的所有 32 位随机数。hubxilinx/silex_ba431_u50
– docker 存储库名称1000
– 用户定义变量,指定要生成的 32 位随机数数量Alveo U250
docker run -v ${PWD}/cred.json:/cred.json -v /dev/shm:/data $XILINX_DOCKER_DEVICES hubxilinx/silex_ba431_u250 1000
命令参数描述:
$XILINX_DOCKER_DEVICES
- 由主机设置脚本设置的变量-v ${PWD}/cred.json:/cred.json
- 将下载的 cred.json
映射至容器。-v /dev/shm:/data
— 将 container /data 目录映射至 host /dev/shm 目录。这个 /data 目录包含 random.txt 文本文件,其中包含所生成的所有 32 位随机数。hubxilinx/silex_ba431_u50
– docker 存储库名称1000
– 用户定义变量,指定要生成的 32 位随机数数量这是生成 1024 个 32 位随机数的结果。输出文件(random.txt)位于 /dev/shm 目录中。
Alveo U50
root@5a4b0b93569c:/app/ docker run -v ${PWD}/cred.json:/cred.json -v /dev/shm:/data $XILINX_DOCKER_DEVICES hubxilinx/silex_ba431_u50 1024
[DRMLIB] Start Session ...
[ info ] 1 , DRM session DE4BB4555F464ED6 created.
[TRNG] : resetting ...
[TRNG] : reset done
[TRNG] : enabling TRNG ...
[TRNG] : TRNG enabled
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 64 32-bit random numbers detected
[TRNG] 28 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 20 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 5 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 64 32-bit random numbers detected
[TRNG] 27 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 40 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 27 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 36 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 32 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 36 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 30 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 36 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 32 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 36 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 32 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 40 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 1024 32-bit random numbers were generated
[TRNG] Writing down the 32-bit random numbers in a text file ...
[TRNG] random.txt file was successfully created
[DRMLIB] Stop Session ...
[ info ] 1 , DRM session DE4BB4555F464ED6 stopped.
Alveo U200
root@5a4b0b93569c:/app/ docker run -v ${PWD}/cred.json:/cred.json -v /dev/shm:/data $XILINX_DOCKER_DEVICES hubxilinx/silex_ba431_u200 1024
[DRMLIB] Start Session ...
[ info ] 1 , DRM session DE4BB4555F464ED6 created.
[TRNG] : resetting ...
[TRNG] : reset done
[TRNG] : enabling TRNG ...
[TRNG] : TRNG enabled
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 64 32-bit random numbers detected
[TRNG] 28 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 20 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 5 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 64 32-bit random numbers detected
[TRNG] 27 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 40 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 27 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 36 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 32 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 36 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 30 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 36 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 32 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 36 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 32 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 40 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 1024 32-bit random numbers were generated
[TRNG] Writing down the 32-bit random numbers in a text file ...
[TRNG] random.txt file was successfully created
[DRMLIB] Stop Session ...
[ info ] 1 , DRM session DE4BB4555F464ED6 stopped.
Alveo U250
root@5a4b0b93569c:/app/ docker run -v ${PWD}/cred.json:/cred.json -v /dev/shm:/data $XILINX_DOCKER_DEVICES hubxilinx/silex_ba431_u250 1024
[DRMLIB] Start Session ...
[ info ] 1 , DRM session DE4BB4555F464ED6 created.
[TRNG] : resetting ...
[TRNG] : reset done
[TRNG] : enabling TRNG ...
[TRNG] : TRNG enabled
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 64 32-bit random numbers detected
[TRNG] 28 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 20 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 5 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 64 32-bit random numbers detected
[TRNG] 27 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 40 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 27 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 36 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 32 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 36 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 30 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 36 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 32 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 36 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 32 32-bit random numbers detected
[TRNG] Waiting for 32-bit random numbers to be generated.
[TRNG] 40 32-bit random numbers detected
[TRNG] 64 32-bit random numbers detected
[TRNG] 1024 32-bit random numbers were generated
[TRNG] Writing down the 32-bit random numbers in a text file ...
[TRNG] random.txt file was successfully created
[DRMLIB] Stop Session ...
[ info ] 1 , DRM session DE4BB4555F464ED6 stopped.