Searched refs:bnP2048 (Results 1 – 3 of 3) sorted by relevance
/dports/security/libzrtpcppcore/ZRTPCPP-4.6.6/zrtp/crypto/gcrypt/ |
H A D | gcryptZrtpDH.cpp | 36 static gcry_mpi_t bnP2048 = NULL; variable 183 gcry_mpi_scan(&bnP2048, GCRYMPI_FMT_USG, P2048, sizeof(P2048), NULL); in ZrtpDH() 189 gcry_mpi_sub_ui(bnP2048MinusOne, bnP2048, 1); in ZrtpDH() 236 gcry_mpi_powm(sec, pubKeyOther, tmpCtx->privKey, bnP2048); in computeSecretKey() 260 gcry_mpi_powm(tmpCtx->pubKey, two, tmpCtx->privKey, bnP2048); in generatePublicKey()
|
/dports/security/libzrtpcppcore/ZRTPCPP-4.6.6/zrtp/crypto/ |
H A D | zrtpDH.cpp | 52 static BigNum bnP2048 = {0}; 221 bnBegin(&bnP2048); 222 bnInsertBigBytes(&bnP2048, P2048, 0, sizeof(P2048)); 227 bnCopy(&bnP2048MinusOne, &bnP2048); 311 bnExpMod(&sec, &pubKeyOther, &tmpCtx->privKey, &bnP2048); 372 bnExpMod(&tmpCtx->pubKey, &two, &tmpCtx->privKey, &bnP2048);
|
/dports/security/libzrtpcppcore/ZRTPCPP-4.6.6/zrtp/crypto/openssl/ |
H A D | zrtpDH.cpp | 54 static BIGNUM* bnP2048 = NULL; variable 205 bnP2048 = BN_bin2bn(P2048,sizeof(P2048),NULL); in ZrtpDH() 209 bnP2048MinusOne = BN_dup(bnP2048); in ZrtpDH() 230 tmpCtx->p = BN_dup(bnP2048); in ZrtpDH()
|