| title | category |
|---|---|
Git config |
Git |
Ne pas oublier : l'aide en ligne de commande.
| from typing import Tuple | |
| import pyasn1.codec.der.encoder | |
| import pyasn1.type.univ | |
| import base64 | |
| import rsa | |
| def private_key_pem(n: int, e: int, d: int, p: int, q: int, dP: int, dQ: int, qInv: int) -> str: | |
| '''Create a private key PEM file |
| // Inspired by Rick Kimball's 23K256 Test for MSP430F2013 | |
| // This code was compiled using Energia and runs on a standard LaunchPad | |
| // The basic SPI SRAM support fits into 290 bytes on MSP430G2553 | |
| // Increases to 422 bytes with streaming test | |
| //#include <msp430.h> | |
| //#include <stdint.h> | |
| // Compiled using Energia | |
| // Note the changes BIT0 is now the DEBUG_PIN and BIT4 is the SS_PIN. |