Page 1 of 1
ROM functions
Posted: Wed Dec 16, 2015 2:10 am
by rojer9
is
this really all there is?
for example, have all crypto functions been removed from ROM?
i suspect not. can you please publish the list of exports and (important!) C decls / prototypes for them?
full documentation would be nice too, but headers or even just addresses would be a good start.
Re: ROM functions
Posted: Wed Dec 16, 2015 7:46 pm
by WiFive
The ROM may not be finalized at this point and the SDK probably isn't linking to ROM functions for debugging purposes.
Re: ROM functions
Posted: Sat Dec 26, 2015 10:35 am
by johnlee
yes, the ROM is very rudimentary; we are in the process of defining the ROM now, including SSL functions, and especially those functions related to security.
Re: ROM functions
Posted: Sat Jan 09, 2016 6:35 pm
by rojer9
thank you, that makes sense.
one suggestion from me: please implement stronger checksums during flashing than a simple 8-bit xor! crc32, adler32 (weaker but very small code), or just use md5/sha1/sha256 if you intend to have them included anyway.
i have implemented a better and faster flasher for 8266 which uses md5 for checksums (function is in rom anyway), and i have caught a few byte corruptions during transfer. with simple xor, it's too easy for a corruption to be masked by another one without being detected.