Searched refs:pubkey_bin (Results 1 – 1 of 1) sorted by relevance
850 uint8_t *pubkey_bin = NULL; in compose_dh_pkey() local866 pubkey_bin = malloc(binlen); in compose_dh_pkey()867 if (pubkey_bin == NULL) in compose_dh_pkey()869 if (BN_bn2binpad(pubkey_bn, pubkey_bin, binlen) != binlen) in compose_dh_pkey()871 if (EVP_PKEY_set1_encoded_public_key(pkey, pubkey_bin, binlen) != 1) in compose_dh_pkey()881 free(pubkey_bin); in compose_dh_pkey()