Home
last modified time | relevance | path

Searched refs:residue (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/crypto/openssl/crypto/modes/
H A Dcts128.c32 size_t residue, n; in CRYPTO_cts128_encrypt_block() local
37 if ((residue = len % 16) == 0) in CRYPTO_cts128_encrypt_block()
38 residue = 16; in CRYPTO_cts128_encrypt_block()
40 len -= residue; in CRYPTO_cts128_encrypt_block()
47 for (n = 0; n < residue; ++n) in CRYPTO_cts128_encrypt_block()
50 memcpy(out, out - 16, residue); in CRYPTO_cts128_encrypt_block()
53 return len + residue; in CRYPTO_cts128_encrypt_block()
62 size_t residue, n; in CRYPTO_nistcts128_encrypt_block() local
67 residue = len % 16; in CRYPTO_nistcts128_encrypt_block()
69 len -= residue; in CRYPTO_nistcts128_encrypt_block()
[all …]
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_cts.c104 size_t residue; in cts128_cs1_encrypt() local
106 residue = len % CTS_BLOCK_SIZE; in cts128_cs1_encrypt()
107 len -= residue; in cts128_cs1_encrypt()
111 if (residue == 0) in cts128_cs1_encrypt()
118 memcpy(tmp_in.c, in, residue); in cts128_cs1_encrypt()
119 if (!ctx->hw->cipher(ctx, out - CTS_BLOCK_SIZE + residue, tmp_in.c, in cts128_cs1_encrypt()
122 return len + residue; in cts128_cs1_encrypt()
138 size_t residue; in cts128_cs1_decrypt() local
140 residue = len % CTS_BLOCK_SIZE; in cts128_cs1_decrypt()
141 if (residue == 0) { in cts128_cs1_decrypt()
[all …]
/freebsd/crypto/heimdal/lib/hx509/
H A Dkeyset.c119 const char *residue; in hx509_certs_init() local
126 residue = strchr(name, ':'); in hx509_certs_init()
127 if (residue) { in hx509_certs_init()
128 type = malloc(residue - name + 1); in hx509_certs_init()
130 strlcpy(type, name, residue - name + 1); in hx509_certs_init()
131 residue++; in hx509_certs_init()
132 if (residue[0] == '\0') in hx509_certs_init()
133 residue = NULL; in hx509_certs_init()
136 residue = name; in hx509_certs_init()
159 ret = (*ops->init)(context, c, &c->ops_data, flags, residue, lock); in hx509_certs_init()
H A Dks_dir.c58 const char *residue, hx509_lock lock) in dir_init() argument
66 ret = stat(residue, &sb); in dir_init()
69 "No such file %s", residue); in dir_init()
75 "%s is not a directory", residue); in dir_init()
80 *data = strdup(residue); in dir_init()
H A Dks_mem.c54 const char *residue, hx509_lock lock) in mem_init() argument
60 if (residue == NULL || residue[0] == '\0') in mem_init()
61 residue = "anonymous"; in mem_init()
62 mem->name = strdup(residue); in mem_init()
H A Dks_keychain.c323 const char *residue, hx509_lock lock) in keychain_init() argument
333 if (residue) { in keychain_init()
334 if (strcasecmp(residue, "system-anchors") == 0) { in keychain_init()
336 } else if (strncasecmp(residue, "FILE:", 5) == 0) { in keychain_init()
339 ret = SecKeychainOpen(residue + 5, &ctx->keychain); in keychain_init()
342 "Failed to open %s", residue); in keychain_init()
347 "Unknown subtype %s", residue); in keychain_init()
H A Dks_file.c376 const char *residue, hx509_lock lock, outformat format) in file_init_common() argument
399 ksf->fn = strdup(residue); in file_init_common()
503 const char *residue, hx509_lock lock) in file_init_pem() argument
505 return file_init_common(context, certs, data, flags, residue, lock, USE_PEM); in file_init_pem()
511 const char *residue, hx509_lock lock) in file_init_der() argument
513 return file_init_common(context, certs, data, flags, residue, lock, USE_DER); in file_init_der()
H A Dks_p12.c324 const char *residue, hx509_lock lock) in p12_init() argument
351 p12->fn = strdup(residue); in p12_init()
366 ret = rk_undumpdata(residue, &buf, &len); in p12_init()
376 "Failed to decode the PFX in %s", residue); in p12_init()
H A Dks_null.c40 const char *residue, hx509_lock lock) in null_init() argument
H A Dks_p11.c831 const char *residue, hx509_lock lock) in p11_init() argument
840 list = strdup(residue); in p11_init()
/freebsd/sys/dev/usb/storage/
H A Dumass.c295 uint32_t residue, uint8_t status);
1479 uint32_t residue; in umass_t_bbb_status_callback() local
1502 residue = UGETDW(sc->csw.dCSWDataResidue); in umass_t_bbb_status_callback()
1504 if ((!residue) || (sc->sc_quirks & IGNORE_RESIDUE)) { in umass_t_bbb_status_callback()
1505 residue = (sc->sc_transfer.data_len - in umass_t_bbb_status_callback()
1508 if (residue > sc->sc_transfer.data_len) { in umass_t_bbb_status_callback()
1510 "to %d bytes\n", residue, sc->sc_transfer.data_len); in umass_t_bbb_status_callback()
1511 residue = sc->sc_transfer.data_len; in umass_t_bbb_status_callback()
1543 "%d\n", residue); in umass_t_bbb_status_callback()
1551 "%d\n", residue); in umass_t_bbb_status_callback()
[all …]
/freebsd/bin/sh/
H A Dmiscbltin.c112 off_t residue; in fdctx_destroy() local
128 residue = (fdc->ep - fdc->buf) - fdc->off; in fdctx_destroy()
129 if (residue > 0) in fdctx_destroy()
130 (void) lseek(fdc->fd, -residue, SEEK_CUR); in fdctx_destroy()
/freebsd/sys/contrib/dev/rtw89/
H A Dser.c546 u32 base_addr, start_page, residue; in ser_mac_mem_dump()
551 residue = start_addr % MAC_MEM_DUMP_PAGE_SIZE; in ser_mac_mem_dump()
558 for (i = indir_access_addr + residue;
567 residue = 0; in rtw89_ser_fw_rsvd_ple_dump()
533 u32 base_addr, start_page, residue; ser_mac_mem_dump() local
H A Ddebug.c1069 u32 base_addr, start_page, residue; in rtw89_debug_dump_mac_mem() local
1077 residue = start_addr % MAC_MEM_DUMP_PAGE_SIZE; in rtw89_debug_dump_mac_mem()
1084 for (i = indir_access_addr + residue; in rtw89_debug_dump_mac_mem()
/freebsd/libexec/ftpd/
H A Dftpd.c1062 checkuser(char *fname, char *name, int pwset, char **residue, int *ecode) in checkuser() argument
1125 if (found && residue) { in checkuser()
1129 if ((*residue = strdup(p)) == NULL) in checkuser()
1132 *residue = NULL; in checkuser()
1345 char *residue = NULL; in pass() local
1447 checkuser(_PATH_FTPCHROOT, pw->pw_name, 1, &residue, &ecode) in pass()
1492 if (dochroot && residue && in pass()
1493 (chrootdir = strtok(residue, " \t")) != NULL) { in pass()
1629 if (residue) in pass()
1630 free(residue); in pass()
[all …]
/freebsd/sys/contrib/dev/rtw88/
H A Dfw.c1774 u32 *buf, u32 residue, u16 start_pg) in rtw_fw_dump_fifo()
1787 for (i = FIFO_DUMP_ADDR + residue; in __rtw_fw_update_pkt()
1795 residue = 0; in __rtw_fw_update_pkt()
1809 u32 start_pg, residue; in rtw_fw_update_pkt_probe_req()
1817 residue = offset & (FIFO_PAGE_SIZE - 1); in rtw_fw_update_pkt_probe_req()
1820 rtw_fw_read_fifo_page(rtwdev, offset, size, buf, residue, start_pg); in rtw_fw_update_pkt_probe_req()
1694 rtw_fw_read_fifo_page(struct rtw_dev * rtwdev,u32 offset,u32 size,u32 * buf,u32 residue,u16 start_pg) rtw_fw_read_fifo_page() argument
1729 u32 start_pg, residue; rtw_fw_read_fifo() local
/freebsd/sys/cam/
H A DREADME.quirks127 o IGNORE_RESIDUE - The device can't count and gets the residue
/freebsd/sys/dev/aic7xxx/
H A Daic79xx.reg3867 * ignore wide residue message handling.
H A Daic7xxx.seq1585 /* Pull the residue byte */
H A Daic79xx.seq1062 /* Pull the residue byte */
/freebsd/crypto/libecc/
H A DREADME.md309 …* [src/examples/basic/fp&lowbar;square&lowbar;residue.c](src/examples/basic/fp_square_residue.c): …
/freebsd/contrib/one-true-awk/testdir/
H A Dfunstack.ok1371 residue arithmetic . . . . . . . . . . . 311--311
H A Dbib1783 … earth, that one cannot be able to see the earth: and they shall eat the residue of that which is …
10521 And the residue of the families of the sons of Kohath had cities of their coasts out of the tribe o…
12609 And the residue of Israel, of the priests, and the Levites, were in all the cities of Judah, every …
18053 And the residue of the number of archers, the mighty men of the children of Kedar, shall be diminis…
18170 … LORD of hosts be for a crown of glory, and for a diadem of beauty, unto the residue of his people,
18401 …ing off of my days, I shall go to the gates of the grave: I am deprived of the residue of my years.
18551 And the residue thereof he maketh a god, even his graven image: he falleth down unto it, and worshi…
18553 … coals thereof; I have roasted flesh, and eaten it: and shall I make the residue thereof an abomin…
19157 And death shall be chosen rather than life by all the residue of them that remain of this evil fami…
19325 …down while it was yet day: she hath been ashamed and confounded: and the residue of them will I de…
[all …]
H A Dfunstack.in2268 …abstract = "The quadratic residue search method for hash tables avoids much of the clustering …
3956 …a; modulus; prime number; residue arithmetic; subroutine; subroutines; symmetric mixed radix repre…
10111 title = "Exact solution of linear equations using residue arithmetic",
10124 …ebra; linear equations; matrix; mixed radix conversion; modulus; prime number; residue arithmetic",
/freebsd/contrib/dialog/
H A DCHANGES322 CFLAGS, leaving the residue in CC. That happens to work for gcc's

12