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.
10 fido_buf_read(const unsigned char **buf, size_t *len, void *dst, size_t count)
15 memcpy(dst, *buf, count);
23 fido_buf_write(unsigned char **buf, size_t *len, const void *src, size_t count)
28 memcpy(*buf, src, count);