Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ key_random
Function
key_random
freebsd/netipsec/key.c:4741–4748 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4739
}
4740
4741
u_long
4742
key_random()
4743
{
4744
u_long value;
4745
4746
arc4random_buf(&value, sizeof(value));
4747
return value;
4748
}
4749
4750
/*
4751
* map SADB_SATYPE_* to IPPROTO_*.
Callers
1
key_do_getnewspi
Function · 0.85
Calls
1
arc4random_buf
Function · 0.50
Tested by
no test coverage detected