Web Analytics
Datasheet 搜索 > 微控制器 > Microchip(微芯) > DSPIC30F4013-20E/ML 数据手册 > DSPIC30F4013-20E/ML 开发手册 4/18 页
DSPIC30F4013-20E/ML
器件3D模型
67.211
DSPIC30F4013-20E/ML数据手册
Page:
of 18 Go
若手册格式错乱,请下载阅览PDF原文件
AN1044
DS01044A-page 4 © 2006 Microchip Technology Inc.
Using the TDES Algorithm
This implementation of TDES is accessed through
three function calls: initTDES, TDES_encrypt and
TDES_decrypt. Their usage is discussed below.
initTDES
This function precalculates the subkey groups needed for TDES. By precalculating the subkeys, the encryption and
decryption routines can be significantly enhanced for speed.
Syntax
void initTDES(unsigned int *KeyLocation);
Parameters
KeyLocation: word-aligned starting address in RAM where the calculated subkeys will be stored. This requires a
384-byte (192-word) block of memory.
Return Values
None
Pre-Conditions
KeyLocation is either reserved or allocated memory of 384 bytes (192 words).
unsigned int Key[12] is loaded with the Encryption/Decryption Keys, where Key[0-3] is the first DES key,
Key[4-7] is the second key and Key[8-11] is the third key.
The same keys used to encrypt a block must also be used to decrypt it.
Side Effects
Values at reserved addresses are changed.
Example
...
unsigned int *KeyPointer;
KeyPointer = (unsigned int*)malloc(384);
if(KeyPointer != NULL)
{
initTDES(KeyPointer);
}
...

DSPIC30F4013-20E/ML 数据手册

Microchip(微芯)
20 页 / 7.79 MByte
Microchip(微芯)
132 页 / 5.41 MByte
Microchip(微芯)
66 页 / 1.52 MByte
Microchip(微芯)
20 页 / 8.36 MByte
Microchip(微芯)
18 页 / 0.33 MByte
Microchip(微芯)
2 页 / 0.1 MByte

DSPIC30F401320 数据手册

Microchip(微芯)
dsPIC30 系列 2 kB RAM 48 kB 闪存 16位 数字信号控制器 - TQFP-44
Microchip(微芯)
MICROCHIP  DSPIC30F4013-20E/PT  芯片, 数字信号控制器, 16位, 48K闪存, 44TQFP
Microchip(微芯)
MICROCHIP  DSPIC30F4013-20I/P  芯片, 16位数字信号控制器
Microchip(微芯)
dsPIC30 系列 2 kB RAM 48 kB 闪存 16位 数字信号控制器 - QFN-44
Microchip(微芯)
Microchip(微芯)
数字信号处理器(DSP/DSC) DSPIC30F4013-20I/ML QFN-44-EP(8x8)
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件