Ask questions and find answers on STM32 security frameworks and tools, including cryptographic libraries, TrustZone, and the Secure Manager.
Most recent activity
Posted on October 01, 2012 at 15:44Hello Is there any difference between the CRC module at STM32F1 Series and STM32F3 Series.? I saw that there are some new registers active and some new features possible ! #crc #crc #crc
Posted on September 05, 2012 at 22:44I have a situation where the registers appear to be set up correctly, but when I put data into a transmit FIFO, the output on the USB wires is a single byte with a checksum of 0x0000. Put many bytes into the FIFO a - One byte comes out b - The wrong byte comes out c - The packet has a checksum of 0x0000 and is rejected by the host. Does anybody have any experiance with this error, or any idea what can cause it? Thanks #usb #back-packets #crc-error
Posted on July 17, 2012 at 16:38Hi, I've implement bootloader IAP with UART. the code run without any problem and I have software upgrade support to my project. I'm using IAR for ARM v6.40.2, I've tried to use the Linker configuration to generate bin files with CRC, and to check them in the bootloader using the CRC module of the STM32F107. unfortunately I'm not getting any match between the results... there's a simple way add CRC support to the bin files and to verified them using STM32 CRC module? thanks for your help! #stm32f107-bootloader-crc
Posted on April 03, 2012 at 11:57I've interesting behavior on STM32F105VC. I have SPI3(remmaped) master with SPI auto CRC calculation (RXCRC,TXCRC). For 9Mhz it is fine, for 18Mhz I receive all words correct, including CRC, but RXCRC register is wrong and CRCERR is set. See below 18 MHz result Tx frame : spiFrameWithoutCRC (matlab endian) = '0400050000000000000000000000000000000000000000000000000000000000000000000000'; calculated crc : 990B txcrc: 990B Rx frame: spiFrameWithoutCRC( matlab endian) = '0100020000000000000000000000000000000000000000000000000000000000000000000000'; calculated crc: 5A0 (binary 10110100000) rxcrc: 2D0 (binary 1011010000) data register: 5A0 Here is just to be sure a 9MHz result #crc16 #spi
Posted on March 23, 2012 at 19:09 I'm lost with my calculation of crc for 16 bit transmit mode, with a polynom 0x8005, init = 0x0000. I am calculating in Matlab a lookup table first, which seems all right: 0000 8005 800F 000A 801B 001E 0014 8011 8033 0036 003C 8039 0028 802D 8027 0022 8063 0066 006C 8069 0078 807D 8077 0072 0050 8055 805F 005A 804B 004E 0044 8041 80C3 00C6 00CC 80C9 00D8 80DD 80D7 00D2 00F0 80F5 80FF 00FA 80EB 00EE 00E4 80E1 00A0 80A5 80AF 00AA 80BB 00BE 00B4 80B1 8093 0096 009C 8099 0088 808D 8087 0082 8183 0186 018C 8189 0198 819D 8197 0192 01B0 81B5 81BF 01BA 81AB 01AE 01A4 81A1 01E0 81E5 81EF 01EA 81FB 01FE 01F4 81F1 81D3 01D6 01DC 81D9 01C8 81CD 81C7 01C2 0140 8145 814F 014A 815B 015E 0154 8151 8173 0176 017C 8179 0168 816D 8167 0162 81
Posted on February 18, 2012 at 21:29Hello guys. I was trying to read the code out of a STM32F105RBT6 using a SWD circuit and the STMprog software but the code was ''Read protected'' and I couldn't bring it out .Can you guys give me a help or suggestion on this? Is that possible at all? Or is there probably a professional programmer out there capable of unlocking the ARM chips?Cheers. #stm32-read-protection
Posted on February 17, 2012 at 14:46Hi, I'm interested in using the cool STM32F2 devices. Some of them also contains symmetric key cryptographic support. Does this mean that they fall under the Wassenaar Agreement? #crypto
Posted on February 09, 2012 at 21:59Hi everybodyI'm trying to use the encryption libraries with an STM32F4Discovery board.However, the function HASH_SHA1 is not obtaining the hash value, it only got zero.I am using this code to obtain the hash:========================================== uint8_t arrdata[50]; //filled in HID interface uint8_t arrsha1[20]; RCC_AHB2PeriphClockCmd(RCC_AHB2Periph_HASH, ENABLE); HASH_SHA1(arrdata, 50, arrsha1); ========================================== arrsha1 always got zeroes.I've traced the HASH_SHA1 function, and I feel it is working correctlyHowever, I can't see where in the library is the HASH computed, as the function only read the value from an array...Do you know if the encryuption libraries can be used with the STM32F4Discovery board?Brisa #hash-sha1-encryption
Posted on January 12, 2012 at 21:02Hi,I saw in the interne ST has a crypto library which name is ''stm32 encryption firmware library''. Now im trying to get this library by local distrubutor. But im not sure that RSA algoritm is in library. Is anyone know that this or which library has RSA and 3DES algorithms?Thanks. #rsa #encryption #stm32
Posted on April 22, 2011 at 12:49Crypto using STM32: what is the best solution #crypto-backup-sram
ST Community highlights – April to June 2026
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.