The use of the ESP8266 in the world of IoT

User avatar
By rudi
#1438
wififofum wrote:It is playful language, not spiteful.

But I see how you praise all the other open source projects on this forum and are using them so I was just curious if you will post your source.

I have not written any code yet, but I would like to see how you use certain functions. Like AES functions from the on chip ROM? Videos of this are silly to me. I want to read the code even if I never use it.

So I request you to post it if you want.

Thanks



No problem,

i have read this last time - think will be a fine doing in this

here are examples :

loop AES
http://sourceforge.net/projects/loop-aes/
http://loop-aes.sourceforge.net/aespipe/

others: ( arduino ect )
https://github.com/qistoph/ArduinoAES256
http://www.literatecode.com/aes256


procedure is simple:

one time the ESP8266 will be update to higher firmware,
so it must go to a newer firmware.

in this ( like the cloud sdk )
the ESP8266 will be identify by the cip id

Code: Select all   
1、 offer an API to get chip id. During downloading, will read chip id first , then write the chip id to flash.  In program check whether the chip id and the record in flash are the same or not , if not , while(1)


the second way is the identify by a developer it self.. so :
Code: Select all
2、 will give a developer an unique id which is in the chip,in program can read the unique id from the chip,if it is the developer id , the process goes on, if not,while(1)



the bootcode at spi is AES 256 encoded, you can copy , it, but not decrypt
you can install it at other esp8266 but will not start

best wishes
rudi
;-)

so let me know what you will know that you understand well.
User avatar
By mamalala
#1442
wififofum wrote:Thanks, but are you using AES functions in eagle.rom.addr.v6.ld because they may use hardware acceleration?

Language translation is hard, easier to read source code. So I will check your github for updates.


Not knowing what he does, i would say that if he uses the rom functions, they would probably be accelerated somewhat. That is, if it is true that the chip has dedicated hardware for that, as advertised on the Espressif page.

Greetings,

Chris
User avatar
By wififofum
#1446
mamalala wrote:
wififofum wrote:Thanks, but are you using AES functions in eagle.rom.addr.v6.ld because they may use hardware acceleration?

Language translation is hard, easier to read source code. So I will check your github for updates.


Not knowing what he does, i would say that if he uses the rom functions, they would probably be accelerated somewhat. That is, if it is true that the chip has dedicated hardware for that, as advertised on the Espressif page.

Greetings,

Chris


Yes that would be nice. But why only decrypt functions and no encrypt functions listed in eagle.rom.addr.v6.ld?