[PATCH 18/25] ubfis: authentication: authenticate master node

2018-07-04 Thread Sascha Hauer
The master node contains hashes over the root index node and the LPT. This patch adds a HMAC to authenticate the master node itself. Signed-off-by: Sascha Hauer --- fs/ubifs/master.c | 61 - fs/ubifs/recovery.c | 7 +++--- fs/ubifs/ubifs.h| 1

[PATCH 18/25] ubfis: authentication: authenticate master node

2018-07-04 Thread Sascha Hauer
The master node contains hashes over the root index node and the LPT. This patch adds a HMAC to authenticate the master node itself. Signed-off-by: Sascha Hauer --- fs/ubifs/master.c | 61 - fs/ubifs/recovery.c | 7 +++--- fs/ubifs/ubifs.h| 1