blob: b9a787c6befb7042b362f0a1cda36f5a1e521953 [file] [log] [blame]
Joakim Bech730a0da2017-11-21 15:19:09 +01001/*
2 * Copyright (c) 2017, Linaro Limited
3 * All rights reserved.
4 *
5 * SPDX-License-Identifier: BSD-2-Clause
6 */
7#ifndef __HOTP_TA_H__
8#define __HOTP_TA_H__
9
10/*
11 * This TA implements HOTP according to:
12 * https://www.ietf.org/rfc/rfc4226.txt
13 */
14
15#define TA_HOTP_UUID \
16 { 0x484d4143, 0x2d53, 0x4841, \
17 { 0x31, 0x20, 0x4a, 0x6f, 0x63, 0x6b, 0x65, 0x42 } }
18
19/* The function ID(s) implemented in this TA */
20#define TA_HOTP_CMD_REGISTER_SHARED_KEY 0
21#define TA_HOTP_CMD_GET_HOTP 1
22
23#endif