Just Facts

DANG Fan‘s Blog

Debug MIPI DSI of RK3399

RK3399 is the most recent hign-end SoC of Rockchip. Its previous generation RK3288 is widely used in various places. For example, ASUS C100PA Chromebook Flip uses the RK3288. As an upgraded model, RK3399 has a six-core CPU consisting of two A72 cores and four A53 cores, and the GPU has been upgraded to the Mali-T860.


The New Domain is Online

The new .fan TLD is launched on December 12, 2018. Then I got this domain: dang.fan.


Recommend Two Services

FastMail & LastPass

Some time ago, I migrated all my email services to FastMail. At the same time, the password management is also switched to LastPass. This article will introduce the motivation.


Using OpenSSL in Android

Taking HMAC-SHA256 as an example

由於Java較爲容易被反編譯,因此把一些重要代碼放在so文件中成爲了一個代價不太高的選擇。雖然so文件依舊可以反編譯,但對so進行逆向分析的門檻則要比分析Java字節碼的門檻高出不少。很多安全相關的代碼都依賴OpenSSL,然而網絡上在NDK中使用OpenSSL的教程並不多見,經過一天的探索,我終於可以成功在NDK中調用OpenSSL了。本文將以調用OpenSSL中的HMAC算法爲例,介紹如何在NDK中使用OpenSSL。


數字證書、公私鑰小記

以前一直都使用現成的TLS服務,沒有關心過這裏的一些細節。最近需要用到TLS上的RPC,才發現需要了解很多東西,才能比較正確地使用。