Reverse siz bytes from in into out (or in place if in is NULL).

Synopsis

Declared in <openssl/buffer.h>

void
BUF_reverse(
    unsigned char* out,
    unsigned char const* in,
    size_t siz);

Parameters

Name

Description

out

Destination buffer; may equal in when reversing in place with in non‐NULL, or the sole buffer when in is NULL.

in

Source bytes to reverse, or NULL to reverse out in place.

siz

Number of bytes to reverse.

Created with MrDocs