Photo by Nicolas Thomas on Unsplash

Off I go

Time flies, I could not believe I have already finished 12 weeks of internship in Aeste. In the last week, my main job is to write the documentation about all the coding I have done in the P3MUAT project. Still, a few minor changes are done: i) Create our EC Read more…

Photo by Jon Moore on Unsplash

Known-key mode of BearSSL

Continue from last week’s progress, I was feeding in hard-coded time data that is valid into bearSSL engine to pass the certificate date verification so that an SSL connection can start. This is definitely not a proper way to obtain the time, I did that just to make sure the Read more…

Photo by Alexandre Debiève on Unsplash

Starting on OTA

In our HID module, MD5 hash function was used for a number of reasons. Previously we were using wolfSSL API to compute the MD5 hash, now I have replaced these function with bearSSL substitutes. Although Harmony has a crypto library providing MD5 hash, but that in fact is just merely Read more…

Photo by Tim Gouw on Unsplash

OS needed to run TCPIP stack

Since the only reference I have is an example code of bearSSL that is working in PC environment, in order to sort out the problem I am facing that the bearSSL server does not reply to client hello, I’ll have to look inside the source code of bearSSL. After some study, Read more…

Photo by Jon Moore on Unsplash

Working on BearSSL

In order to apply bearSSL in the project, the first thing I need to do is to include the bearSSL library object. The source code is available as a git repository, simply type “git clone https://www.bearssl.org/git/BearSSL” in a terminal to download the newest version of bearSSL. Apart from this, the Read more…

Photo by Jon Moore on Unsplash

Switch to BearSSL

Continue with last week problem of PUT request failure after implementing SSL, I look through every line of the code again and again and search through every keyword I could think of on the web but did not find much useful information. Without a clue on how to proceed, I asked for Read more…

Photo by Jon Moore on Unsplash

Redo of Flashing and SSL

In my fourth week, after Dr. Shawn saw my code of writing on flash memory which is playing with the pointer, he was like “why did you do that!?”. It was too complicated. Dr. Shawn said “Writing a complicated code is easy, the hardest part is how do you establish the Read more…

Photo by Nicolas Thomas on Unsplash

Writing to Flash and FPGA

As I am collecting the statistic of how the TCP receiver buffer size affects the speed of downloading, I found that the time it takes to download the firmware topped at around 11.6 seconds with 512byte of receiver buffer size, which is in fact very slow, further increase of receiver Read more…