![]() |
|
|||
0001 // SPDX-License-Identifier: GPL-2.0 0002 /* 0003 * base64 encoding, lifted from fs/crypto/fname.c. 0004 */ 0005 0006 #ifndef _LINUX_BASE64_H 0007 #define _LINUX_BASE64_H 0008 0009 #include <linux/types.h> 0010 0011 #define BASE64_CHARS(nbytes) DIV_ROUND_UP((nbytes) * 4, 3) 0012 0013 int base64_encode(const u8 *src, int len, char *dst); 0014 int base64_decode(const char *src, int len, u8 *dst); 0015 0016 #endif /* _LINUX_BASE64_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |