After publishing the CANcrypt book, Embedded Systems Academy (Germany) now provides software examples on its security solution.
The commercial version of CANcrypt includes software examples for both, the pairing and grouping modes, and the hardcover version of the book. Demo implementations are provided for various LPC processors (LPC23xx, LPC17xx and LPC11Cxx) by NXP, the STM32F0xx, as well as for the PCAN basic library supporting the CAN interface hardware by Peak. The pairing demo software shows how a 128-bit key is securely transmitted from one device to another. The grouping demo program allows a secure communication between three devices. Here security is based on a session key that is continuously updated and gets saved when ungrouping. You can find more information including the software manual and the license information here.
News and reports