From adbc391a2c45373f5e4ede5737ccb1eec37f184b Mon Sep 17 00:00:00 2001 From: PARKJIHOON Date: Mon, 13 Jan 2020 20:17:56 +0900 Subject: [PATCH] Update SSS header contents Signed-off-by: PARKJIHOON --- .../security_subsystem/drivers/mb_cmd_hash.c | 33 ++++++++++-------- .../security_subsystem/drivers/mb_cmd_hash.h | 34 ++++++++++--------- .../security_subsystem/drivers/mb_cmd_rng.c | 1 - .../security_subsystem/drivers/mb_cmd_rng.h | 1 - .../security_subsystem/drivers/sss_common.h | 34 ++++++++++--------- .../drivers/sss_driver_sha2.c | 33 ++++++++++-------- .../drivers/sss_driver_sha2.h | 33 ++++++++++-------- .../security_subsystem/drivers/sss_map.h | 33 ++++++++++-------- .../security_subsystem/sss_common.h | 15 ++++++++ 9 files changed, 123 insertions(+), 94 deletions(-) diff --git a/targets/TARGET_Samsung/security_subsystem/drivers/mb_cmd_hash.c b/targets/TARGET_Samsung/security_subsystem/drivers/mb_cmd_hash.c index a1cfcbe613..70d31d2df1 100644 --- a/targets/TARGET_Samsung/security_subsystem/drivers/mb_cmd_hash.c +++ b/targets/TARGET_Samsung/security_subsystem/drivers/mb_cmd_hash.c @@ -1,18 +1,21 @@ -/**************************************************************************/ -/* Copyright (c) Samsung Electronics Co., Ltd. All rights reserved. */ -/* */ -/* -INSTRUCTIONS- */ -/* THIS SOFTWARE IS A CONFIDENTIAL STUFFS AND PROPRIETARY OF SAMSUNG ELEC */ -/* TRONICS CO.,LTD. SO YOU SHALL NOT DISCLOSE THIS SOFTWARE OTHER COMPANY */ -/* OR PERSONS WITHOUT PERMISSION OF SAMSUNG AND SHALL USE THIS SOFTWARE */ -/* ONLY IN ACCORDANCE WITH THE LICENSE AGREEMENT OF SAMSUNG. */ -/* SAMSUNG MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY */ -/* OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED */ -/* TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR */ -/* PURPOSE, OR NON-INFRINGEMENT. SAMSUNG SHALL NOT BE LIABLE FOR ANY */ -/* DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR */ -/* DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. */ -/**************************************************************************/ +/**************************************************************************** + * + * Copyright 2019 Samsung Electronics All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific + * language governing permissions and limitations under the License. + * + ****************************************************************************/ /*************** Include Files ********************************************/ /* Driver Common */ diff --git a/targets/TARGET_Samsung/security_subsystem/drivers/mb_cmd_hash.h b/targets/TARGET_Samsung/security_subsystem/drivers/mb_cmd_hash.h index 6248548f59..88fef42089 100644 --- a/targets/TARGET_Samsung/security_subsystem/drivers/mb_cmd_hash.h +++ b/targets/TARGET_Samsung/security_subsystem/drivers/mb_cmd_hash.h @@ -1,19 +1,21 @@ -/**************************************************************************/ -/* Copyright (c) Samsung Electronics Co., Ltd. All rights reserved. */ -/* */ -/* -INSTRUCTIONS- */ -/* THIS SOFTWARE IS A CONFIDENTIAL STUFFS AND PROPRIETARY OF SAMSUNG ELEC */ -/* TRONICS CO.,LTD. SO YOU SHALL NOT DISCLOSE THIS SOFTWARE OTHER COMPANY */ -/* OR PERSONS WITHOUT PERMISSION OF SAMSUNG AND SHALL USE THIS SOFTWARE */ -/* ONLY IN ACCORDANCE WITH THE LICENSE AGREEMENT OF SAMSUNG. */ -/* SAMSUNG MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY */ -/* OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED */ -/* TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR */ -/* PURPOSE, OR NON-INFRINGEMENT. SAMSUNG SHALL NOT BE LIABLE FOR ANY */ -/* DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR */ -/* DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. */ -/**************************************************************************/ - +/**************************************************************************** + * + * Copyright 2019 Samsung Electronics All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific + * language governing permissions and limitations under the License. + * + ****************************************************************************/ #ifndef SSS_MB_CMD_HASH_H #define SSS_MB_CMD_HASH_H diff --git a/targets/TARGET_Samsung/security_subsystem/drivers/mb_cmd_rng.c b/targets/TARGET_Samsung/security_subsystem/drivers/mb_cmd_rng.c index 5719cf4057..da824bf126 100644 --- a/targets/TARGET_Samsung/security_subsystem/drivers/mb_cmd_rng.c +++ b/targets/TARGET_Samsung/security_subsystem/drivers/mb_cmd_rng.c @@ -16,7 +16,6 @@ * language governing permissions and limitations under the License. * ****************************************************************************/ - /*************** Include Files ********************************************/ /* Driver Common */ #include "sss_common.h" diff --git a/targets/TARGET_Samsung/security_subsystem/drivers/mb_cmd_rng.h b/targets/TARGET_Samsung/security_subsystem/drivers/mb_cmd_rng.h index c96c2ee020..1998c80596 100644 --- a/targets/TARGET_Samsung/security_subsystem/drivers/mb_cmd_rng.h +++ b/targets/TARGET_Samsung/security_subsystem/drivers/mb_cmd_rng.h @@ -16,7 +16,6 @@ * language governing permissions and limitations under the License. * ****************************************************************************/ - #ifndef MB_CMD_RNG_H #define MB_CMD_RNG_H diff --git a/targets/TARGET_Samsung/security_subsystem/drivers/sss_common.h b/targets/TARGET_Samsung/security_subsystem/drivers/sss_common.h index b939a46af9..4a7d1c9c45 100644 --- a/targets/TARGET_Samsung/security_subsystem/drivers/sss_common.h +++ b/targets/TARGET_Samsung/security_subsystem/drivers/sss_common.h @@ -1,19 +1,21 @@ -/**************************************************************************/ -/* Copyright (c) Samsung Electronics Co., Ltd. All rights reserved. */ -/* */ -/* -INSTRUCTIONS- */ -/* THIS SOFTWARE IS A CONFIDENTIAL STUFFS AND PROPRIETARY OF SAMSUNG ELEC */ -/* TRONICS CO.,LTD. SO YOU SHALL NOT DISCLOSE THIS SOFTWARE OTHER COMPANY */ -/* OR PERSONS WITHOUT PERMISSION OF SAMSUNG AND SHALL USE THIS SOFTWARE */ -/* ONLY IN ACCORDANCE WITH THE LICENSE AGREEMENT OF SAMSUNG. */ -/* SAMSUNG MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY */ -/* OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED */ -/* TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR */ -/* PURPOSE, OR NON-INFRINGEMENT. SAMSUNG SHALL NOT BE LIABLE FOR ANY */ -/* DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR */ -/* DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. */ -/**************************************************************************/ - +/**************************************************************************** + * + * Copyright 2019 Samsung Electronics All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific + * language governing permissions and limitations under the License. + * + ****************************************************************************/ #ifndef SSS_COMMON_H #define SSS_COMMON_H diff --git a/targets/TARGET_Samsung/security_subsystem/drivers/sss_driver_sha2.c b/targets/TARGET_Samsung/security_subsystem/drivers/sss_driver_sha2.c index 46ceac32a0..e110d5e1c8 100644 --- a/targets/TARGET_Samsung/security_subsystem/drivers/sss_driver_sha2.c +++ b/targets/TARGET_Samsung/security_subsystem/drivers/sss_driver_sha2.c @@ -1,18 +1,21 @@ -/**************************************************************************/ -/* Copyright (c) Samsung Electronics Co., Ltd. All rights reserved. */ -/* */ -/* -INSTRUCTIONS- */ -/* THIS SOFTWARE IS A CONFIDENTIAL STUFFS AND PROPRIETARY OF SAMSUNG ELEC */ -/* TRONICS CO.,LTD. SO YOU SHALL NOT DISCLOSE THIS SOFTWARE OTHER COMPANY */ -/* OR PERSONS WITHOUT PERMISSION OF SAMSUNG AND SHALL USE THIS SOFTWARE */ -/* ONLY IN ACCORDANCE WITH THE LICENSE AGREEMENT OF SAMSUNG. */ -/* SAMSUNG MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY */ -/* OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED */ -/* TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR */ -/* PURPOSE, OR NON-INFRINGEMENT. SAMSUNG SHALL NOT BE LIABLE FOR ANY */ -/* DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR */ -/* DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. */ -/**************************************************************************/ +/**************************************************************************** + * + * Copyright 2019 Samsung Electronics All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific + * language governing permissions and limitations under the License. + * + ****************************************************************************/ /*************** Include Files ********************************************/ #include "sss_driver_error.h" diff --git a/targets/TARGET_Samsung/security_subsystem/drivers/sss_driver_sha2.h b/targets/TARGET_Samsung/security_subsystem/drivers/sss_driver_sha2.h index b4051c406f..bd22627467 100644 --- a/targets/TARGET_Samsung/security_subsystem/drivers/sss_driver_sha2.h +++ b/targets/TARGET_Samsung/security_subsystem/drivers/sss_driver_sha2.h @@ -1,18 +1,21 @@ -/**************************************************************************/ -/* Copyright (c) Samsung Electronics Co., Ltd. All rights reserved. */ -/* */ -/* -INSTRUCTIONS- */ -/* THIS SOFTWARE IS A CONFIDENTIAL STUFFS AND PROPRIETARY OF SAMSUNG ELEC */ -/* TRONICS CO.,LTD. SO YOU SHALL NOT DISCLOSE THIS SOFTWARE OTHER COMPANY */ -/* OR PERSONS WITHOUT PERMISSION OF SAMSUNG AND SHALL USE THIS SOFTWARE */ -/* ONLY IN ACCORDANCE WITH THE LICENSE AGREEMENT OF SAMSUNG. */ -/* SAMSUNG MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY */ -/* OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED */ -/* TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR */ -/* PURPOSE, OR NON-INFRINGEMENT. SAMSUNG SHALL NOT BE LIABLE FOR ANY */ -/* DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR */ -/* DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. */ -/**************************************************************************/ +/**************************************************************************** + * + * Copyright 2019 Samsung Electronics All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific + * language governing permissions and limitations under the License. + * + ****************************************************************************/ #ifndef SSS_DRIVER_SHA2_H #define SSS_DRIVER_SHA2_H diff --git a/targets/TARGET_Samsung/security_subsystem/drivers/sss_map.h b/targets/TARGET_Samsung/security_subsystem/drivers/sss_map.h index e622107931..bd10941694 100644 --- a/targets/TARGET_Samsung/security_subsystem/drivers/sss_map.h +++ b/targets/TARGET_Samsung/security_subsystem/drivers/sss_map.h @@ -1,18 +1,21 @@ -/**************************************************************************/ -/* Copyright (c) Samsung Electronics Co., Ltd. All rights reserved. */ -/* */ -/* -INSTRUCTIONS- */ -/* THIS SOFTWARE IS A CONFIDENTIAL STUFFS AND PROPRIETARY OF SAMSUNG ELEC */ -/* TRONICS CO.,LTD. SO YOU SHALL NOT DISCLOSE THIS SOFTWARE OTHER COMPANY */ -/* OR PERSONS WITHOUT PERMISSION OF SAMSUNG AND SHALL USE THIS SOFTWARE */ -/* ONLY IN ACCORDANCE WITH THE LICENSE AGREEMENT OF SAMSUNG. */ -/* SAMSUNG MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY */ -/* OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED */ -/* TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR */ -/* PURPOSE, OR NON-INFRINGEMENT. SAMSUNG SHALL NOT BE LIABLE FOR ANY */ -/* DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR */ -/* DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. */ -/**************************************************************************/ +/**************************************************************************** + * + * Copyright 2019 Samsung Electronics All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific + * language governing permissions and limitations under the License. + * + ****************************************************************************/ #ifndef SSS_MAP_H #define SSS_MAP_H diff --git a/targets/TARGET_Samsung/security_subsystem/sss_common.h b/targets/TARGET_Samsung/security_subsystem/sss_common.h index 4a7d1c9c45..10401b9963 100644 --- a/targets/TARGET_Samsung/security_subsystem/sss_common.h +++ b/targets/TARGET_Samsung/security_subsystem/sss_common.h @@ -1,3 +1,18 @@ +/* mbed Microcontroller Library + * Copyright (c) 2006-2019 ARM Limited + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ /**************************************************************************** * * Copyright 2019 Samsung Electronics All Rights Reserved.