cose-wg / COSE-C

Implementation of COSE in C++; Provides a C interface; Crypto by openssl or mbedtls
BSD 3-Clause "New" or "Revised" License
30 stars 22 forks source link

First pass at reducing memory usage #45

Closed jimsch closed 7 years ago

jimsch commented 7 years ago

Since we have not gotten a fix from cn-cbor yet on this problem, move to a single location of a static buffer for encoding into to get the actual size needed. Now use just the one 8K buffer.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.01%) to 75.334% when pulling 6c27caf7ca25f6dd73fb5cc873085588d8f00133 on jimsch:master into 8757351ac192470a753f730e1d0fd9a66c2aa6e9 on cose-wg:master.