Lines Matching refs:entropy
9 # Runs a single instance of the early boot entropy collection test.
11 # This script assumes that Zircon has already been built to support entropy quality tests (i.e with
13 # qemu or via netboot, then it extracts the entropy file once the boot-time test completes. Usually
21 # This script saves the captured entropy in a file named 'entropy.#########.bin' (to facilitate
23 # 'entropy.#########.meta', recording certain test parameters. See the source below for more
37 echo "-l <len> : entropy test length (bytes to collect)" >&2
97 # handle entropy-test specific cmdline args
98 CMDLINE+="kernel.entropy-test.src=$SRC "
99 if [[ -n $LEN ]]; then CMDLINE+="kernel.entropy-test.len=$LEN "; fi
123 NODENAME="entropy-test-$(head -c16 /dev/urandom | xxd -p)";
131 find . \( -type f -name "entropy.*.bin" -print \) -o \( -type d ! -name . -prune \) |
132 sed 's/^.*entropy\.0*//;s/\.bin$//;s/^$/0/;' | grep '^[0-9]\+$' |
136 BINFILE="$OUTDIR/entropy.$NUM.bin"
137 METAFILE="$OUTDIR/entropy.$NUM.meta"
157 # wait for zircon to send us the entropy file
161 "$NODENAME:/boot/kernel/debug/entropy.bin" "$BINFILE" &&
171 echo "entropy-test $METHOD"