assert_spec linux proc tresor_image_file { } { return "vfs_tresor_block.img" } set image_size 32 proc tresor_image_size_mb { } { global image_size return $image_size } build { core lib/ld init timer server/lx_block server/lx_fs server/vfs lib/vfs app/sequence app/tresor_init_trust_anchor app/tresor_init lib/vfs_tresor_crypto_aes_cbc lib/vfs_tresor_trust_anchor lib/vfs_jitterentropy lib/libc lib/libcrypto } create_boot_directory append config { } install_config $config exec rm -rf bin/[tresor_image_file] exec truncate -s [tresor_image_size_mb]M bin/[tresor_image_file] build_boot_image [list {*}[build_artifacts] [tresor_image_file]] run_genode_until {.*child "initialize_tresor" exited with exit value 0.*\n} 240 exec cp [run_dir]/genode/encrypted_private_key bin exec cp [run_dir]/genode/superblock_hash bin