diff --git a/pico_hsm_sdk_import.cmake b/pico_keys_sdk_import.cmake similarity index 92% rename from pico_hsm_sdk_import.cmake rename to pico_keys_sdk_import.cmake index 9fe9726..eb0bcf3 100644 --- a/pico_hsm_sdk_import.cmake +++ b/pico_keys_sdk_import.cmake @@ -1,5 +1,5 @@ # - # This file is part of the Pico HSM SDK distribution (https://github.com/polhenarejos/pico-hsm-sdk). + # This file is part of the Pico Keys SDK distribution (https://github.com/polhenarejos/pico-keys-sdk). # Copyright (c) 2022 Pol Henarejos. # # This program is free software: you can redistribute it and/or modify @@ -167,12 +167,12 @@ if (ENABLE_EMULATION) set(INCLUDES ${INCLUDES} ${CMAKE_CURRENT_LIST_DIR}/src/usb/emulation ) - if (NOT TARGET pico_hsm_sdk) - add_impl_library(pico_hsm_sdk) - target_sources(pico_hsm_sdk INTERFACE + if (NOT TARGET pico_keys_sdk) + add_impl_library(pico_keys_sdk) + target_sources(pico_keys_sdk INTERFACE ${SOURCES} ) - target_include_directories(pico_hsm_sdk INTERFACE + target_include_directories(pico_keys_sdk INTERFACE ${INCLUDES} ) endif() @@ -190,18 +190,18 @@ else() set(SOURCES ${SOURCES} ${CMAKE_CURRENT_LIST_DIR}/src/usb/usb_descriptors.c ) - if (NOT TARGET pico_hsm_sdk) - pico_add_library(pico_hsm_sdk) + if (NOT TARGET pico_keys_sdk) + pico_add_library(pico_keys_sdk) - target_sources(pico_hsm_sdk INTERFACE + target_sources(pico_keys_sdk INTERFACE ${SOURCES} ) - target_include_directories(pico_hsm_sdk INTERFACE + target_include_directories(pico_keys_sdk INTERFACE ${INCLUDES} ) - target_link_libraries(pico_hsm_sdk INTERFACE ${LIBRARIES}) + target_link_libraries(pico_keys_sdk INTERFACE ${LIBRARIES}) endif() endif() diff --git a/src/hsm.h b/src/pico_keys.h similarity index 97% rename from src/hsm.h rename to src/pico_keys.h index d1e0490..ebe6509 100644 --- a/src/hsm.h +++ b/src/pico_keys.h @@ -1,5 +1,5 @@ /* - * This file is part of the Pico HSM SDK distribution (https://github.com/polhenarejos/pico-hsm-sdk). + * This file is part of the Pico Keys SDK distribution (https://github.com/polhenarejos/pico-keys-sdk). * Copyright (c) 2022 Pol Henarejos. * * This program is free software: you can redistribute it and/or modify @@ -15,8 +15,8 @@ * along with this program. If not, see . */ -#ifndef _HSM_H_ -#define _HSM_H_ +#ifndef _PICO_KEYS_H_ +#define _PICO_KEYS_H_ #include "file.h" #ifndef ENABLE_EMULATION diff --git a/src/hsm_version.h b/src/pico_keys_version.h similarity index 70% rename from src/hsm_version.h rename to src/pico_keys_version.h index 7a18bbb..046d153 100644 --- a/src/hsm_version.h +++ b/src/pico_keys_version.h @@ -1,5 +1,5 @@ /* - * This file is part of the Pico HSM SDK distribution (https://github.com/polhenarejos/pico-hsm-sdk). + * This file is part of the Pico Keys SDK distribution (https://github.com/polhenarejos/pico-keys-sdk). * Copyright (c) 2022 Pol Henarejos. * * This program is free software: you can redistribute it and/or modify @@ -18,9 +18,9 @@ #ifndef __VERSION_H_ #define __VERSION_H_ -#define HSM_SDK_VERSION 0x0400 +#define PICO_KEYS_SDK_VERSION 0x0400 -#define HSM_SDK_VERSION_MAJOR ((HSM_SDK_VERSION >> 8) & 0xff) -#define HSM_SDK_VERSION_MINOR (HSM_SDK_VERSION & 0xff) +#define PICO_KEYS_SDK_VERSION_MAJOR ((PICO_KEYS_SDK_VERSION >> 8) & 0xff) +#define PICO_KEYS_SDK_VERSION_MINOR (PICO_KEYS_SDK_VERSION & 0xff) #endif