Microchip Technology AC164344 Data Sheet

Page of 152
© 2005 Microchip Technology Inc.
DS30177T-page 19
Software
dsPIC
®
 DSC Asymmetric Key Embedded 
Encryption Library
Microchip offers a reliable security solution for 
embedded applications built on the dsPIC30F platform. 
This solution is provided by means of two libraries – 
Symmetric Key and Asymmetric Key Embedded 
Encryption Libraries. The Asymmetric Key Library 
implements the following:
• Public Key Encryption/Decryption Functions:
- RSA (1024 and 2048-bit)
• Key Agreement Protocol:
- Diffie-Hellman (1024 and 2048-bit)
• Signing and Verification:
- DSA (1024-bit)
- RSA (1024 and 2048-bit)
• Hash and Message Digest Functions:
- SHA-1,  MD5
• Random Number Generator (RNG):
- ANSI  X9.82
Features
• C-callable library functions developed in 
MPLAB ASM30 Assembly language
• Optimized for speed, code size and RAM usage:
- RAM usage below 100 bytes
• Library functions extensively tested for 
adherence to applicable standards
• A comprehensive 
“dsPIC30F Embedded 
Encryption Libraries User’s Guide” describing the 
required APIs for the library functions
• Several examples of use provided for each library 
function
Typical Applications
The algorithms supported by this library have emerged 
as the defacto standard for many large scale, secured 
applications, like web access, e-mail, secure XML 
transactions and Virtual Private Networks (VPN). 
These algorithms are also recommended by most 
Internet Engineering Task Force (IETF) Standards, 
Federal Information Processing Standards (FIPS) and 
IPSec Standards. Some typical applications for this 
library include:
• Mobile and wireless devices, PDAs
• Secure banking
• Secure web transactions:
- Secure Socket Layer (SSL)
- Transport Layer Security (TLS)
- Secure Multi-purpose Internet Mail 
Extensions (S/MIME)
- ZigBee™ technology and other monitoring 
and control applications
• Smart card readers
• Friend/foe identification
• Peripherals interoperating with TCG and NGSCB 
personal computers
The Trusted Computing Group (TCG) and related 
Microsoft
®
 Next Generation Secure Computing Base 
(NGSCB) both specify RSA and Triple-DES. AES, 
Triple DES and other symmetric solutions are featured 
in the dsPIC30F Symmetric Key Embedded Encryption 
Library (SW300050).
Ordering Information:
SW300055-EVAL dsPIC
®
 DSC Asymmetric Key Embedded Encryption Library Software License (Evaluation Copy)
SW300055-5K
dsPIC
®
 DSC Asymmetric Key Embedded Encryption Library Software License (Up to 5K units)
SW300055-25K dsPIC
®
 DSC Asymmetric Key Embedded Encryption Library Software License (5K to 25K units)
SW300055-100K dsPIC
®
 DSC Asymmetric Key Embedded Encryption Library Software License (25K to 100K units)
DS70127
“dsPIC
®
 DSC Asymmetric Key Embedded Encryption Library Product Overview” 
(Available at: www.microchip.com)