Searched refs:dhA (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/dh/
H A Ddhtest.c531 DH *dhA = NULL; local
541 dhA = td->get_param();
543 if (!dhA || !dhB)
546 dhA->priv_key = BN_bin2bn(td->xA, td->xA_len, NULL);
547 dhA->pub_key = BN_bin2bn(td->yA, td->yA_len, NULL);
552 if (!dhA->priv_key || !dhA->pub_key
556 if ((td->Z_len != (size_t)DH_size(dhA))
560 Z1 = OPENSSL_malloc(DH_size(dhA));
566 if (DH_compute_key(Z1, dhB->pub_key, dhA)
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/dh/
H A Ddhtest.c531 DH *dhA = NULL; local
541 dhA = td->get_param();
543 if (!dhA || !dhB)
546 dhA->priv_key = BN_bin2bn(td->xA, td->xA_len, NULL);
547 dhA->pub_key = BN_bin2bn(td->yA, td->yA_len, NULL);
552 if (!dhA->priv_key || !dhA->pub_key
556 if ((td->Z_len != (size_t)DH_size(dhA))
560 Z1 = OPENSSL_malloc(DH_size(dhA));
566 if (DH_compute_key(Z1, dhB->pub_key, dhA)
[all...]

Completed in 160 milliseconds