-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
base: properly separate conv_base64 out of conv
- Loading branch information
Showing
5 changed files
with
22 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* Base64 encoding/decoding (RFC1341) | ||
* Copyright (c) 2005, Jouni Malinen <[email protected]> | ||
* | ||
* This software may be distributed under the terms of the BSD license. | ||
* See BSD_LICENSE for more details. | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
|
||
#ifndef SID_CONV_BASE64_H | ||
#define SID_CONV_BASE64_H | ||
|
||
#include <stddef.h> | ||
|
||
size_t sid_conv_base64_encoded_len(size_t in_len); | ||
int sid_conv_base64_encode(const unsigned char *src, size_t len, unsigned char *dest, size_t out_len); | ||
unsigned char *sid_conv_base64_decode(const unsigned char *src, size_t len, size_t *out_len); | ||
|
||
#endif /* SID_CONV_BASE64_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters