ROM functions

rojer9
Posts: 17
Joined: Mon Dec 14, 2015 10:45 pm
Contact:

ROM functions

Postby rojer9 » Wed Dec 16, 2015 2:10 am

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.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: ROM functions

Postby WiFive » Wed Dec 16, 2015 7:46 pm

The ROM may not be finalized at this point and the SDK probably isn't linking to ROM functions for debugging purposes.

johnlee
Posts: 34
Joined: Sun Nov 15, 2015 4:27 am

Re: ROM functions

Postby johnlee » Sat Dec 26, 2015 10:35 am

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.

rojer9
Posts: 17
Joined: Mon Dec 14, 2015 10:45 pm
Contact:

Re: ROM functions

Postby rojer9 » Sat Jan 09, 2016 6:35 pm

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.

Who is online

Users browsing this forum: Baidu [Spider] and 137 guests