ST25DV-I2C iOS CryptoDemo application (STSW-ST25iOS003) shows how to establish a secure transfer channel over NFC between an STM32 microcontroller and an iPhone. It uses the fast transfer mode (FTM) feature of the ST25DVI2C NFC tag.
To run the demonstration an ST25DV-I2C-DISCO board (MB1396) is required. The available items are the iOS application (STSW-ST25iOS003), an STM32 firmware (STSW-ST25DV003), a user manual and an application note.
This demonstration establishes a secure transfer channel by using cryptography to perform mutual authentication and to encrypt the communications over NFC. This secure transfer channel is used during the demonstration to securely send and retrieve data, to perform the device setting, and to upload new firmwares.
Only the granted user can communicate with the STM32 microcontroller to perform those operations. All the communications are bidirectionally encrypted, so the user can configure the product or securely retrieve data.
STSW-ST25iOS003 is available for free download from www.st.com.
All features
Encryption of all the NFC bidirectional communications between an iPhone with iOS®13 (or newer) and an STM32 microcontroller
Fast NFC communications, thanks to ST25DV FTM (fast transfer mode)
AES and ECC cryptography
Mutual authentication between the iPhone and the STM32 microcontroller
Establishment of a unique AES session key
Encryption can be used to retrieve data, to modify device settings or to securely update the firmware
Something went wrong with the server request. Please try again in a few moments.
Request for software successfully submitted. The approval process may take up to 48 hours. After you have been approved, you should receive a link to the requested software via email.
For security / validation purposes, all software download requests must originate from a valid email address.
ST.com users may login at this time to begin download. Non-ST.com users may either create an account at this time or enter an email address to receive a download link to the software.
BY CLICKING ON THE "I ACCEPT" BUTTON OR BY UNZIPPING, INSTALLING, COPYING, DOWNLOADING, ACCESSING OR OTHERWISE USING THIS SOFTWARE PACKAGE (HEREINAFTER “SOFTWARE PACKAGE” MEANS THE RELATED SOFTWARE, DOCUMENTATION, OTHER MATERIALS, AND ANY PARTS, PERMITTED MODIFICATIONS, AND PERMITTED DERIVATIVES THEREOF) FROM STMICROELECTRONICS INTERNATIONAL N.V, SWISS BRANCH AND/OR ITS AFFILIATED COMPANIES (“STMICROELECTRONICS”), THE RECIPIENT, ON BEHALF OF HIMSELF OR HERSELF, OR ON BEHALF OF ANY ENTITY BY WHICH SUCH RECIPIENT IS EMPLOYED AND/OR ENGAGED (“YOU”) AGREES TO BE BOUND BY THIS AGREEMENT.
You represent that you have the authority to enter into this Agreement. You will comply with all laws, including export laws. STMicroelectronics’s failure or delay to enforce this Agreement does not waive STMicroelectronics’s rights. Swiss law, except conflict of laws, governs this Agreement, and the parties consent to exclusive jurisdiction of courts in Switzerland for litigation of this Agreement.
Subject to the below disclaimer, applicable Third Party Terms (defined below), and applicable Open Source Terms (defined below), the redistribution, reproduction and use in source and binary forms of the software package or any part thereof, with or without modification, are permitted provided that the following conditions are met:
Redistribution of source code (modified or not) must retain any copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form, except as embedded into a microcontroller or microprocessor device or a software update for such device, must reproduce any copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of STMicroelectronics nor the names of other contributors to this software package may be used to endorse or promote products using or derived from this software package without specific written permission.
This software package must be used and execute solely and exclusively in combination with an integrated circuit that is manufactured by or for STMicroelectronics and is an NFC tag, NFC dynamic tag, NFC reader, or UHF reader.
No use, reproduction or redistribution of this software package may be done in any manner that would subject this software package to any Open Source Terms (as defined below).
Some portion of the software package may contain software subject to Open Source Terms (as defined below) applicable for each such portion (“Open Source Software”), as further specified in the software package. Such Open Source Software is supplied under the applicable Open Source Terms and is not subject to this list of conditions, but is subject to the following disclaimer. “Open Source Terms” shall mean any open source license which requires as part of distribution of software that the source code of such software is distributed therewith or otherwise made available, or open source license that substantially complies with the Open Source definition specified at www.opensource.org and any other comparable open source license such as for example GNU General Public License (GPL), Eclipse Public License (EPL), Apache Software License, BSD license and MIT license.
This software package may also include third party software as expressly specified in the software package, which shall be subject to applicable third party license terms (“Third Party Terms”). Such Third Party Terms may be specified in any reasonable manner, including, without limitation, by being fully set forth, referred to, or hyperlinked in the software package source code, documentation, license file, or readme file. Such third party software is supplied under Third Party Terms and is not subject to this list of conditions, but is subject to the following disclaimer. By unzipping, installing, copying, downloading, accessing or otherwise using any third party software included in this software package, the recipient agrees to be bound by the corresponding Third Party Terms.
STMicroelectronics has no obligation to provide any maintenance, support or updates for the software package.
The software package is and will remain the exclusive property of STMicroelectronics and its licensors. The recipient will not take any action that jeopardizes STMicroelectronics and its licensors' proprietary rights or acquire any rights in the software package, except the limited rights specified hereunder.
Redistribution and use of this software package partially or any part thereof other than as permitted under this license is void and will automatically terminate your rights under this license.
DISCLAIMER
THIS SOFTWARE PACKAGE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
EXCEPT AS EXPRESSLY PERMITTED HEREUNDER, SUBJECT TO ANY APPLICABLE THIRD PARTY TERMS AND OPEN SOURCE TERMS, NO LICENSE OR OTHER RIGHTS, WHETHER EXPRESS OR IMPLIED, ARE GRANTED UNDER ANY PATENT OR OTHER INTELLECTUAL PROPERTY RIGHTS OF STMICROELECTRONICS OR ANY THIRD PARTY.
Worldwide,Asia,Europe,Africa,North America,South America,Oceania,Afghanistan,Bahrain,Bangladesh,Bhutan,Brunei,Burma (Myanmar),Cambodia,China,East Timor,India,Indonesia,Iraq,Japan,Jordan,Kazakhstan,Kuwait,Kyrgyzstan,Laos,Malaysia,Maldives,Mongolia,Nepal,Oman,Pakistan,Philippines,Qatar,Russian Federation,Saudi Arabia,Singapore,South Korea,Sri Lanka,Taiwan,Tajikistan,Thailand,Turkmenistan,United Arab Emirates,Uzbekistan,Vietnam,Yemen,Albania,Andorra,Armenia,Austria,Azerbaijan,Belarus,Belgium,Bosnia and Herzegovina,Bulgaria,Croatia,Cyprus,Czech Republic,Denmark,Estonia,Finland,France,Georgia,Germany,Greece,Hungary,Iceland,Ireland,Israel,Italy,Latvia,Liechtenstein,Lithuania,Luxembourg,Macedonia,Malta,Moldova,Monaco,Montenegro,Netherlands,Norway,Poland,Portugal,Romania,San Marino,Serbia,Slovakia,Slovenia,Spain,Sweden,Switzerland,Turkey,Ukraine,United Kingdom,Vatican City,Algeria,Angola,Benin,Botswana,Burkina,Burundi,Cameroon,Cape Verde,Central African Republic,Chad,Comoros,Democratic Republic of Congo,Djibouti,Egypt,Equatorial Guinea,Eritrea,Ethiopia,Gabon,Gambia,Ghana,Guinea,Guinea-Bissau,Ivory Coast,Kenya,Lesotho,Liberia,Libya,Madagascar,Malawi,Mali,Mauritania,Mauritius,Morocco,Mozambique,Namibia,Niger,Nigeria,Rwanda,Sao Tome and Principe,Senegal,Seychelles,Sierra Leone,Somalia,South Africa,Swaziland,Tanzania,Togo,Tunisia,Uganda,Zambia,Zimbabwe,Antigua and Barbuda,Bahamas,Barbados,Belize,Canada,Costa Rica,Dominica,Dominican Republic,El Salvador,Grenada,Guatemala,Haiti,Honduras,Jamaica,Mexico,Nicaragua,Panama,Saint Kitts and Nevis,Saint Lucia,Saint Vincent and the Grenadines,Trinidad and Tobago,United States,Argentina,Bolivia,Brazil,Chile,Colombia,Ecuador,Guyana,Paraguay,Peru,Suriname,Uruguay,Venezuela,Australia,Fiji,Kiribati,Marshall Islands,Micronesia,Nauru,New Zealand,Palau,Papua New Guinea,Samoa,Solomon Islands,Tonga,Tuvalu,Vanuatu