From f7304d168c353138ea3dc2ce92b38ef3528a9dcd Mon Sep 17 00:00:00 2001 From: kokke Date: Sun, 5 Nov 2017 04:12:45 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9878ef7..ea4c022 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ See [ecdh_example.c](https://github.com/kokke/tiny-ECDH-c/blob/master/ecdh_examp There is no built-in error checking or protection from out-of-bounds memory access errors as a result of malicious input. The two functions ecdh_shared_secret() and ecdh_generate_keys() expect inputs of a certain length. See [ecdh.h](https://github.com/kokke/tiny-ECDH-c/blob/master/ecdh.h) for clarification. -The module allocates no RAM internally and 2.1K ROM when compiled for ARM (1.4K for Thumb but YMMV). +The module allocates no RAM internally and takes up 2.1K ROM when compiled for ARM (1.4K for Thumb but YMMV). A keypair requires between 63 and 216 bytes of RAM depending on which curve you choose (i.e. how big the underlying base field is).