1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd 4 */ 5 6 #ifndef WRITE_KEYBOX_H_ 7 #define WRITE_KEYBOX_H_ 8 9 #include <common.h> 10 11 /* 12 * write_keybox_to_secure_storage 13 * 14 * @received_data: the data received from usb 15 * @len: size of received_data 16 * 17 * @return a negative number in case of error, or 0 on success. 18 */ 19 uint32_t write_keybox_to_secure_storage(uint8_t *received_data, uint32_t len); 20 #endif 21 22