github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/fuchsia/cprng.txt (about) 1 # Copyright 2022 syzkaller project authors. All rights reserved. 2 # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 3 4 # See https://cs.opensource.google/fuchsia/fuchsia/+/main:zircon/vdso/cprng.fidl 5 6 include <zircon/syscalls.h> 7 include <zircon/types.h> 8 9 zx_cprng_draw(buffer ptr[out, array[int8, 0:ZX_CPRNG_DRAW_MAX_LEN]], len len[buffer]) 10 zx_cprng_add_entropy(buffer ptr[in, array[int8, 0:ZX_CPRNG_ADD_ENTROPY_MAX_LEN]], len len[buffer])