Sumit Garg | b6c4b3c | 2019-11-11 18:46:36 +0530 | [diff] [blame] | 1 | /* |
| 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 */ |
| 12 | enum { |
| 13 | KEY_ALG_GCM /* AES-GCM (default) */ |
| 14 | }; |
| 15 | |
| 16 | int 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 */ |