Searched defs:ec_key (Results 1 - 1 of 1) sorted by relevance

/dovecot/src/lib-dcrypt/
H A Ddcrypt-openssl.c598 EC_KEY *ec_key = EC_KEY_new(); local
601 if (ec_key == NULL ||
602 EC_KEY_set_group(ec_key, grp) != 1 ||
603 EC_KEY_set_public_key(ec_key, pub) != 1)
606 EC_KEY_set_conv_form(ec_key, POINT_CONVERSION_COMPRESSED);
611 if (ec == -1 || EC_KEY_check_key(ec_key) != 1) {
612 EC_KEY_free(ec_key);
618 EC_KEY_free(ec_key);
621 EVP_PKEY_set1_EC_KEY(peer, ec_key);
622 EC_KEY_free(ec_key);
[all...]

Completed in 15 milliseconds