blob: 25d301170fc7ccecce25b52a8679624feef01782 [file] [log] [blame]
Sumit Gargb6c4b3c2019-11-11 18:46:36 +05301/*
2 * Copyright (c) 2019, Linaro Limited. All rights reserved.
3 * Author: Sumit Garg <sumit.garg@linaro.org>
4 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
7
8#ifndef ENCRYPT_H
9#define ENCRYPT_H
10
11/* Supported key algorithms */
12enum {
13 KEY_ALG_GCM /* AES-GCM (default) */
14};
15
16int encrypt_file(unsigned short fw_enc_status, int enc_alg, char *key_string,
17 char *nonce_string, const char *ip_name, const char *op_name);
18
19#endif /* ENCRYPT_H */