mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-04-27 02:19:23 -04:00

Validate preload API access using the fixed, pre-calculated app digest instead of letting an app register itself as a management app.
14 lines
244 B
C
14 lines
244 B
C
// Copyright (C) 2024 - Tillitis AB
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
#ifndef MGMT_APP_H
|
|
#define MGMT_APP_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
int mgmt_app_init(uint8_t app_digest[32]);
|
|
bool mgmt_app_authenticate(void);
|
|
|
|
#endif
|