2 * Copyright (c) 2018 Yubico AB. All rights reserved.
3 * Use of this source code is governed by a BSD-style
4 * license that can be found in the LICENSE file.
5 * SPDX-License-Identifier: BSD-2-Clause
11 fido_buf_read(const unsigned char **buf, size_t *len, void *dst, size_t count)
16 memcpy(dst, *buf, count);
24 fido_buf_write(unsigned char **buf, size_t *len, const void *src, size_t count)
29 memcpy(*buf, src, count);