pam_pkcs11 0.6.12
|
Go to the source code of this file.
Macros | |
#define | BASE64_EXTERN extern |
Functions | |
BASE64_EXTERN int | base64_encode (const unsigned char *in, size_t len, unsigned char *out, size_t *outlen) |
Encode byte array into a base64 string. | |
BASE64_EXTERN int | base64_decode (const char *in, unsigned char *out, size_t outlen) |
Decode a base64 string into a byte array. | |
#define BASE64_EXTERN extern |
Definition at line 24 of file base64.h.
Referenced by base64_decode(), and base64_encode().
BASE64_EXTERN int base64_decode | ( | const char * | in, |
unsigned char * | out, | ||
size_t | outlen ) |
Decode a base64 string into a byte array.
in | Input string data |
out | Pointer to pre-allocated buffer space |
outlen | Size of buffer |
References BASE64_EXTERN.
BASE64_EXTERN int base64_encode | ( | const unsigned char * | in, |
size_t | len, | ||
unsigned char * | out, | ||
size_t * | outlen ) |
Encode byte array into a base64 string.
in | Pointer to byte array |
len | lenght of input data |
out | Pointer to preallocated buffer space |
outlen | Size of buffer |
References BASE64_EXTERN.