mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-20 04:54:45 -07:00
add findmy to system apps [ci skip]
autoload by Willy-JL
This commit is contained in:
21
applications/system/find_my_flipper/helpers/base64.h
Normal file
21
applications/system/find_my_flipper/helpers/base64.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Base64 encoding/decoding (RFC1341)
|
||||
* Copyright (c) 2005, Jouni Malinen <j@w1.fi>
|
||||
*
|
||||
* This software may be distributed under the terms of the BSD license.
|
||||
* See README for more details.
|
||||
*/
|
||||
// https://web.mit.edu/freebsd/head/contrib/wpa/src/utils/base64.h
|
||||
|
||||
#ifndef BASE64_H
|
||||
#define BASE64_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
unsigned char* base64_encode(const unsigned char* src, size_t len, size_t* out_len);
|
||||
unsigned char* base64_decode(const unsigned char* src, size_t len, size_t* out_len);
|
||||
|
||||
#endif /* BASE64_H */
|
||||
Reference in New Issue
Block a user