/freebsd/crypto/openssl/doc/man3/ |
H A D | DH_generate_key.pod | 41 it in B<key>. B<key> must point to B<DH_size(dh)> bytes of memory. 42 The padding style is RFC 5246 (8.1.2) that strips leading zero bytes. 43 It is not constant time due to the leading zero bytes being stripped. 46 DH_compute_key_padded() is similar but stores a fixed number of bytes. 47 The padding style is NIST SP 800-56A (C.1) that retains leading zero bytes. 48 It is constant time due to the leading zero bytes being retained.
|
H A D | SSL_write.pod | 5 SSL_write_ex, SSL_write, SSL_sendfile - write bytes to a TLS/SSL connection 17 SSL_write_ex() and SSL_write() write B<num> bytes from the buffer B<buf> into 19 of bytes written in B<*written>. 21 SSL_sendfile() writes B<size> bytes from offset B<offset> in the file 65 operation is considered completed. The bytes are sent and a new write call with 66 a new buffer (with the already sent bytes removed) must be started. A partial 85 all requested application data bytes have been written to the SSL connection or, 88 bytes have been written yet (if SSL_MODE_ENABLE_PARTIAL_WRITE is not in use) or 89 no bytes could be written to the SSL connection (if 102 bytes actually written to the TLS/SSL connection. [all …]
|
H A D | SSL_get_client_random.pod | 26 bytes as it can of this value into the buffer provided in B<out>, 27 which must have at least B<outlen> bytes available. It returns the 28 total number of bytes that were actually copied. If B<outlen> is 68 (and also server_random) is always SSL3_RANDOM_SIZE bytes. Support for 74 "random", many TLS implementations will generate four bytes of those 83 return the number of bytes actually copied, which will be less than or equal to 85 of bytes they would copy -- that is, the length of the underlying field.
|
H A D | X509_NAME_add_entry_by_txt.pod | 13 const unsigned char *bytes, int len, int loc, int set); 16 const unsigned char *bytes, int len, int loc, int set); 19 const unsigned char *bytes, int len, int loc, int set); 30 The field value to be added is in B<bytes> of length B<len>. If 32 strlen(bytes). 35 definition of the type of B<bytes> (such as B<MBSTRING_ASC>) or a 56 supplied data in B<bytes> is used directly.
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | RegisterValue.h | 86 explicit RegisterValue(llvm::ArrayRef<uint8_t> bytes, in RegisterValue() argument 88 SetBytes(bytes.data(), bytes.size(), byte_order); in RegisterValue() 242 void SetBytes(const void *bytes, size_t length, lldb::ByteOrder byte_order); 272 RegisterValueBuffer() : bytes(kTypicalRegisterByteSize) {} in RegisterValueBuffer() 274 mutable BytesContainer bytes; member
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | driver_wext.c | 250 int bytes; in wpa_driver_wext_event_wireless_custom() local 256 if (!bytes || (bytes & 1)) in wpa_driver_wext_event_wireless_custom() 258 bytes /= 2; in wpa_driver_wext_event_wireless_custom() 276 if (!bytes || (bytes & 1)) in wpa_driver_wext_event_wireless_custom() 278 bytes /= 2; in wpa_driver_wext_event_wireless_custom() 1374 int bytes; in wext_get_scan_custom() local 1377 if (bytes & 1 || bytes == 0) in wext_get_scan_custom() 1379 bytes /= 2; in wext_get_scan_custom() 1389 int bytes; in wext_get_scan_custom() local 1392 if (bytes & 1 || bytes == 0) in wext_get_scan_custom() [all …]
|
/freebsd/sys/netpfil/pf/ |
H A D | pflow.c | 782 u_int64_t bytes[2]; in export_pflow_if() local 795 bytes[0] = pfs_copy.bytes[0]; in export_pflow_if() 796 bytes[1] = pfs_copy.bytes[1]; in export_pflow_if() 798 while (bytes[0] > PFLOW_MAXBYTES) { in export_pflow_if() 799 pfs_copy.bytes[0] = PFLOW_MAXBYTES; in export_pflow_if() 800 pfs_copy.bytes[1] = 0; in export_pflow_if() 805 bytes[0] -= PFLOW_MAXBYTES; in export_pflow_if() 810 pfs_copy.bytes[0] = 0; in export_pflow_if() 815 bytes[1] -= PFLOW_MAXBYTES; in export_pflow_if() 818 pfs_copy.bytes[0] = bytes[0]; in export_pflow_if() [all …]
|
/freebsd/contrib/libxo/tests/gettext/saved/ |
H A D | gt_01.HIPx.out | 23 <div class="data" data-tag="bytes" data-xpath="/top/bytes">0</div> 28 <div class="data" data-tag="bytes" data-xpath="/top/bytes">1</div> 33 <div class="data" data-tag="bytes" data-xpath="/top/bytes">2</div> 38 <div class="data" data-tag="bytes" data-xpath="/top/bytes">3</div> 43 <div class="data" data-tag="bytes" data-xpath="/top/bytes">4</div>
|
/freebsd/lib/libc/amd64/string/ |
H A D | memccpy.S | 89 shl %cl, %r8d # mask of bytes in the string 165 add $16, %rdx # restore number of remaining bytes 198 cmova %r8, %rdx # copy only min(buflen, srclen) bytes 200 .L0132: cmp $16, %rdx # at least 17 bytes to copy (not incl NUL)? 204 movdqu (%r9), %xmm0 # load first 16 bytes 205 movdqu -15(%r9, %rdx, 1), %xmm1 # load last 16 bytes 216 cmova %r8, %rdx # copy only min(buflen, srclen) bytes 220 .L0116: cmp $8, %rdx # at least 9 bytes to copy? 223 cmp $4, %rdx # at least 5 bytes to copy? 226 cmp $2, %rdx # at least 3 bytes to copy?
|
H A D | strlcpy.S | 78 shl %cl, %r8d # mask of bytes in the string 173 add $16, %rdx # restore number of remaining bytes 224 cmova %rax, %rdx # copy only min(buflen, srclen) bytes 226 .L0031: cmp $16, %rdx # at least 16 bytes to copy (not incl NUL)? 230 movdqu (%r9), %xmm0 # load first 16 bytes 231 movdqu -16(%r9, %rdx, 1), %xmm1 # load last 16 bytes 240 cmova %rax, %rdx # copy only min(buflen, srclen) bytes 244 .L0015: cmp $8, %rdx # at least 8 bytes to copy? 247 cmp $4, %rdx # at least 4 bytes to copy? 250 cmp $2, %rdx # at least 2 bytes to copy?
|
H A D | strchrnul.S | 72 or %r10, %rax # str without NUL bytes before it 81 and %r9, %rax # not including junk bytes 130 shl %cl, %edx # bits corresponding to bytes in the string 135 pcmpeqb %xmm1, %xmm2 # NUL bytes present? 147 pcmpeqb %xmm1, %xmm2 # NUL bytes present? 157 pcmpeqb %xmm1, %xmm2 # NUL bytes present?
|
/freebsd/lib/libc/locale/ |
H A D | gb18030.c | 65 u_char bytes[4]; member 102 if (gs->count < 0 || gs->count > sizeof(gs->bytes)) { in _GB18030_mbrtowc() 113 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count); in _GB18030_mbrtowc() 114 memcpy(gs->bytes + gs->count, s, ncopy); in _GB18030_mbrtowc() 117 s = (char *)gs->bytes; in _GB18030_mbrtowc()
|
H A D | mbrtocXX_iconv.h | 50 char bytes[sizeof(charXX_t) * DSTBUF_LEN]; member 105 dst = cs->dstbuf.bytes; in mbrtocXX_l() 108 dstleft <= sizeof(cs->dstbuf.bytes)); in mbrtocXX_l() 111 cs->dstbuf_len = (dst - cs->dstbuf.bytes) / sizeof(charXX_t); in mbrtocXX_l()
|
/freebsd/sys/dev/ahci/ |
H A D | ahciem.c | 470 ads->common.bytes[0] |= SES_OBJSTAT_UNKNOWN; in ahci_em_emulate_ses_on_led() 474 ads->common.bytes[0] |= SES_OBJSTAT_UNKNOWN; in ahci_em_emulate_ses_on_led() 476 ads->common.bytes[0] |= SES_OBJSTAT_OK; in ahci_em_emulate_ses_on_led() 482 ads->common.bytes[3] |= SESCTL_DEVOFF; in ahci_em_emulate_ses_on_led() 496 if (ads->common.bytes[0] & SESCTL_CSEL) { in ahci_em_emulate_ses_on_led() 498 enc->status[i][1] = ads->bytes[0] & in ahci_em_emulate_ses_on_led() 500 enc->status[i][2] = ads->bytes[1] & in ahci_em_emulate_ses_on_led() 502 enc->status[i][3] = ads->bytes[2] & in ahci_em_emulate_ses_on_led() 507 enc->status[i][1] = ads0->bytes[0] & in ahci_em_emulate_ses_on_led() 509 enc->status[i][2] = ads0->bytes[1] & in ahci_em_emulate_ses_on_led() [all …]
|
/freebsd/sys/riscv/sifive/ |
H A D | sifive_spi.c | 185 uint32_t bytes; in sfspi_xfer_buf() local 192 bytes = (txlen > SFSPI_FIFO_DEPTH) ? SFSPI_FIFO_DEPTH : txlen; in sfspi_xfer_buf() 193 sfspi_tx(sc, txbuf, bytes); in sfspi_xfer_buf() 194 txbuf += bytes; in sfspi_xfer_buf() 195 sfspi_rx(sc, rxbuf, bytes); in sfspi_xfer_buf() 196 rxbuf += bytes; in sfspi_xfer_buf() 197 txlen -= bytes; in sfspi_xfer_buf()
|
/freebsd/crypto/openssl/doc/man7/ |
H A D | provider-rand.pod | 100 Additional input I<addin> of length I<addin_len> bytes can optionally 109 It will generate I<outlen> bytes placing them into the buffer pointed to by 113 bytes can optionally be provided. 122 seeding material from their parent. The seed bytes will meet the specified 124 and I<max_len> inclusive bytes in total. If I<prediction_resistance> is 125 true, the bytes will be produced from a live entropy source. Additional 126 input I<addin> of length I<addin_len> bytes can optionally be provided. 130 OSSL_FUNC_rand_clear_seed() frees a seed I<buffer> of length I<b_len> bytes 214 Specifies the maximum number of bytes that can be generated in a single 221 Specify the minimum and maximum number of bytes of random material that [all …]
|
/freebsd/sys/crypto/chacha20/ |
H A D | chacha.c | 111 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes) in chacha_encrypt_bytes() argument 119 if (!bytes) return; in chacha_encrypt_bytes() 139 if (bytes < 64) { in chacha_encrypt_bytes() 141 for (i = 0;i < bytes;++i) tmp[i] = m[i]; in chacha_encrypt_bytes() 241 if (bytes <= 64) { in chacha_encrypt_bytes() 242 if (bytes < 64) { in chacha_encrypt_bytes() 243 for (i = 0;i < bytes;++i) ctarget[i] = c[i]; in chacha_encrypt_bytes() 253 bytes -= 64; in chacha_encrypt_bytes()
|
/freebsd/tests/sys/kern/pipe/ |
H A D | pipe_kqueue_test.c | 244 ssize_t bytes, n; in ATF_TC_BODY() local 252 bytes = 0; in ATF_TC_BODY() 255 bytes++; in ATF_TC_BODY() 286 ATF_REQUIRE(kev[0].data == bytes); in ATF_TC_BODY() 297 ssize_t bytes, n; in ATF_TC_BODY() local 324 bytes = 0; in ATF_TC_BODY() 327 bytes++; in ATF_TC_BODY() 348 ATF_REQUIRE(kev[1].data == bytes); in ATF_TC_BODY()
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | tplink | 53 >0x7C ubelong x \b, %u bytes or less 73 >0x84 ubelong x %u bytes 80 >0x8C ubelong x %u bytes 89 >>0x94 ubelong !0 %u bytes 90 # pad[354] should be 354 null bytes. 92 # But at 0x120 18 non null bytes in examples like
|
/freebsd/contrib/dialog/samples/install/ |
H A D | FDISK.TEST | 3 Units = cylinders of 868 * 512 bytes 12 Units = cylinders of 2048 * 512 bytes 19 Units = cylinders of 2048 * 512 bytes
|
/freebsd/contrib/tnftp/src/ |
H A D | ftp.c | 679 bytes = 0; in sendrequest() 797 bytes = -1; in sendrequest() 812 bytes++; in sendrequest() 815 bytes++; in sendrequest() 819 bytes++; in sendrequest() 833 bytes = -1; in sendrequest() 885 bytes = 0; in sendrequest() 915 bytes = 0; in recvrequest() 1094 bytes++; in recvrequest() 1108 bytes++; in recvrequest() [all …]
|
/freebsd/crypto/openssl/apps/ |
H A D | tsget.in | 23 if ($state->{bytes} < $data_len) { 24 $data_len = $data_len - $state->{bytes}; 26 $return_data = substr ${$state->{data}}, $state->{bytes}, $data_len; 27 $state->{bytes} += $data_len; 93 $curl->setopt(CURLOPT_INFILE, {data => $body, bytes => 0});
|
/freebsd/contrib/kyua/model/ |
H A D | metadata.cpp | 70 class bytes_node : public config::native_leaf_node< units::bytes > { 277 tree.set< bytes_node >("required_disk_space", units::bytes(0)); in set_defaults() 279 tree.set< bytes_node >("required_memory", units::bytes(0)); in set_defaults() 515 const units::bytes& 543 const units::bytes& 946 model::metadata_builder::set_required_disk_space(const units::bytes& bytes) in set_required_disk_space() argument 948 set< bytes_node >(_pimpl->props, "required_disk_space", bytes); in set_required_disk_space() 976 model::metadata_builder::set_required_memory(const units::bytes& bytes) in set_required_memory() argument 978 set< bytes_node >(_pimpl->props, "required_memory", bytes); in set_required_memory()
|
/freebsd/crypto/openssl/test/helpers/ |
H A D | pkcs12.c | 77 static X509 *load_cert_asn1(const unsigned char *bytes, int len) in load_cert_asn1() argument 81 cert = d2i_X509(NULL, &bytes, len); in load_cert_asn1() 88 static EVP_PKEY *load_pkey_asn1(const unsigned char *bytes, int len) in load_pkey_asn1() argument 92 pkey = d2i_AutoPrivateKey(NULL, &bytes, len); in load_pkey_asn1() 375 void add_certbag(PKCS12_BUILDER *pb, const unsigned char *bytes, int len, in add_certbag() argument 385 cert = load_cert_asn1(bytes, len); in add_certbag() 409 void add_keybag(PKCS12_BUILDER *pb, const unsigned char *bytes, int len, in add_keybag() argument 420 pkey = load_pkey_asn1(bytes, len); in add_keybag() 568 ref_x509 = load_cert_asn1(bytes, len); in check_certbag() 576 void check_keybag(PKCS12_BUILDER *pb, const unsigned char *bytes, int len, in check_keybag() argument [all …]
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | x509_req.c | 244 const unsigned char *bytes, int len) in X509_REQ_add1_attr_by_OBJ() argument 251 type, bytes, len)) in X509_REQ_add1_attr_by_OBJ() 259 const unsigned char *bytes, int len) in X509_REQ_add1_attr_by_NID() argument 266 type, bytes, len)) in X509_REQ_add1_attr_by_NID() 274 const unsigned char *bytes, int len) in X509_REQ_add1_attr_by_txt() argument 281 type, bytes, len)) in X509_REQ_add1_attr_by_txt()
|