rustls_pki_types::base64

Function decode_public

source
pub(crate) fn decode_public<'a>(
    input: &[u8],
    output: &'a mut [u8],
) -> Result<&'a [u8], Error>
Expand description

Decode base64 input, writing the result into output.

input is treated as public information, so its value may be leaked via side channels.

Returns the prefix of output that was written to.