From patchwork Thu Jul 6 07:47:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sari, Sercan" X-Patchwork-Id: 13303564 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F6F6EB64D9 for ; Thu, 6 Jul 2023 11:59:40 +0000 (UTC) Received: from EUR03-DBA-obe.outbound.protection.outlook.com (EUR03-DBA-obe.outbound.protection.outlook.com [40.107.104.41]) by mx.groups.io with SMTP id smtpd.web11.16611.1688629673062493988 for ; Thu, 06 Jul 2023 00:47:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@siemens.com header.s=selector2 header.b=EeoUW9wN; spf=pass (domain: siemens.com, ip: 40.107.104.41, mailfrom: sari.sercan@siemens.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TrsLQyUcrfaEMoDHZ1V0MBwRZfcaHqsuiF21v3l/Ff0Wq8sJKXeFDrA8q0UlsN2u3Gujm3nbyMIkP+B5MqHRLqeupqw3aGhhnsENDHHV9dkf3WYXL3EvTjMPX+So6yRhDqW77YOpZPfIIJd/hBvKCWx3ykzNgsa5exUpFOExsx8ffTtLbyyLHqsdOmNQHogxjow4moVXkTShIxgIZVSX7A42LC3bJYqZULt5t/NLIPXzqSXeBw+8p2lG1gY1EZCebApuutvVKU0k24TiqMxKzSTHq8AfoYLRRoTJC3Zeb3gShKro/6auxLVHrNZXS1GIFyblWelJOi/56c2RHGrFaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=YH7xwuKKrOoN2RyAFfJk43wUJd3TPGboiXg92ExzNtc=; b=DSDctLJhXq1b3XZWPbZIy449U9ZoLjhFo4MfApfWeMrBn8JrstBio9b9IRgbrByyOG4oI4n9peKNqmDQC4bTwi2jEHOfqPCjKBi/v2Pa0C1ndSpjeMgxS86xEZositW4fDKObZXjinb9cNXnC5YoTV8p+RseBD2z7dhQ+effzxFAC3go6hWXCFVyl1ARwSCZtHj2mltc8hKiiNLMACvlivOYQ4rt4NwaNDBqsuz72n30AWnHP03buzSDNuWVHw1QI3f4y1qlP6R3IQxq8Hbh6fdkvUO2AX7kYJXppUwiEnX0Fzc75awxe5y3JqkriAfAAHGeDZznkZWypW3hXa9c1A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YH7xwuKKrOoN2RyAFfJk43wUJd3TPGboiXg92ExzNtc=; b=EeoUW9wNoLHvUHyylgzKIF5QNRft3T6RILsWKiRVZaAXDoay6aMCvLOgIBUO3twBQJSQ/mMvE61yLgiFAAK+Dfxe4zNEubycgfdZSLASFCqJSr58kuE4PF/8FBbxxwFYpvnq7VdNBKkP06qrBNGU93Ze8ylW3YJclDDxXSKoQm6IB8H4S0C0R/fv05Dh0PKgPVdGmH6SHGZ7Bua6b9ocjVu+yNFt9vvwZWLS3LroRLpTLGgRrituOBlpSi1yWhBM/g1vzbYp5NOzon7LMO2uBfKFhPyy/ERTh/3Bxv0vfzCbB1d+fYs0eq9Lm8XZTCnXOZCz6HhRDaJPNA0sZAHJHQ== Received: from DU0PR10MB6898.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:465::17) by DU0PR10MB6058.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:3e1::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.17; Thu, 6 Jul 2023 07:47:50 +0000 Received: from DU0PR10MB6898.EURPRD10.PROD.OUTLOOK.COM ([fe80::d951:d0e9:1d13:8409]) by DU0PR10MB6898.EURPRD10.PROD.OUTLOOK.COM ([fe80::d951:d0e9:1d13:8409%4]) with mapi id 15.20.6565.016; Thu, 6 Jul 2023 07:47:50 +0000 From: "Sari, Sercan" To: "cip-dev@lists.cip-project.org" CC: "Kiszka, Jan" , "Sari, Sercan" Subject: [isar-cip-core][PATCH] fixed function names (fixed format) Thread-Topic: [isar-cip-core][PATCH] fixed function names (fixed format) Thread-Index: Admv3ijl3omY6dj7TVaKirZ8PQTosQ== Date: Thu, 6 Jul 2023 07:47:49 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_Enabled=true; MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_SetDate=2023-07-06T07:47:48Z; MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_Method=Standard; MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_Name=restricted; MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_SiteId=38ae3bcd-9579-4fd4-adda-b42e1495d55a; MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_ActionId=150ee133-452d-4600-8763-01593fa18ffb; MSIP_Label_9d258917-277f-42cd-a3cd-14c4e9ee58bc_ContentBits=0 document_confidentiality: Restricted authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=siemens.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DU0PR10MB6898:EE_|DU0PR10MB6058:EE_ x-ms-office365-filtering-correlation-id: 9a491973-3699-4989-5db2-08db7df54c15 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BA2uDj9+8aIkEK+Af0EX4hDtMG4obDdeLT6M3QgtvkCRmarSR/xHIBSBJ5hjaF9P4xjqDuKjHb21RMsSMi12S4NvG4Agx1kdCzaAtt8+BfqDqoILmDOmYRp+K2unA64DKzxbbcO2tsGX9l3sNW8Y6GBCJWaRO5w8lweEfmVclfigLjhopKupKiazpZI1xUvUIgVdCj2o1OJOvYAFqH5uUKAcBYCqgw+p+Jg7YfmYeQ5AQqfVMlzQTUC8uZyzJL6igWgo0YxZMj8rsMCh63uNPj3HA40bESd4KGjq/roN1NvmA/ijX9BG3ym620qUEoyMO38fZhXR7fs8RzDypt2lGb9o4wi2XqcN+bTBTX8blkSqCDJA5re2TI7lUK3zpOdNXhSOND66kCeVmD1N1vk8QMn4WHtSNI5TDmBE0wxlx+0NNjf4hk0a4xu1eH5OWTZDqnyme+vgt8fXlLHLWTHyioClEGp6o6Ulmp4qZoyCRl7eOsG8E4NR7zXDXU5YdrVQUMX7dd48pCbHYi6f9bzQQFEwLrtSCAUh3uyKlXTDK1UjtGdgFc3n/oLDJqDYf/1n6uZoFihzrHaGjBKm9pFKjov9J99oo2cd9toeBv1TY3q58ppUM8pj+Qv06l56BPfw x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR10MB6898.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230028)(4636009)(376002)(396003)(346002)(366004)(39860400002)(136003)(451199021)(41300700001)(9686003)(7696005)(107886003)(71200400001)(38100700002)(122000001)(83380400001)(186003)(6506007)(82960400001)(26005)(55016003)(54906003)(38070700005)(86362001)(478600001)(316002)(2906002)(66446008)(66476007)(4326008)(66946007)(66556008)(76116006)(33656002)(6916009)(64756008)(5660300002)(52536014)(8676002)(8936002);DIR:OUT;SFP:1101; x-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RP4t4UWUhZPwEGnjsDWpfI4z9XD0O1QTkWSBkraBTOBf/Tmj5L6Fci0BDha1FylrcjTw8GaBrJSRhHzloM9i49jwWBGXRsVhUNcgt0vt/Ap/TDkBjtlxzfKeM5q7tQyKYH+TvC1IujkirNGjVLk1LWsWnlRKcbN4JkTh7Q6cjZkRCTz+8L2ILodULfhboMXWpP9buRW/z0n7P9d/g4Bg4E9Dk3QTxrAeyjbimTpu4SAUbLk0nmdu9TafEb32HhGZXcCr5cLGYYhz4qXqgLEZethbzwwa3gREnVyG3BxKzl4BJ35/jUYjxhW3nt9WQzFqWQclODQDyTAA2MuGdcorUOnTVYEMMFB47H7mzoMAnGnbDPdDdJRN0VcWIxQKhuS6B2nuKHvl5fCYYJt68ZjC9ByJ0Dl76ZpVRl40/vcOiAAhZqO7lb9/vXwYerMNiFVO7dL/WFELUk/6bAaIl3XtFpGAP4ltwSrqSI62TVx3tLzBjDyvlGj2j+W/qzV6zPln6LB8tyaIzqO7ieZj5A/3FP4iZbblngDSJKO7D5WzQ108jQObnAoYPAO MIME-Version: 1.0 X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DU0PR10MB6898.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 9a491973-3699-4989-5db2-08db7df54c15 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jul 2023 07:47:49.9975 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: VijIUkBI5T3CLAHc6rPR1nDKcVnq0MgG4q7R640tYFP9Sth486e7rLM9XhT5BTCgA1Ie8YyJTiJXFonCvYbc/Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR10MB6058 Content-Language: en-US List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 06 Jul 2023 11:59:40 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/12259 Fixed typo for the function name open_tpm2_partition, in encrypt_partition.clevis.script and encrypt_partition.systemd.script. Signed-off-by: Sercan Sari --- .../initramfs-crypt-hook/files/encrypt_partition.clevis.script | 2 +- .../initramfs-crypt-hook/files/encrypt_partition.systemd.script | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 diff --git a/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.clevis.script b/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.clevis.script index bcb5a04..5d7124d 100644 --- a/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.clevis.script +++ b/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.clevis.script @@ -120,7 +120,7 @@ for partition_set in $partition_sets; do /usr/sbin/cryptsetup luksFormat --batch-mode \ --type luks2 "$partition" < "$tmp_key" enroll_tpm2_token "$part_device" "$tmp_key" - open_tpm2_partition_tpm2_partition "$part_device" + open_tpm2_partition "$part_device" eval "${create_file_system_cmd} ${decrypted_part}" ;; *) diff --git a/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.systemd.script b/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.systemd.script index 927184c..75e3272 100644 --- a/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.systemd.script +++ b/recipes-initramfs/initramfs-crypt-hook/files/encrypt_partition.systemd.script @@ -126,7 +126,7 @@ for partition_set in $partition_sets; do /usr/sbin/cryptsetup luksFormat --batch-mode \ --type luks2 "$partition" < "$tmp_key" enroll_tpm2_token "$partition" "$tmp_key" - open_tpm2_partition_tpm2_partition "$partition" + open_tpm2_partition "$partition" eval "${create_file_system_cmd} ${decrypted_part}" ;; *)