/freebsd/usr.sbin/bsnmpd/modules/snmp_bridge/ |
H A D | bridge_addrs.c | 459 uint i, n_len; in bridge_addrs_begemot_index_append() local 465 n_len = strlen(b_name); in bridge_addrs_begemot_index_append() 467 oid->subs[oid->len++] = n_len; in bridge_addrs_begemot_index_append() 469 for (i = 1; i <= n_len; i++) in bridge_addrs_begemot_index_append() 486 uint i, n_len; in bridge_addrs_begemot_get() local 491 n_len = oid->subs[sub]; in bridge_addrs_begemot_get() 492 if (oid->len - sub != n_len + ETHER_ADDR_LEN + 3 || in bridge_addrs_begemot_get() 493 n_len >= IFNAMSIZ || oid->subs[sub + n_len + 1] != ETHER_ADDR_LEN) in bridge_addrs_begemot_get() 496 for (i = 0; i < n_len; i++) in bridge_addrs_begemot_get() 497 bif_name[i] = oid->subs[n_len + i + 1]; in bridge_addrs_begemot_get() [all …]
|
/freebsd/usr.sbin/rpc.lockd/ |
H A D | kern.c | 270 arg4.cookie.n_len = sizeof(msg->lm_msg_ident); in test_request() 274 arg4.alock.fh.n_len = msg->lm_fh_len; in test_request() 276 arg4.alock.oh.n_len = sizeof(owner); in test_request() 294 arg.cookie.n_len = sizeof(msg->lm_msg_ident); in test_request() 298 arg.alock.fh.n_len = msg->lm_fh_len; in test_request() 300 arg.alock.oh.n_len = sizeof(owner); in test_request() 339 arg4.cookie.n_len = sizeof(msg->lm_msg_ident); in lock_request() 344 arg4.alock.fh.n_len = msg->lm_fh_len; in lock_request() 346 arg4.alock.oh.n_len = sizeof(owner); in lock_request() 364 arg.cookie.n_len = sizeof(msg->lm_msg_ident); in lock_request() [all …]
|
H A D | lockd_lock.c | 300 else if (nobj->n_len == 0) { in dump_netobj() 303 dump_static_object(nobj->n_bytes, nobj->n_len, in dump_netobj() 306 nobj->n_len, hbuff, cbuff); in dump_netobj() 360 dest->oh.n_len = src->oh.n_len; in copy_nlm4_lock_to_nlm4_holder() 392 newfl->client.oh.n_bytes = malloc(lockowner->n_len); in allocate_file_lock() 397 newfl->client.oh.n_len = lockowner->n_len; in allocate_file_lock() 398 bcopy(lockowner->n_bytes, newfl->client.oh.n_bytes, lockowner->n_len); in allocate_file_lock() 400 newfl->client_cookie.n_bytes = malloc(matchcookie->n_len); in allocate_file_lock() 406 newfl->client_cookie.n_len = matchcookie->n_len; in allocate_file_lock() 407 bcopy(matchcookie->n_bytes, newfl->client_cookie.n_bytes, matchcookie->n_len); in allocate_file_lock() [all …]
|
H A D | test.c | 322 arg.cookie.n_len = 4; in main() 329 arg.alock.fh.n_len = 32; in main() 331 arg.alock.oh.n_len = 8; in main() 339 res_block.cookie.n_len = 5; in main()
|
H A D | lock_proc.c | 109 if (obj->n_len > MAX_NETOBJ_SZ) { in log_netobj() 112 MAX_NETOBJ_SZ, obj->n_len); in log_netobj() 115 maxlen = (obj->n_len < MAX_NETOBJ_SZ ? obj->n_len : MAX_NETOBJ_SZ); in log_netobj()
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | crypto_internal-rsa.c | 30 crypto_public_key_import_parts(const u8 *n, size_t n_len, in crypto_public_key_import_parts() argument 34 crypto_rsa_import_public_key_parts(n, n_len, e, e_len); in crypto_public_key_import_parts()
|
H A D | crypto.h | 303 crypto_public_key_import_parts(const u8 *n, size_t n_len,
|
/freebsd/crypto/openssl/test/ |
H A D | acvp_test.c | 1005 const unsigned char *n, size_t n_len, in rsa_create_pkey() argument 1018 || !TEST_ptr(BN_bin2bn(n, n_len, n_bn)) in rsa_create_pkey() 1062 size_t n_len = 0, d_len = 0; in rsa_keygen_test() local 1111 &n, &n_len)) in rsa_keygen_test() 1122 || !TEST_mem_eq(tst->n, tst->n_len, n, n_len) in rsa_keygen_test() 1132 test_output_memory("n", n, n_len); in rsa_keygen_test() 1163 size_t sig_len = 0, n_len = 0, e_len = 0; in rsa_siggen_test() local 1181 || !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_RSA_N, &n, &n_len)) in rsa_siggen_test() 1187 test_output_memory("n", n, n_len); in rsa_siggen_test() 1224 || !TEST_true(rsa_create_pkey(&pkey, tst->n, tst->n_len, in rsa_sigver_test() [all …]
|
H A D | acvp_test.inc | 1043 size_t n_len; 1239 size_t n_len;
|
/freebsd/contrib/wpa/src/tls/ |
H A D | rsa.h | 17 crypto_rsa_import_public_key_parts(const u8 *n, size_t n_len,
|
H A D | rsa.c | 115 crypto_rsa_import_public_key_parts(const u8 *n, size_t n_len, in crypto_rsa_import_public_key_parts() argument 127 bignum_set_unsigned_bin(key->n, n, n_len) < 0 || in crypto_rsa_import_public_key_parts()
|
/freebsd/lib/libc/rpc/ |
H A D | auth_des.c | 136 pkey.n_len = (u_int)strlen((char *)pkey_data) + 1; in authdes_seccreate() 175 memcpy(ad->ad_pkey, pkey->n_bytes, pkey->n_len); in authdes_pk_seccreate() 441 pkey.n_len = (u_int)strlen((char *)ad->ad_pkey) + 1; in authdes_refresh()
|
H A D | auth_time.c | 202 srv->pkey.n_len = 0; in get_server()
|
H A D | svc_auth_des.c | 184 pkey.n_len = strlen(pkey_data) + 1; in _svcauth_des()
|
/freebsd/sys/nlm/ |
H A D | nlm_advlock.c | 798 args.cookie.n_len = sizeof(xid); in nlm_setlock() 864 cancel.cookie.n_len = sizeof(xid); in nlm_setlock() 983 args.cookie.n_len = sizeof(xid); in nlm_clearlock() 1064 args.cookie.n_len = sizeof(xid); in nlm_getlock() 1263 lock->fh.n_len = fhlen; in nlm_init_lock() 1265 lock->oh.n_len = oh_len; in nlm_init_lock()
|
H A D | nlm_prot_impl.c | 310 dst->n_len = srcsize; in nlm_make_netobj() 323 nlm_make_netobj(dst, src->n_bytes, src->n_len, type); in nlm_copy_netobj() 1337 nw->nw_lock.fh.n_len); in nlm_register_wait_lock() 2320 && argp->alock.fh.n_len == nw->nw_lock.fh.n_len in nlm_do_granted() 2322 nw->nw_lock.fh.n_len)) { in nlm_do_granted() 2345 if (argp->cookie.n_len != sizeof(struct nlm_grantcookie)) { in nlm_do_granted_res()
|
/freebsd/crypto/libecc/src/arithmetic_tests/ |
H A D | arithmetic_tests.c | 502 unsigned int n_len ATTRIBUTE_UNUSED = 0;\ 531 n_len = (FP_T_GENERIC_IN(i))->fp_val.wlen;\ 535 n_len = (NN_T_GENERIC_IN(i))->wlen;\ 546 GENERIC_TEST_NN_DECL_INIT##nn_out_num(nn_out, n_len * WORD_BYTES);\
|
/freebsd/include/rpc/ |
H A D | xdr.h | 327 u_int n_len; member
|
/freebsd/sys/rpc/ |
H A D | xdr.h | 340 u_int n_len; member
|
/freebsd/sys/xdr/ |
H A D | xdr.c | 547 return (xdr_bytes(xdrs, &np->n_bytes, &np->n_len, MAX_NETOBJ_SZ)); in xdr_netobj()
|
/freebsd/lib/libc/xdr/ |
H A D | xdr.c | 618 return (xdr_bytes(xdrs, &np->n_bytes, &np->n_len, MAX_NETOBJ_SZ)); in xdr_netobj()
|
/freebsd/sys/netinet/tcp_stacks/ |
H A D | rack.c | 22276 uint32_t n_len; in rack_output() local 22278 n_len = (orig_len - len); in rack_output() 22281 len = n_len; in rack_output() 22296 uint32_t n_len; in rack_output() local 22298 n_len = (orig_len - len); in rack_output() 22300 len = n_len; in rack_output()
|