Home
last modified time | relevance | path

Searched refs:ps_len (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/wpa/src/tls/
H A Dpkcs1.c22 size_t ps_len; in pkcs1_generate_encryption_block() local
47 ps_len = modlen - inlen - 3; in pkcs1_generate_encryption_block()
50 os_memset(pos, 0x00, ps_len); in pkcs1_generate_encryption_block()
51 pos += ps_len; in pkcs1_generate_encryption_block()
54 os_memset(pos, 0xff, ps_len); in pkcs1_generate_encryption_block()
55 pos += ps_len; in pkcs1_generate_encryption_block()
58 if (os_get_random(pos, ps_len) < 0) { in pkcs1_generate_encryption_block()
63 while (ps_len--) { in pkcs1_generate_encryption_block()
/freebsd/lib/libpmc/
H A Dpmclog.c484 if (ps->ps_len == 0) { in pmclog_read()
506 ps->ps_len = nread; in pmclog_read()
513 assert(ps->ps_len > 0); in pmclog_read()
517 retval = pmclog_get_event(ps, &ps->ps_data, &ps->ps_len, ev); in pmclog_read()
524 assert(ps->ps_len == 0); in pmclog_read()
547 ps->ps_len != 0) /* unnecessary call */ in pmclog_feed()
551 ps->ps_len = len; in pmclog_feed()
579 ps->ps_len = 0; in pmclog_open()
H A Dpmclog.h219 size_t ps_len; /* length of buffered data */ member
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_libtomcrypt.c494 size_t ps_len; in pkcs1_generate_encryption_block() local
519 ps_len = modlen - inlen - 3; in pkcs1_generate_encryption_block()
522 os_memset(pos, 0x00, ps_len); in pkcs1_generate_encryption_block()
523 pos += ps_len; in pkcs1_generate_encryption_block()
526 os_memset(pos, 0xff, ps_len); in pkcs1_generate_encryption_block()
527 pos += ps_len; in pkcs1_generate_encryption_block()
530 if (os_get_random(pos, ps_len) < 0) { in pkcs1_generate_encryption_block()
535 while (ps_len--) { in pkcs1_generate_encryption_block()
/freebsd/lib/libpmcstat/
H A Dlibpmcstat_string.c67 ps->ps_len = len; in pmcstat_string_intern()
108 if (ps->ps_len == len && ps->ps_hash == hash && in pmcstat_string_lookup()
H A Dlibpmcstat.h218 int ps_len; member
/freebsd/sys/netpfil/pf/
H A Dpf_ioctl.c3899 if (ps->ps_len <= 0) { in pfioctl()
3901 ps->ps_len = sizeof(struct pfsync_state_1301) * nr; in pfioctl()
3937 if ((nr+count) * sizeof(*p) > ps->ps_len) { in pfioctl()
3959 ps->ps_len = sizeof(struct pfsync_state_1301) * nr; in pfioctl()
3978 if (ps->ps_len <= 0) { in pfioctl()
3980 ps->ps_len = sizeof(struct pf_state_export) * nr; in pfioctl()
4016 if ((nr+count) * sizeof(*p) > ps->ps_len) { in pfioctl()
4037 ps->ps_len = nr * sizeof(struct pf_state_export); in pfioctl()
/freebsd/sys/net/
H A Dpfvar.h1841 int ps_len; member
1849 int ps_len; member