# dd if=/dev/zero of=/nvme/test.bla bs=4096k count=1000
1000+0 records in
1000+0 records out
4194304000 bytes (4.2 GB, 3.9 GiB) copied, 2.15929 s, 1.9 GB/s
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Conversion functions | |
function convert1Dto2D(image) | |
{ | |
const tmp = [] | |
let offset = 0; | |
for(let y = 0; y < image.height; y++) | |
{ | |
tmp.push([]); | |
for(let x = 0; x < image.width; x++) | |
{ |
First step: install tpm2-tss, tpm2-tools and all its depedencies.
# Install dependencies
sudo apt-get update && sudo apt-get -y install autoconf autoconf-archive automake libtool pkg-config gcc libssl-dev libcurl4-gnutls-dev doxygen
# Install tpm2-tss
git clone https://github.com/tpm2-software/tpm2-tss.git
cd tpm2-tss
git checkout e05d28ec # I used this particular commit
./bootstrap
NewerOlder