File: base64.h

package info (click to toggle)
optee-os 4.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 31,560 kB
  • sloc: ansic: 441,914; asm: 12,903; python: 3,719; makefile: 1,676; sh: 238
file content (16 lines) | stat: -rw-r--r-- 414 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (c) 2014, STMicroelectronics International N.V.
 */
#ifndef BASE64_H
#define BASE64_H

#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>

bool base64_enc(const void *data, size_t size, char *buf, size_t *blen);
bool base64_dec(const char *data, size_t size, void *buf, size_t *blen);
size_t base64_enc_len(size_t size);

#endif /* BASE64_H */