Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodiGroupElement.GroupOpIteration

function GroupOpIteration(const aIterationCount: iDSInteger; const aGroup : iGroup; var aResult) : Boolean;
Computes the repeated group operation Self^aIterationCount treating Self as the generator -- i.e. scalar multiplication (k*G) for elliptic-curve groups or modular exponentiation (g^k mod p) for finite-field (DH/DSA-style) groups. This is the core primitive behind ECDH/ECDSA/EdDSA point multiplication and DH/DSA modexp used throughout key generation, key agreement and signing on both the TLS/SSH client and server sides -- application code normally reaches it only indirectly, through the higher-level key-agreement/signature units, not by calling it directly.