DH Key Agreement Method
DH Key Agreement Method is a key agreement algorithm used to enable two users to agree upon a key securely that can then be used for subsequent encryption of messages. The security of this algorithm lies on the difficulty of computing discrete logarithm.
-
Product Features
- Compatible with "RFC-2631", Diffie-Hellman Key Agreement Method, E.Rescorla, June 1999.
- Supports domain parameters p and q of following sizes:
| p (bits) |
q (bits) |
| 512 - 2048 |
160 - 256 |
- Supports Ephemeral - Static and Static - Static modes.
- APIs for Public Key generation, Shared Secret generation and Key Encryption Key (KEK) generation.
- Optional APIs for pq validation, g validation and Public Key validation.
- Flexible interface with 'C' callability.
- Easily portable to other architectures.
- The code is interruptible and fully re-entrant. It can be used in systems with multi-threaded software architecture.
-
Processor
- ARM-7TDMI with 8KB unified cache and 64 MHz clock.
-
Performance
| ROM(Bytes) | RAM(Bytes)
|
| Code |
Table |
Data |
Stack
|
| 10200 |
512 |
0 |
2548 |
| Size of p (bits) | Size of q (bits) | Public Key generation (msec) | Shared Secret generation (msec)
| KEK generation (msec)
| PQ validation (msec) | G validation (msec)
| Public Key validation (msec) |
512
|
160 |
90
|
80 |
30 |
230 |
90 |
90 |
| 768 |
160 |
170 |
170 |
30
|
730 |
170 |
170 |
| 1024 |
160 |
280 |
280 |
10 |
1710 |
280 |
280 |
| 1077 |
224 |
440 |
420 |
40 |
2000 |
450 |
440 |
| 1536 |
191 |
710 |
700 |
10 |
5480 |
730 |
740 |
| 2048 |
256 |
1610 |
1590 |
30 |
13080 |
1660 |
1660 |
|