1 /* 2 * Copyright (c) 2013 Google, Inc. 3 * 4 * Use of this source code is governed by a MIT-style 5 * license that can be found in the LICENSE file or at 6 * https://opensource.org/licenses/MIT 7 */ 8 #pragma once 9 10 #include <stddef.h> 11 #include <sys/types.h> 12 #include <lib/version.h> 13 14 /* routines for searching for and finding a build signature */ 15 status_t buildsig_search(const void *ptr, size_t search_len, size_t max_len, 16 const lk_version_t **version); 17 18 #define DEFAULT_BUILDSIG_SEARCH_LEN 1024 19 20