| поискавой системы для электроныых деталей |
|
DEV-15573 датащи(PDF) 17 Page - SparkFun Electronics |
|
|
|||||||||||||||||||||||||||||
DEV-15573 датащи(HTML) 17 Page - SparkFun Electronics |
|
17 / 31 page ![]() This function reads the entire configuration zone EEPROM memory on the device. It stores them for viewing in a large global public variable array called .configZone (128 bytes). In addition to configuration settings, the configuration memory on the IC also contains the serial number, revision number, lock statuses, and much more. This function also updates global variables for these other things. .createNewKeyPair(uint16_t slot) This function sends the command to create a new key pair (private AND public) in the slot designated by argument slot (default slot 0). Sparkfun Default Configuration Sketch calls this, and then locks the data/otp zones and slot 0. Input: slot Unassigned 8-bit integer. The KEYID data slot you'd like it to be created in. Output: Boolean True- GENKEY command was successful. False- Communication failure or IC command execution failure. Sign and Verify .createSignature(uint8_t *data, uint16_t slot) Creates a 64-byte ECC signature on 32 bytes of data. Defauts to use private key located in slot 0. Your signature will be available at global public variable .signature Note, the IC actually needs you to store your data in a temporary memory location called TempKey. This function first loads TempKey, and then signs TempKey. Then it receives the signature and copies it to signature. Input: data Unassigned 8-bit integer pointer. (Max 32 bytes). Input: slot Unassigned 8-bit integer. The KEYID data slot you'd like to use for ECC calculation. Output: Boolean True- Both load tempKey and signTempkey commands were successful. False- Communication failure or IC command execution failure. .verifySignature(uint8_t *message, uint8_t *signature, uint8_t *publicKey) Verifies an ECC digital signature against a message and an external public key. Note, the IC actually needs you to store your message in a temporary memory location called TempKey. This function first loads TempKey with the message, and then sends the verify command with additional data paramaters: signature and publicKey. Then it listens for result from IC. Input: message Unassigned 8-bit integer pointer. (32 bytes). Input: signature Unassigned 8-bit integer pointer. (64 bytes) Input: publicKey Unassigned 8-bit integer pointer. (64 bytes) Output: Boolean |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |