Home
last modified time | relevance | path

Searched refs:keyno (Results 1 – 15 of 15) sorted by relevance

/freebsd-9-stable/sys/geom/eli/
Dg_eli_key_cache.c92 g_eli_key_fill(struct g_eli_softc *sc, struct g_eli_key *key, uint64_t keyno) in g_eli_key_fill() argument
96 uint8_t keyno[8]; in g_eli_key_fill() member
100 le64enc(hmacdata.keyno, keyno); in g_eli_key_fill()
103 key->gek_keyno = keyno; in g_eli_key_fill()
109 g_eli_key_allocate(struct g_eli_softc *sc, uint64_t keyno) in g_eli_key_allocate() argument
117 g_eli_key_fill(sc, key, keyno); in g_eli_key_allocate()
123 keysearch.gek_keyno = keyno; in g_eli_key_allocate()
155 g_eli_key_replace(struct g_eli_softc *sc, struct g_eli_key *key, uint64_t keyno) in g_eli_key_replace() argument
166 g_eli_key_fill(sc, key, keyno); in g_eli_key_replace()
228 uint64_t keyno; in g_eli_key_init() local
[all …]
/freebsd-9-stable/contrib/ntp/libntp/
Dauthreadkeys.c142 keyid_t keyno; in authreadkeys() local
178 keyno = atoi(token); in authreadkeys()
179 if (keyno < 1) { in authreadkeys()
186 if (keyno > NTP_MAXKEY) { in authreadkeys()
200 keyno); in authreadkeys()
222 keyno); in authreadkeys()
226 keyno); in authreadkeys()
237 keyno); in authreadkeys()
253 "authreadkeys: no key for key %d", keyno); in authreadkeys()
261 next->keyid = keyno; in authreadkeys()
[all …]
Dauthkeys.c614 keyid_t keyno, in authistrustedip() argument
624 if (keyno == cache_keyid) { in authistrustedip()
629 sk = auth_findkey(keyno); in authistrustedip()
649 keyid_t keyno, in MD5auth_setkey() argument
665 sk = auth_findkey(keyno); in MD5auth_setkey()
666 if (sk != NULL && keyno == sk->keyid) { in MD5auth_setkey()
687 authcache_flush_id(keyno); in MD5auth_setkey()
701 allocsymkey(keyno, 0, (u_short)keytype, 0, in MD5auth_setkey()
707 printf("auth_setkey: key %d type %d len %d ", (int)keyno, in MD5auth_setkey()
779 keyid_t keyno, in authencrypt() argument
[all …]
Dauthusekey.c21 keyid_t keyno, in authusekey() argument
32 MD5auth_setkey(keyno, keytype, str, len, NULL); in authusekey()
/freebsd-9-stable/contrib/ntp/tests/libntp/
Dauthkeys.c23 void AddTrustedKey(keyid_t keyno);
24 void AddUntrustedKey(keyid_t keyno);
69 AddTrustedKey(keyid_t keyno) in AddTrustedKey() argument
75 MD5auth_setkey(keyno, KEYTYPE, NULL, 0, NULL); in AddTrustedKey()
77 authtrust(keyno, TRUE); in AddTrustedKey()
83 AddUntrustedKey(keyid_t keyno) in AddUntrustedKey() argument
85 authtrust(keyno, FALSE); in AddUntrustedKey()
/freebsd-9-stable/sys/gnu/fs/xfs/
Dxfs_ialloc_btree.c848 int keyno=0; /* current key number */ in xfs_inobt_lookup() local
907 keyno = 1; in xfs_inobt_lookup()
947 keyno = (low + high) >> 1; in xfs_inobt_lookup()
954 kkp = kkbase + keyno - 1; in xfs_inobt_lookup()
959 krp = krbase + keyno - 1; in xfs_inobt_lookup()
971 low = keyno + 1; in xfs_inobt_lookup()
976 high = keyno - 1; in xfs_inobt_lookup()
993 if (diff > 0 && --keyno < 1) in xfs_inobt_lookup()
994 keyno = 1; in xfs_inobt_lookup()
995 agbno = be32_to_cpu(*XFS_INOBT_PTR_ADDR(block, keyno, cur)); in xfs_inobt_lookup()
[all …]
Dxfs_alloc_btree.c949 int keyno=0; /* current key number */ in xfs_alloc_lookup() local
1010 keyno = 1; in xfs_alloc_lookup()
1052 keyno = (low + high) >> 1; in xfs_alloc_lookup()
1059 kkp = kkbase + keyno - 1; in xfs_alloc_lookup()
1065 krp = krbase + keyno - 1; in xfs_alloc_lookup()
1083 low = keyno + 1; in xfs_alloc_lookup()
1088 high = keyno - 1; in xfs_alloc_lookup()
1105 if (diff > 0 && --keyno < 1) in xfs_alloc_lookup()
1106 keyno = 1; in xfs_alloc_lookup()
1107 agbno = be32_to_cpu(*XFS_ALLOC_PTR_ADDR(block, keyno, cur)); in xfs_alloc_lookup()
[all …]
Dxfs_bmap_btree.c1114 int keyno=0; in xfs_bmbt_lookup() local
1157 keyno = 1; in xfs_bmbt_lookup()
1173 keyno = (low + high) >> 1; in xfs_bmbt_lookup()
1175 kkp = kkbase + keyno - 1; in xfs_bmbt_lookup()
1178 krp = krbase + keyno - 1; in xfs_bmbt_lookup()
1184 low = keyno + 1; in xfs_bmbt_lookup()
1186 high = keyno - 1; in xfs_bmbt_lookup()
1192 if (diff > 0 && --keyno < 1) in xfs_bmbt_lookup()
1193 keyno = 1; in xfs_bmbt_lookup()
1194 pp = XFS_BMAP_PTR_IADDR(block, keyno, cur); in xfs_bmbt_lookup()
[all …]
/freebsd-9-stable/contrib/ntp/ntpd/
Dinvoke-ntp.keys.texi40 @kbd{keyno} @kbd{type} @kbd{key} @kbd{opt_IP_list}
44 @kbd{keyno}
Dntp.keys.def46 .D1 Ar keyno type key opt_IP_list
49 .Ar keyno
Dntp_crypto.c228 keyid_t keyno, /* key ID */ in session_key() argument
251 header[2] = htonl(keyno); in session_key()
261 header[8] = htonl(keyno); in session_key()
274 MD5auth_setkey(keyno, crypto_nid, dgst, len, NULL); in session_key()
275 authtrust(keyno, lifetime); in session_key()
278 stoa(srcadr), stoa(dstadr), keyno, in session_key()
/freebsd-9-stable/contrib/ntp/sntp/
Dsntp-opts.def134 @file{keyno} in this file. See @command{ntp.keys(5)} for more
Dinvoke-sntp.texi268 @file{keyno} in this file. See @command{ntp.keys(5)} for more
/freebsd-9-stable/contrib/ntp/util/
Dntp-keygen-opts.def1059 .D1 Ar keyno type key
1061 .Ar keyno
Dinvoke-ntp-keygen.texi795 @kbd{keyno} @kbd{type} @kbd{key}
798 @kbd{keyno}