Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E0C0C636C9 for ; Wed, 21 Jul 2021 11:46:01 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AE87B6109F for ; Wed, 21 Jul 2021 11:45:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AE87B6109F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=jasmin-infotech.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 268EC81BC0; Wed, 21 Jul 2021 13:45:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=jasmin-infotech.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=jasmin-infotech.com header.i=@jasmin-infotech.com header.b="CFjj5cdV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AD3D381D6C; Wed, 21 Jul 2021 13:45:54 +0200 (CEST) Received: from IND01-BO1-obe.outbound.protection.outlook.com (mail-bo1ind01on0713.outbound.protection.outlook.com [IPv6:2a01:111:f400:fea5::713]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2082180FB4 for ; Wed, 21 Jul 2021 13:45:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=jasmin-infotech.com Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=daniel.selvan@jasmin-infotech.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bZn5qL7b1vg2Sl+ODobXBa9GFYV33e8zthDMjmgLk6ww1o3LmeR0U63zNoe5P2YFIsGN2mSy+5YPYiAN0vVOOfpKCU/9NUt/aaMKRmwgmYggBVs+9trIEVhCWjaC+MUorbqL7Of2ylono76p1SwH7akojwoT0mIGf3ELMjqB1RgEYv1Oo6nGv/3Ni0TBY81yKdx9dvoB1SYHkjmvXFcJ+ZzrbPPNTa+6JpTbSklZdEgSYNwCpc4R6Z9rP1bZ+zJqyXQQocbiNQot/UdMGDpPDnaLhnhZHO08kQu3jGbVQigpifklt9LZW/eWN8n3zzNlTN/4UR8Bn8zUhP83Is9FnQ== 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-SenderADCheck; bh=rWaz3KZ2WqbyBI7HYeBzhuq8C70ixYCmsAH3B77OLYE=; b=UG9QbjAxoSns7cpGRny709LHjgllVY/d/uMqaXA9UUuriMwcNgeKBLiKW+d+17nLGTqozjINpgAsn3kYITWRDPChQfUroX/0PQbpxn5xvGlT4MEfKSSrV86A5CQynuM2I5ecUKw5y3WPRlKGQI5pus2ZRcrZU+T/opkEg9Jg+dTnRXrbXUmLjtK1kEpmw9xw92uO4H7yMju6ALtvxdJ6Cbw8dc52gDoRSgaPUS4V2mxVEO/A1GET7HOTlvfxTrs5edCG6wm7jHP91nQOKwMZZ82Zz2cfVdLW0Y3xoF/VJbOnFErvqNhvhPPaSZDbIIz2z5pV+uNhHlDF0+AXsjHqew== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=permerror (sender ip is 61.16.140.213) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=jasmin-infotech.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=jasmin-infotech.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jasmin-infotech.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rWaz3KZ2WqbyBI7HYeBzhuq8C70ixYCmsAH3B77OLYE=; b=CFjj5cdVyeGMkPrU8F6rSb0qkqoHJzG1hbY9vdvycqOj9BjXRjZJQAQhqcd6ll/P+s/9vJZcgH826onmiVaffWzefNSBWD0bomezDm0kTm2002WZv+ESZ8ec9phYV4azyPqNUvWAHgA/QDJaLNoI+BtcXJv0oLNT5SeD4jy183w= Received: from MA1PR0101CA0002.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:21::12) by BMXPR01MB3654.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:62::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.28; Wed, 21 Jul 2021 11:45:47 +0000 Received: from MA1IND01FT003.eop-IND01.prod.protection.outlook.com (2603:1096:a00:21:cafe::3) by MA1PR0101CA0002.outlook.office365.com (2603:1096:a00:21::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21 via Frontend Transport; Wed, 21 Jul 2021 11:45:47 +0000 X-MS-Exchange-Authentication-Results: spf=permerror (sender IP is 61.16.140.213) smtp.mailfrom=jasmin-infotech.com; lists.denx.de; dkim=none (message not signed) header.d=none;lists.denx.de; dmarc=fail action=none header.from=jasmin-infotech.com; Received-SPF: PermError (protection.outlook.com: domain of jasmin-infotech.com used an invalid SPF mechanism) Received: from mail.jasmin-infotech.com (61.16.140.213) by MA1IND01FT003.mail.protection.outlook.com (10.152.200.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.24 via Frontend Transport; Wed, 21 Jul 2021 11:45:46 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.jasmin-infotech.com (Postfix) with ESMTP id 73E5714021F1; Wed, 21 Jul 2021 17:15:32 +0530 (IST) Received: from mail.jasmin-infotech.com ([127.0.0.1]) by localhost (mail.jasmin-infotech.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 6kZ0RdHZTLiD; Wed, 21 Jul 2021 17:15:30 +0530 (IST) Received: from localhost (localhost [127.0.0.1]) by mail.jasmin-infotech.com (Postfix) with ESMTP id CDB9014021EF; Wed, 21 Jul 2021 17:15:30 +0530 (IST) X-Amavis-Modified: Mail body modified (using disclaimer) - mail.jasmin-infotech.com Received: from mail.jasmin-infotech.com ([127.0.0.1]) by localhost (mail.jasmin-infotech.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id xkdOtW_V4NfR; Wed, 21 Jul 2021 17:15:30 +0530 (IST) Received: from mail.jasmin-infotech.com (mail.jasmin-infotech.com [172.16.4.153]) by mail.jasmin-infotech.com (Postfix) with ESMTP id A4A2514021E9; Wed, 21 Jul 2021 17:15:30 +0530 (IST) Date: Wed, 21 Jul 2021 17:15:30 +0530 (IST) From: Daniel D To: Jojan Cc: u-boot Message-ID: <365989259.106390743.1626867930200.JavaMail.zimbra@jasmin-infotech.com> In-Reply-To: <2035026358.807610.1626798959334@mail.yahoo.com> References: <578412085.92805366.1626674447443.JavaMail.zimbra@jasmin-infotech.com> <2046510405.2582506.1626718200984@mail.yahoo.com> <620865353.99425117.1626757846923.JavaMail.zimbra@jasmin-infotech.com> <2035026358.807610.1626798959334@mail.yahoo.com> Subject: Re: Help wanted: Adding OpenSSL in FSL HAB MIME-Version: 1.0 X-Originating-IP: [49.205.78.3] X-Mailer: Zimbra 8.6.0_GA_1242 (ZimbraWebClient - GC92 (Linux)/8.6.0_GA_1242) Thread-Topic: Help wanted: Adding OpenSSL in FSL HAB Thread-Index: j+MlaKRM+bLbaFqSfPk7xKy9aHCIMg== X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3a294036-5670-40aa-670f-08d94c3d13f6 X-MS-TrafficTypeDiagnostic: BMXPR01MB3654: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1751; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3qNOnF/YLF73qQW7gKTg1tva0Wp3GgfDX44PiU4ACG8tuh3Y9aUM4nWXb7doym9rp3qRBwzFVsj1i9ThB98XYqjf0wLGHnlRTJWDGogv7+0FF2c8WaBMj32tD2PUqQi/A1QeehrkZG5IM7THTObsCPBmy9WpLkZe2XZK/X78FH8fppKjhJcEkkZpy/C2dTrjTAswHkyP1IOzmSW58KZkdLvNhAvFgioBxHIopoIsRfzNz+mscAbR1JW/M4Me2wF4BtC6TEUjAmqsPvbeAly4DCA4AL5ZOz5LjpcNnHGnItltcDAiJwDLuaL70A24LtVEWbOGCl5BdEVx9Zik0ULMR4pSG4BCdnU/ODiJdv1tjkkkHU5lW4eFQpLWQKTqUGM6Fuhyo3COUCyyoUKkS5dFpO1hUZCiaaWaLkzm9owm93+PctlNaZ0aGpKrwthzqYziVJcV6jvHig+OO8B3OXzIYtftVYUV2ioRi6Sd2oUvRT5DYFDHDeNhdLJkZMeus3LO9X7eFOI/CP77DGVFMwEy+vYqPDG/w+3tQPhq9UHho70uUzYXmyDRTq9GzNgJKzUMq2fRCPKIS06tt85+mhgCUjdLauajHe1UT+2/Y/8JIntegwjql5RE5ent3AZuw2NKnVDeKa0H5WWIy0sv2bmuswKCFTAXXfznGs+0rZ88SKvWFcnV/W4jqz2Blh/fdtSKGUTP1zaFLifh/0DeN5jXVn5AYnfJMu+yfznXAZxmHjA= X-Forefront-Antispam-Report: CIP:61.16.140.213; CTRY:IN; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:mail.jasmin-infotech.com; PTR:mail.jasmin-infotech.com; CAT:NONE; SFS:(39840400004)(376002)(346002)(136003)(396003)(46966006)(36840700001)(8936002)(478600001)(82310400003)(83380400001)(6916009)(5660300002)(7696005)(2616005)(8676002)(2906002)(186003)(26005)(86362001)(6266002)(36906005)(53546011)(36860700001)(47076005)(34020700004)(316002)(70586007)(426003)(33964004)(7596003)(4326008)(70206006)(336012)(36756003)(7636003)(356005); DIR:OUT; SFP:1102; X-OriginatorOrg: jasmin-infotech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2021 11:45:46.0902 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3a294036-5670-40aa-670f-08d94c3d13f6 X-MS-Exchange-CrossTenant-Id: 5379b76d-5476-4c9f-a04c-fefa48abc331 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5379b76d-5476-4c9f-a04c-fefa48abc331; Ip=[61.16.140.213]; Helo=[mail.jasmin-infotech.com] X-MS-Exchange-CrossTenant-AuthSource: MA1IND01FT003.eop-IND01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BMXPR01MB3654 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Thanks for the update! I've tried the options as mentioned and cannot find the OpenSSL library in there! Do you know how to integrate an external library (any) in U-Boot?? Are there any documentation out there? Thanks in advance. Kind regards, Daniel Selvan D. -- P Please consider the environment before printing this email. From: "Jojan" To: "Daniel D" Cc: "u-boot" Sent: Tuesday, 20 July, 2021 22:05:59 Subject: Re: Help wanted: Adding OpenSSL in FSL HAB You need to enable configs , by running make menuconfig Library routines > Security support and enable the configs needed for the library. On Monday, July 19, 2021, 10:11:05 PM PDT, Daniel D wrote: The architecture is arm (i.MX 6UL board) and I've successfully added HAB. I want to include OpenSSL library into the U-Boot now. Can you comment on this? Kind regards, Daniel Selvan D. -- P Please consider the environment before printing this email. From: "Jojan" To: "u-boot" , "Daniel D" Sent: Monday, 19 July, 2021 23:40:00 Subject: Re: Help wanted: Adding OpenSSL in FSL HAB Which architecture ? There is a hab.c in ./arch/arm/mach-imx/hab.c It is added based on the CONFIG_IMX_HAB. You cab add your configs ( arch/configs) and port it to your custom configuration. On Monday, July 19, 2021, 7:38:28 AM PDT, Daniel D wrote: Hi, I would like to compile U-Boot with OpenSSL library and I'm using OpenSSL functions in Freescale's " hab.c ". I do not know how to add the ssl & crypto libraries to U-Boot's makefile (as there are many). I'm quite new to these kind of work, hence I request someone to provide some detailed explanation. I've also raised my concern in NXP community and I'm linking that here for your reference. Any help would be much appreciated. Kind regards, Daniel Selvan D. Senior Systems Engineer | Jasmin Infotech -- P Please consider the environment before printing this email. Information in this email is proprietary and Confidential to Jasmin Infotech Pvt. Ltd. Any use, copying or dissemination of the information in any manner without prior approval, is strictly prohibited. If you are not the intended recipient, please destroy the message and please inform to us..