Home
last modified time | relevance | path

Searched refs:bitlen (Results 1 – 17 of 17) sorted by relevance

/openbsd/lib/libcrypto/pem/
H A Dpvkfmt.c223 nbyte = (bitlen + 7) >> 3; in blob_length()
254 unsigned int bitlen, magic; in do_b2i() local
321 nbyte = (bitlen + 7) >> 3; in b2i_dss()
372 nbyte = (bitlen + 7) >> 3; in b2i_rsa()
500 if (bitlen == 0) in do_i2b()
524 write_ledword(&p, bitlen); in do_i2b()
553 int bitlen; in check_bitlen_dsa() local
569 return bitlen; in check_bitlen_dsa()
579 int nbyte, hnbyte, bitlen; in check_bitlen_rsa() local
588 return bitlen; in check_bitlen_rsa()
[all …]
/openbsd/usr.sbin/tcpdump/
H A Dprint-domain.c78 int bitlen, bytelen; in ns_nskip() local
84 if ((bitlen = *cp++) == 0) in ns_nskip()
85 bitlen = 256; in ns_nskip()
101 int bitlen, slen, b; in blabel_print() local
107 if ((bitlen = *cp) == 0) in blabel_print()
108 bitlen = 256; in blabel_print()
109 slen = (bitlen + 3) / 4; in blabel_print()
127 printf("/%d]", bitlen); in blabel_print()
130 printf(".../%d]", bitlen); in blabel_print()
143 int bitlen, elt; in labellen() local
[all …]
/openbsd/sys/dev/ofw/
H A Dofw_misc.c631 uint32_t offset, bitlen; in nvmem_read_cell() local
661 bitlen = nc->nc_bitlen; in nvmem_read_cell()
670 if (bitlen >= 8) in nvmem_read_cell()
673 mask = (1 << bitlen) - 1; in nvmem_read_cell()
677 bitlen -= MIN(offset, bitlen); in nvmem_read_cell()
684 bitlen -= MIN(8 - offset, bitlen); in nvmem_read_cell()
706 uint32_t offset, bitlen; in nvmem_write_cell() local
736 bitlen = nc->nc_bitlen; in nvmem_write_cell()
745 if (bitlen >= 8) in nvmem_write_cell()
752 bitlen -= MIN(8 - offset, bitlen); in nvmem_write_cell()
[all …]
/openbsd/regress/sys/netinet/bindconnect/
H A Dbindconnect.c97 int bytelen, bitlen, i; in in6_prefixlen2mask() local
101 bitlen = len % 8; in in6_prefixlen2mask()
105 if (bitlen) in in6_prefixlen2mask()
106 maskp->s6_addr[bytelen] = maskarray[bitlen - 1]; in in6_prefixlen2mask()
/openbsd/regress/sys/net/rtable/
H A Dutil.c353 int bytelen, bitlen, i; in in6_prefixlen2mask() local
359 bitlen = len % 8; in in6_prefixlen2mask()
363 if (bitlen) in in6_prefixlen2mask()
364 maskp->s6_addr[bytelen] = maskarray[bitlen - 1]; in in6_prefixlen2mask()
/openbsd/sys/dev/acpi/
H A Dacpidebug.c154 value->v_field.bitlen); in db_aml_showvalue()
167 value->v_field.bitlen); in db_aml_showvalue()
H A Ddsdt.c825 val->v_field.bitpos, val->v_field.bitlen, in aml_showvalue()
2704 blen = fld->v_field.bitlen; in aml_rwindexfield()
2774 if (blen > fld->v_field.bitlen) in aml_rwfield()
2775 blen = fld->v_field.bitlen; in aml_rwfield()
2785 aml_rwgen(ref1, fld->v_field.bitpos, fld->v_field.bitlen, in aml_rwfield()
2807 fld->v_field.bitpos, fld->v_field.bitlen); in aml_rwfield()
2812 0, fld->v_field.bitlen); in aml_rwfield()
2856 field->v_field.bitlen = blen; in aml_createfield()
3022 aml_rwfield(rhs, 0, rhs->v_field.bitlen, &tmp, ACPI_IOREAD); in aml_store()
3040 aml_rwfield(lhs, 0, lhs->v_field.bitlen, rhs, ACPI_IOWRITE); in aml_store()
[all …]
H A Damltypes.h287 uint32_t bitlen; member
/openbsd/sys/netinet6/
H A Din6.c1326 int bytelen, bitlen, i; in in6_prefixlen2mask() local
1337 bitlen = len % 8; in in6_prefixlen2mask()
1341 if (bitlen) in in6_prefixlen2mask()
1342 maskp->s6_addr[bytelen] = maskarray[bitlen - 1]; in in6_prefixlen2mask()
/openbsd/sbin/dhcp6leased/
H A Dengine.c1596 int bytelen, bitlen, i; in in6_prefixlen2mask() local
1603 bitlen = len % 8; in in6_prefixlen2mask()
1607 if (bitlen) in in6_prefixlen2mask()
1608 maskp->s6_addr[bytelen] = maskarray[bitlen - 1]; in in6_prefixlen2mask()
/openbsd/sbin/unwind/libunbound/validator/
H A Dval_nsec3.c299 size_t bitlen, skiplen; in nsec3_has_type() local
314 bitlen = d->rr_len[r] - skiplen; in nsec3_has_type()
316 return nsecbitmap_has_type_rdata(bitmap, bitlen, type); in nsec3_has_type()
/openbsd/usr.sbin/unbound/validator/
H A Dval_nsec3.c299 size_t bitlen, skiplen; in nsec3_has_type() local
314 bitlen = d->rr_len[r] - skiplen; in nsec3_has_type()
316 return nsecbitmap_has_type_rdata(bitmap, bitlen, type); in nsec3_has_type()
/openbsd/sbin/slaacd/
H A Dengine.c1639 int bytelen, bitlen, i; in in6_prefixlen2mask() local
1646 bitlen = len % 8; in in6_prefixlen2mask()
1650 if (bitlen) in in6_prefixlen2mask()
1651 maskp->s6_addr[bytelen] = maskarray[bitlen - 1]; in in6_prefixlen2mask()
/openbsd/sys/dev/
H A Dipmi.c1088 getbits(u_int8_t *bytes, int bitpos, int bitlen) in getbits() argument
1093 bitpos += bitlen - 1; in getbits()
1094 for (v = 0; bitlen--;) { in getbits()
/openbsd/sys/dev/ic/
H A Datw.c3378 int ack, bitlen, data_dur, remainder; in atw_compute_duration1() local
3386 bitlen = len * 8; in atw_compute_duration1()
3397 data_dur = (bitlen * 2) / rate; in atw_compute_duration1()
3398 remainder = (bitlen * 2) % rate; in atw_compute_duration1()
H A Drtw.c2902 int ack, bitlen, data_dur, remainder; in rtw_compute_duration1() local
2910 bitlen = len * 8; in rtw_compute_duration1()
2921 data_dur = (bitlen * 2) / rate; in rtw_compute_duration1()
2922 remainder = (bitlen * 2) % rate; in rtw_compute_duration1()
/openbsd/gnu/usr.bin/gcc/gcc/
H A DChangeLog.316023 (extract_bitlist): Declare bitlen.