1 /* 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 */ 6 7 #include <sys/types.h> 8 #include <stdlib.h> 9 #include <unistd.h> 10 11 int fido_get_random(void * buf,size_t len)12fido_get_random(void *buf, size_t len) 13 { 14 arc4random_buf(buf, len); 15 return (0); 16 } 17