Skip to content

Commit

Permalink
conf/evalsoc: Enable BR2_PACKAGE_HAVEGED to speedup random crng init …
Browse files Browse the repository at this point in the history
…done

see https://patchwork.kernel.org/project/linux-crypto/patch/[email protected]/

This haveged can speedup the random crng init done, otherwise
you have to random input or execute somethings to wait random: crng init done show

then your command: openssl speed -elapsed -evp aes-128-gcm will not stuck at getrandom syscall

Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Feb 21, 2024
1 parent e2db0ae commit 89fc64e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions conf/evalsoc/buildroot_initramfs_rv32imac_config
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ BR2_PACKAGE_MTD_JFFS2DUMP=y
BR2_PACKAGE_MTD_MKFSJFFS2=y
BR2_PACKAGE_MTD_MTDPART=y
BR2_PACKAGE_MINICOM=y
BR2_PACKAGE_HAVEGED=y
BR2_PACKAGE_LIBTIRPC=y
# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
BR2_PACKAGE_LRZSZ=y
1 change: 1 addition & 0 deletions conf/evalsoc/buildroot_initramfs_rv32imafdc_config
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@ BR2_PACKAGE_MTD_JFFS2DUMP=y
BR2_PACKAGE_MTD_MKFSJFFS2=y
BR2_PACKAGE_MTD_MTDPART=y
BR2_PACKAGE_MINICOM=y
BR2_PACKAGE_HAVEGED=y
# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
BR2_PACKAGE_LRZSZ=y
1 change: 1 addition & 0 deletions conf/evalsoc/buildroot_initramfs_rv64imac_config
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ BR2_PACKAGE_MTD_JFFS2DUMP=y
BR2_PACKAGE_MTD_MKFSJFFS2=y
BR2_PACKAGE_MTD_MTDPART=y
BR2_PACKAGE_MINICOM=y
BR2_PACKAGE_HAVEGED=y
BR2_PACKAGE_LIBTIRPC=y
# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
BR2_PACKAGE_LRZSZ=y
1 change: 1 addition & 0 deletions conf/evalsoc/buildroot_initramfs_rv64imafdc_config
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@ BR2_PACKAGE_MTD_JFFS2DUMP=y
BR2_PACKAGE_MTD_MKFSJFFS2=y
BR2_PACKAGE_MTD_MTDPART=y
BR2_PACKAGE_MINICOM=y
BR2_PACKAGE_HAVEGED=y
# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
BR2_PACKAGE_LRZSZ=y

0 comments on commit 89fc64e

Please sign in to comment.