m_error() on failure. If the pubkey buffer is too small then olm_pk_decryption_last_error() will be &quot;OUTPUT_BUFFER_TOO_SMALL&quot;. If the private key was not long enough then olm_pk_decryption_last_error() will be &quot;OLM_INPUT_BUFFER_TOO_SMALL&quot;.</p><p>Note that the pubkey is a base64 encoded string, but the private key is an unencoded byte array</p></dd></dl><dl><dt class="spec value" id="val-pickle_pk_decryption_length"><a href="#val-pickle_pk_decryption_length" class="anchor"></a><code><span