Searched refs:encoded_length (Results 1 – 1 of 1) sorted by relevance
153 size_t encoded_length; in write_public_keyfile() local176 if (!EVP_EncodedLength(&encoded_length, sizeof(pkey))) { in write_public_keyfile()183 encoded_length = 1 + ((sizeof(pkey) + 2) / 3 * 4); in write_public_keyfile()186 encoded = new uint8_t[encoded_length]; in write_public_keyfile()192 encoded_length = EVP_EncodeBlock(encoded, (uint8_t*) &pkey, sizeof(pkey)); in write_public_keyfile()195 if (fwrite(encoded, encoded_length, 1, outfile) != 1 || in write_public_keyfile()