X-Git-Url: http://www.git.cypherpunks.ru/?p=gohpenc.git;a=blobdiff_plain;f=README;fp=README;h=802056ab261b239612e146fbc06157c6dc9209d8;hp=a307e8d7fea5aceb2c180379d8338851c12a5a8f;hb=ae7a2efeea1aadfaf3a098e0449997f5b5840b44;hpb=915a46b16cf4f61778e4b30364e299026656a60e diff --git a/README b/README index a307e8d..802056a 100644 --- a/README +++ b/README @@ -45,9 +45,10 @@ How encryption/authentication is performed: | SALT | LEN | CIPHERTEXT | AUTH TAG | LEN | CIPHERTEXT | AUTH TAG | ... +------+-----+------------+----------+-----+------------+----------+---- -gohpenc preallocates memory for one block for each thread. If you want -to process data with 1 MiB blocks in 4 threads, then you have to have at -least 4 MiBs of free memory. Moreover you have at least 1 MiB of free -memory on the decrypting side. +gohpenc preallocates memory for one block for each thread and one block +for buffered reading from stdin. If you want to process data with 1 MiB +blocks in 4 threads, then you have to have at least 5 MiBs of free +memory. Moreover you have at least 1 MiB of free memory on the +decrypting side. gohpenc is free software: see the file COPYING for copying conditions.