Symbol: blocks
crypto/heimdal/appl/ftp/ftpd/ls.c
140
block_convert(size_t blocks)
crypto/heimdal/appl/ftp/ftpd/ls.c
143
return blocks * S_BLKSIZE / 1024;
crypto/heimdal/appl/ftp/ftpd/ls.c
145
return blocks * 512 / 1024;
crypto/openssh/cipher-aes.c
104
for (i = blocks; i > 0; i--, cnow-=RIJNDAEL_BLOCKSIZE,
crypto/openssh/cipher-aes.c
77
int i, j, blocks = len / RIJNDAEL_BLOCKSIZE;
crypto/openssh/cipher-aes.c
91
for (i = 0; i < blocks; i++, plain+=RIJNDAEL_BLOCKSIZE,
crypto/openssh/libcrux_mlkem768_sha3.h
1108
uint64_t (*s)[5U], Eurydice_slice blocks[1U]) {
crypto/openssh/libcrux_mlkem768_sha3.h
1115
Eurydice_slice_subslice2(blocks[0U], (size_t)8U * i0,
crypto/openssh/libcrux_mlkem768_sha3.h
2231
libcrux_sha3_generic_keccak_KeccakState_48 *s, Eurydice_slice blocks[1U]) {
crypto/openssh/libcrux_mlkem768_sha3.h
2234
memcpy(uu____1, blocks, (size_t)1U * sizeof(Eurydice_slice));
crypto/openssh/libcrux_mlkem768_sha3.h
2245
uint64_t (*s)[5U], uint8_t blocks[1U][200U]) {
crypto/openssh/libcrux_mlkem768_sha3.h
2247
Eurydice_array_to_slice((size_t)200U, blocks[0U], uint8_t)};
crypto/openssh/libcrux_mlkem768_sha3.h
2280
uint8_t blocks[1U][200U] = {{0U}};
crypto/openssh/libcrux_mlkem768_sha3.h
2285
blocks[i0], (size_t)0U, last_len, uint8_t);
crypto/openssh/libcrux_mlkem768_sha3.h
2288
blocks[i0][last_len] = 6U;
crypto/openssh/libcrux_mlkem768_sha3.h
2291
blocks[uu____1][uu____2] = (uint32_t)blocks[uu____1][uu____2] | 128U;
crypto/openssh/libcrux_mlkem768_sha3.h
2295
memcpy(uu____4, blocks, (size_t)1U * sizeof(uint8_t[200U]));
crypto/openssh/libcrux_mlkem768_sha3.h
2476
size_t blocks = outlen / (size_t)72U;
crypto/openssh/libcrux_mlkem768_sha3.h
2478
if (blocks == (size_t)0U) {
crypto/openssh/libcrux_mlkem768_sha3.h
2491
.end = blocks}),
crypto/openssh/libcrux_mlkem768_sha3.h
2545
uint64_t (*s)[5U], Eurydice_slice blocks[1U]) {
crypto/openssh/libcrux_mlkem768_sha3.h
2552
Eurydice_slice_subslice2(blocks[0U], (size_t)8U * i0,
crypto/openssh/libcrux_mlkem768_sha3.h
2589
libcrux_sha3_generic_keccak_KeccakState_48 *s, Eurydice_slice blocks[1U]) {
crypto/openssh/libcrux_mlkem768_sha3.h
2592
memcpy(uu____1, blocks, (size_t)1U * sizeof(Eurydice_slice));
crypto/openssh/libcrux_mlkem768_sha3.h
2603
uint64_t (*s)[5U], uint8_t blocks[1U][200U]) {
crypto/openssh/libcrux_mlkem768_sha3.h
2605
Eurydice_array_to_slice((size_t)200U, blocks[0U], uint8_t)};
crypto/openssh/libcrux_mlkem768_sha3.h
2638
uint8_t blocks[1U][200U] = {{0U}};
crypto/openssh/libcrux_mlkem768_sha3.h
2643
blocks[i0], (size_t)0U, last_len, uint8_t);
crypto/openssh/libcrux_mlkem768_sha3.h
2646
blocks[i0][last_len] = 6U;
crypto/openssh/libcrux_mlkem768_sha3.h
2649
blocks[uu____1][uu____2] = (uint32_t)blocks[uu____1][uu____2] | 128U;
crypto/openssh/libcrux_mlkem768_sha3.h
2653
memcpy(uu____4, blocks, (size_t)1U * sizeof(uint8_t[200U]));
crypto/openssh/libcrux_mlkem768_sha3.h
2835
size_t blocks = outlen / (size_t)136U;
crypto/openssh/libcrux_mlkem768_sha3.h
2837
if (blocks == (size_t)0U) {
crypto/openssh/libcrux_mlkem768_sha3.h
2850
.end = blocks}),
crypto/openssh/libcrux_mlkem768_sha3.h
2909
uint8_t blocks[1U][200U] = {{0U}};
crypto/openssh/libcrux_mlkem768_sha3.h
2914
blocks[i0], (size_t)0U, last_len, uint8_t);
crypto/openssh/libcrux_mlkem768_sha3.h
2917
blocks[i0][last_len] = 31U;
crypto/openssh/libcrux_mlkem768_sha3.h
2920
blocks[uu____1][uu____2] = (uint32_t)blocks[uu____1][uu____2] | 128U;
crypto/openssh/libcrux_mlkem768_sha3.h
2924
memcpy(uu____4, blocks, (size_t)1U * sizeof(uint8_t[200U]));
crypto/openssh/libcrux_mlkem768_sha3.h
2963
size_t blocks = outlen / (size_t)136U;
crypto/openssh/libcrux_mlkem768_sha3.h
2965
if (blocks == (size_t)0U) {
crypto/openssh/libcrux_mlkem768_sha3.h
2978
.end = blocks}),
crypto/openssh/libcrux_mlkem768_sha3.h
3043
uint64_t (*s)[5U], Eurydice_slice blocks[1U]) {
crypto/openssh/libcrux_mlkem768_sha3.h
3050
Eurydice_slice_subslice2(blocks[0U], (size_t)8U * i0,
crypto/openssh/libcrux_mlkem768_sha3.h
3067
uint64_t (*s)[5U], uint8_t blocks[1U][200U]) {
crypto/openssh/libcrux_mlkem768_sha3.h
3069
Eurydice_array_to_slice((size_t)200U, blocks[0U], uint8_t)};
crypto/openssh/libcrux_mlkem768_sha3.h
3102
uint8_t blocks[1U][200U] = {{0U}};
crypto/openssh/libcrux_mlkem768_sha3.h
3107
blocks[i0], (size_t)0U, last_len, uint8_t);
crypto/openssh/libcrux_mlkem768_sha3.h
3110
blocks[i0][last_len] = 31U;
crypto/openssh/libcrux_mlkem768_sha3.h
3113
blocks[uu____1][uu____2] = (uint32_t)blocks[uu____1][uu____2] | 128U;
crypto/openssh/libcrux_mlkem768_sha3.h
3117
memcpy(uu____4, blocks, (size_t)1U * sizeof(uint8_t[200U]));
crypto/openssh/libcrux_mlkem768_sha3.h
3280
uint64_t (*s)[5U], Eurydice_slice blocks[1U]) {
crypto/openssh/libcrux_mlkem768_sha3.h
3287
Eurydice_slice_subslice2(blocks[0U], (size_t)8U * i0,
crypto/openssh/libcrux_mlkem768_sha3.h
3324
libcrux_sha3_generic_keccak_KeccakState_48 *s, Eurydice_slice blocks[1U]) {
crypto/openssh/libcrux_mlkem768_sha3.h
3327
memcpy(uu____1, blocks, (size_t)1U * sizeof(Eurydice_slice));
crypto/openssh/libcrux_mlkem768_sha3.h
3338
uint64_t (*s)[5U], uint8_t blocks[1U][200U]) {
crypto/openssh/libcrux_mlkem768_sha3.h
3340
Eurydice_array_to_slice((size_t)200U, blocks[0U], uint8_t)};
crypto/openssh/libcrux_mlkem768_sha3.h
3373
uint8_t blocks[1U][200U] = {{0U}};
crypto/openssh/libcrux_mlkem768_sha3.h
3378
blocks[i0], (size_t)0U, last_len, uint8_t);
crypto/openssh/libcrux_mlkem768_sha3.h
3381
blocks[i0][last_len] = 6U;
crypto/openssh/libcrux_mlkem768_sha3.h
3384
blocks[uu____1][uu____2] = (uint32_t)blocks[uu____1][uu____2] | 128U;
crypto/openssh/libcrux_mlkem768_sha3.h
3388
memcpy(uu____4, blocks, (size_t)1U * sizeof(uint8_t[200U]));
crypto/openssh/libcrux_mlkem768_sha3.h
3570
size_t blocks = outlen / (size_t)144U;
crypto/openssh/libcrux_mlkem768_sha3.h
3572
if (blocks == (size_t)0U) {
crypto/openssh/libcrux_mlkem768_sha3.h
3585
.end = blocks}),
crypto/openssh/libcrux_mlkem768_sha3.h
3639
uint64_t (*s)[5U], Eurydice_slice blocks[1U]) {
crypto/openssh/libcrux_mlkem768_sha3.h
3646
Eurydice_slice_subslice2(blocks[0U], (size_t)8U * i0,
crypto/openssh/libcrux_mlkem768_sha3.h
3683
libcrux_sha3_generic_keccak_KeccakState_48 *s, Eurydice_slice blocks[1U]) {
crypto/openssh/libcrux_mlkem768_sha3.h
3686
memcpy(uu____1, blocks, (size_t)1U * sizeof(Eurydice_slice));
crypto/openssh/libcrux_mlkem768_sha3.h
3697
uint64_t (*s)[5U], uint8_t blocks[1U][200U]) {
crypto/openssh/libcrux_mlkem768_sha3.h
3699
Eurydice_array_to_slice((size_t)200U, blocks[0U], uint8_t)};
crypto/openssh/libcrux_mlkem768_sha3.h
3732
uint8_t blocks[1U][200U] = {{0U}};
crypto/openssh/libcrux_mlkem768_sha3.h
3737
blocks[i0], (size_t)0U, last_len, uint8_t);
crypto/openssh/libcrux_mlkem768_sha3.h
3740
blocks[i0][last_len] = 6U;
crypto/openssh/libcrux_mlkem768_sha3.h
3743
blocks[uu____1][uu____2] = (uint32_t)blocks[uu____1][uu____2] | 128U;
crypto/openssh/libcrux_mlkem768_sha3.h
3747
memcpy(uu____4, blocks, (size_t)1U * sizeof(uint8_t[200U]));
crypto/openssh/libcrux_mlkem768_sha3.h
3929
size_t blocks = outlen / (size_t)104U;
crypto/openssh/libcrux_mlkem768_sha3.h
3931
if (blocks == (size_t)0U) {
crypto/openssh/libcrux_mlkem768_sha3.h
3944
.end = blocks}),
crypto/openssh/libcrux_mlkem768_sha3.h
4097
libcrux_sha3_generic_keccak_KeccakState_48 *s, Eurydice_slice blocks[1U]) {
crypto/openssh/libcrux_mlkem768_sha3.h
4100
memcpy(uu____1, blocks, (size_t)1U * sizeof(Eurydice_slice));
crypto/openssh/libcrux_mlkem768_sha3.h
4225
size_t blocks = outlen / (size_t)168U;
crypto/openssh/libcrux_mlkem768_sha3.h
4227
if (blocks == (size_t)0U) {
crypto/openssh/libcrux_mlkem768_sha3.h
4240
.end = blocks}),
crypto/openssh/libcrux_mlkem768_sha3.h
4729
uint8_t blocks[1U][200U] = {{0U}};
crypto/openssh/libcrux_mlkem768_sha3.h
4734
blocks[i0], (size_t)0U, self->buf_len, uint8_t);
crypto/openssh/libcrux_mlkem768_sha3.h
4742
blocks[i0], self->buf_len, self->buf_len + input_remainder_len,
crypto/openssh/libcrux_mlkem768_sha3.h
4750
blocks[i0][self->buf_len + input_remainder_len] = 31U;
crypto/openssh/libcrux_mlkem768_sha3.h
4753
blocks[uu____4][uu____5] = (uint32_t)blocks[uu____4][uu____5] | 128U;
crypto/openssh/libcrux_mlkem768_sha3.h
4757
memcpy(uu____7, blocks, (size_t)1U * sizeof(uint8_t[200U]));
crypto/openssh/libcrux_mlkem768_sha3.h
5180
uint8_t blocks[1U][200U] = {{0U}};
crypto/openssh/libcrux_mlkem768_sha3.h
5185
blocks[i0], (size_t)0U, self->buf_len, uint8_t);
crypto/openssh/libcrux_mlkem768_sha3.h
5193
blocks[i0], self->buf_len, self->buf_len + input_remainder_len,
crypto/openssh/libcrux_mlkem768_sha3.h
5201
blocks[i0][self->buf_len + input_remainder_len] = 31U;
crypto/openssh/libcrux_mlkem768_sha3.h
5204
blocks[uu____4][uu____5] = (uint32_t)blocks[uu____4][uu____5] | 128U;
crypto/openssh/libcrux_mlkem768_sha3.h
5208
memcpy(uu____7, blocks, (size_t)1U * sizeof(uint8_t[200U]));
crypto/openssh/libcrux_mlkem768_sha3.h
5508
size_t blocks = out_len / (size_t)136U;
crypto/openssh/libcrux_mlkem768_sha3.h
5526
.end = blocks}),
crypto/openssh/libcrux_mlkem768_sha3.h
5627
size_t blocks = out_len / (size_t)168U;
crypto/openssh/libcrux_mlkem768_sha3.h
5645
.end = blocks}),
crypto/openssh/openbsd-compat/blowfish.c
512
blf_enc(blf_ctx *c, u_int32_t *data, u_int16_t blocks)
crypto/openssh/openbsd-compat/blowfish.c
518
for (i = 0; i < blocks; i++) {
crypto/openssh/openbsd-compat/blowfish.c
525
blf_dec(blf_ctx *c, u_int32_t *data, u_int16_t blocks)
crypto/openssh/openbsd-compat/blowfish.c
531
for (i = 0; i < blocks; i++) {
crypto/openssh/packet.c
1091
(state->p_send.blocks + out_blocks > state->max_blocks_out)) ||
crypto/openssh/packet.c
1093
(state->p_read.blocks > state->max_blocks_in));
crypto/openssh/packet.c
111
u_int64_t blocks;
crypto/openssh/packet.c
1311
state->p_send.blocks += len / block_size;
crypto/openssh/packet.c
1722
state->p_read.blocks += (state->packlen + 4) / block_size;
crypto/openssh/packet.c
2424
(r = sshbuf_put_u64(m, state->p_send.blocks)) != 0 ||
crypto/openssh/packet.c
2428
(r = sshbuf_put_u64(m, state->p_read.blocks)) != 0 ||
crypto/openssh/packet.c
2560
(r = sshbuf_get_u64(m, &state->p_send.blocks)) != 0 ||
crypto/openssh/packet.c
2564
(r = sshbuf_get_u64(m, &state->p_read.blocks)) != 0 ||
crypto/openssh/packet.c
983
(unsigned long long)state->p_read.blocks,
crypto/openssh/packet.c
985
(unsigned long long)state->p_send.blocks);
crypto/openssh/packet.c
990
ps->packets = ps->blocks = 0;
crypto/openssl/crypto/evp/e_aes.c
1000
unsigned long long blocks;
crypto/openssl/crypto/evp/e_aes.c
1853
ctx->aes.ccm.blocks += 2;
crypto/openssl/crypto/evp/e_aes.c
1859
ctx->aes.ccm.blocks += alen >> 4;
crypto/openssl/crypto/evp/e_aes.c
1869
ctx->aes.ccm.blocks++;
crypto/openssl/crypto/evp/e_aes.c
1888
ctx->aes.ccm.blocks++;
crypto/openssl/crypto/evp/e_aes.c
1911
ctx->aes.ccm.blocks += (((len + 15) >> 4) << 1) + 1;
crypto/openssl/crypto/evp/e_aes.c
1912
if (ctx->aes.ccm.blocks > (1ULL << 61))
crypto/openssl/crypto/evp/e_aes.c
2048
cctx->aes.ccm.blocks = 0;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
145
int blocks;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
153
int blocks;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
171
} blocks[8];
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
181
if (RAND_bytes((IVs = blocks[0].c), 16 * x4) <= 0)
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
213
memcpy(blocks[0].c, key->md.data, 8);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
214
seqnum = BSWAP8(blocks[0].q[0]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
230
blocks[i].q[0] = BSWAP8(seqnum + i);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
233
blocks[i].c[j] = ((u8 *)key->md.data)[j] + carry;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
234
carry = (blocks[i].c[j] - carry) >> (sizeof(carry) * 8 - 1);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
237
blocks[i].c[8] = ((u8 *)key->md.data)[8];
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
238
blocks[i].c[9] = ((u8 *)key->md.data)[9];
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
239
blocks[i].c[10] = ((u8 *)key->md.data)[10];
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
241
blocks[i].c[11] = (u8)(len >> 8);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
242
blocks[i].c[12] = (u8)(len);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
244
memcpy(blocks[i].c + 13, hash_d[i].ptr, 64 - 13);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
246
hash_d[i].blocks = (len - (64 - 13)) / 64;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
248
edges[i].ptr = blocks[i].c;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
249
edges[i].blocks = 1;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
267
edges[i].blocks = MAXCHUNKSIZE / 64;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
268
ciph_d[i].blocks = MAXCHUNKSIZE / 16;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
276
hash_d[i].blocks -= MAXCHUNKSIZE / 64;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
277
edges[i].blocks = MAXCHUNKSIZE / 64;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
280
ciph_d[i].blocks = MAXCHUNKSIZE / 16;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
291
memset(blocks, 0, sizeof(blocks));
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
294
off = hash_d[i].blocks * 64;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
298
memcpy(blocks[i].c, ptr, off);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
299
blocks[i].c[off] = 0x80;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
304
blocks[i].d[15] = BSWAP4(len);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
306
PUTU32(blocks[i].c + 60, len);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
308
edges[i].blocks = 1;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
311
blocks[i].d[31] = BSWAP4(len);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
313
PUTU32(blocks[i].c + 124, len);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
315
edges[i].blocks = 2;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
317
edges[i].ptr = blocks[i].c;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
323
memset(blocks, 0, sizeof(blocks));
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
326
blocks[i].d[0] = BSWAP4(ctx->A[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
328
blocks[i].d[1] = BSWAP4(ctx->B[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
330
blocks[i].d[2] = BSWAP4(ctx->C[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
332
blocks[i].d[3] = BSWAP4(ctx->D[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
334
blocks[i].d[4] = BSWAP4(ctx->E[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
336
blocks[i].c[20] = 0x80;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
337
blocks[i].d[15] = BSWAP4((64 + 20) * 8);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
339
PUTU32(blocks[i].c + 0, ctx->A[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
341
PUTU32(blocks[i].c + 4, ctx->B[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
343
PUTU32(blocks[i].c + 8, ctx->C[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
345
PUTU32(blocks[i].c + 12, ctx->D[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
347
PUTU32(blocks[i].c + 16, ctx->E[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
349
blocks[i].c[20] = 0x80;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
350
PUTU32(blocks[i].c + 60, (64 + 20) * 8);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
352
edges[i].ptr = blocks[i].c;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
353
edges[i].blocks = 1;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
383
ciph_d[i].blocks = (len - processed) / 16;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
399
OPENSSL_cleanse(blocks, sizeof(blocks));
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
415
size_t aes_off = 0, blocks;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
435
&& (blocks = (plen - (sha_off + iv)) / SHA_CBLOCK)) {
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
438
aesni_cbc_sha1_enc(in, out, blocks, &key->ks, ctx->iv,
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
440
blocks *= SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
441
aes_off += blocks;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
442
sha_off += blocks;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
443
key->md.Nh += blocks >> 29;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
444
key->md.Nl += blocks <<= 3;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
445
if (key->md.Nl < (unsigned int)blocks)
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
559
blocks = (len - (256 + 32 + SHA_CBLOCK)) / SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
560
aes_off = len - AES_BLOCK_SIZE - blocks * SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
567
out + aes_off, blocks, &key->ks,
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
57
void aesni_cbc_sha1_enc(const void *inp, void *out, size_t blocks,
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
570
sha_off += blocks *= SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
575
key->md.Nl += (blocks << 3); /* at most 18 bits */
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
61
void aesni256_cbc_sha1_dec(const void *inp, void *out, size_t blocks,
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
737
blocks = (len - 3 * SHA_CBLOCK) / SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
739
blocks = (len - 2 * SHA_CBLOCK) / SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
740
aes_off = len - blocks * SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
745
out + aes_off, blocks, &key->ks,
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
748
sha_off += blocks *= SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
752
key->md.Nh += blocks >> 29;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
753
key->md.Nl += blocks <<= 3;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
754
if (key->md.Nl < (unsigned int)blocks)
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
139
int blocks;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
147
int blocks;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
165
} blocks[8];
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
175
if (RAND_bytes((IVs = blocks[0].c), 16 * x4) <= 0)
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
208
memcpy(blocks[0].c, key->md.data, 8);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
209
seqnum = BSWAP8(blocks[0].q[0]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
228
blocks[i].q[0] = BSWAP8(seqnum + i);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
231
blocks[i].c[j] = ((u8 *)key->md.data)[j] + carry;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
232
carry = (blocks[i].c[j] - carry) >> (sizeof(carry) * 8 - 1);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
235
blocks[i].c[8] = ((u8 *)key->md.data)[8];
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
236
blocks[i].c[9] = ((u8 *)key->md.data)[9];
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
237
blocks[i].c[10] = ((u8 *)key->md.data)[10];
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
239
blocks[i].c[11] = (u8)(len >> 8);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
240
blocks[i].c[12] = (u8)(len);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
242
memcpy(blocks[i].c + 13, hash_d[i].ptr, 64 - 13);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
244
hash_d[i].blocks = (len - (64 - 13)) / 64;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
246
edges[i].ptr = blocks[i].c;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
247
edges[i].blocks = 1;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
265
edges[i].blocks = MAXCHUNKSIZE / 64;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
266
ciph_d[i].blocks = MAXCHUNKSIZE / 16;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
274
hash_d[i].blocks -= MAXCHUNKSIZE / 64;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
275
edges[i].blocks = MAXCHUNKSIZE / 64;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
278
ciph_d[i].blocks = MAXCHUNKSIZE / 16;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
289
memset(blocks, 0, sizeof(blocks));
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
292
off = hash_d[i].blocks * 64;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
296
memcpy(blocks[i].c, ptr, off);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
297
blocks[i].c[off] = 0x80;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
302
blocks[i].d[15] = BSWAP4(len);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
304
PUTU32(blocks[i].c + 60, len);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
306
edges[i].blocks = 1;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
309
blocks[i].d[31] = BSWAP4(len);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
311
PUTU32(blocks[i].c + 124, len);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
313
edges[i].blocks = 2;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
315
edges[i].ptr = blocks[i].c;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
321
memset(blocks, 0, sizeof(blocks));
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
324
blocks[i].d[0] = BSWAP4(ctx->A[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
326
blocks[i].d[1] = BSWAP4(ctx->B[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
328
blocks[i].d[2] = BSWAP4(ctx->C[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
330
blocks[i].d[3] = BSWAP4(ctx->D[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
332
blocks[i].d[4] = BSWAP4(ctx->E[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
334
blocks[i].d[5] = BSWAP4(ctx->F[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
336
blocks[i].d[6] = BSWAP4(ctx->G[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
338
blocks[i].d[7] = BSWAP4(ctx->H[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
340
blocks[i].c[32] = 0x80;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
341
blocks[i].d[15] = BSWAP4((64 + 32) * 8);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
343
PUTU32(blocks[i].c + 0, ctx->A[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
345
PUTU32(blocks[i].c + 4, ctx->B[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
347
PUTU32(blocks[i].c + 8, ctx->C[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
349
PUTU32(blocks[i].c + 12, ctx->D[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
351
PUTU32(blocks[i].c + 16, ctx->E[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
353
PUTU32(blocks[i].c + 20, ctx->F[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
355
PUTU32(blocks[i].c + 24, ctx->G[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
357
PUTU32(blocks[i].c + 28, ctx->H[i]);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
359
blocks[i].c[32] = 0x80;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
360
PUTU32(blocks[i].c + 60, (64 + 32) * 8);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
362
edges[i].ptr = blocks[i].c;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
363
edges[i].blocks = 1;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
396
ciph_d[i].blocks = (len - processed) / 16;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
412
OPENSSL_cleanse(blocks, sizeof(blocks));
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
429
size_t aes_off = 0, blocks;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
463
plen > (sha_off + iv) && (blocks = (plen - (sha_off + iv)) / SHA256_CBLOCK)) {
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
466
(void)aesni_cbc_sha256_enc(in, out, blocks, &key->ks,
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
468
blocks *= SHA256_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
469
aes_off += blocks;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
470
sha_off += blocks;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
471
key->md.Nh += blocks >> 29;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
472
key->md.Nl += blocks <<= 3;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
473
if (key->md.Nl < (unsigned int)blocks)
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
57
int aesni_cbc_sha256_enc(const void *inp, void *out, size_t blocks,
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
101
ctr32 += (unsigned int)blocks;
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
102
if (ctr32 < blocks) {
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
103
blocks -= ctr32;
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
106
blocks *= CHACHA_BLK_SIZE;
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
107
ChaCha20_ctr32(out, inp, blocks, key->key.d, key->counter);
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
108
len -= blocks;
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
109
inp += blocks;
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
110
out += blocks;
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
86
size_t blocks = len / CHACHA_BLK_SIZE;
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
92
if (sizeof(size_t) > sizeof(unsigned int) && blocks > (1U << 28))
crypto/openssl/crypto/evp/e_chacha20_poly1305.c
93
blocks = (1U << 28);
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
102
&key->md, in + md5_off, blocks);
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
103
blocks *= MD5_CBLOCK;
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
104
rc4_off += blocks;
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
105
md5_off += blocks;
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
106
key->md.Nh += blocks >> 29;
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
107
key->md.Nl += blocks <<= 3;
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
108
if (key->md.Nl < (unsigned int)blocks)
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
140
if (len > rc4_off && (blocks = (len - rc4_off) / MD5_CBLOCK) && (OPENSSL_ia32cap_P[0] & (1 << 20)) == 0) {
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
145
&key->md, out + md5_off, blocks);
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
146
blocks *= MD5_CBLOCK;
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
147
rc4_off += blocks;
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
148
md5_off += blocks;
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
149
l = (key->md.Nl + (blocks << 3)) & 0xffffffffU;
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
153
key->md.Nh += blocks >> 29;
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
40
MD5_CTX *ctx, const void *inp, size_t blocks);
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
81
md5_off = MD5_CBLOCK - key->md.num, blocks;
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c
97
if (plen > md5_off && (blocks = (plen - md5_off) / MD5_CBLOCK) && (OPENSSL_ia32cap_P[0] & (1 << 20)) == 0) {
crypto/openssl/crypto/ml_dsa/ml_dsa_sample.c
120
uint8_t blocks[SHAKE128_BLOCKSIZE], *b, *end = blocks + sizeof(blocks);
crypto/openssl/crypto/ml_dsa/ml_dsa_sample.c
126
if (!shake_xof(g_ctx, md, seed, seed_len, blocks, sizeof(blocks)))
crypto/openssl/crypto/ml_dsa/ml_dsa_sample.c
130
for (b = blocks; b < end; b += 3) {
crypto/openssl/crypto/ml_dsa/ml_dsa_sample.c
136
if (!EVP_DigestSqueeze(g_ctx, blocks, sizeof(blocks)))
crypto/openssl/crypto/ml_dsa/ml_dsa_sample.c
164
uint8_t blocks[SHAKE256_BLOCKSIZE], *b, *end = blocks + sizeof(blocks);
crypto/openssl/crypto/ml_dsa/ml_dsa_sample.c
167
if (!shake_xof(h_ctx, md, seed, seed_len, blocks, sizeof(blocks)))
crypto/openssl/crypto/ml_dsa/ml_dsa_sample.c
171
for (b = blocks; b < end; b++) {
crypto/openssl/crypto/ml_dsa/ml_dsa_sample.c
182
if (!EVP_DigestSqueeze(h_ctx, blocks, sizeof(blocks)))
crypto/openssl/crypto/modes/ccm128.c
110
(*block)(ctx->cmac.c, ctx->cmac.c, ctx->key), ctx->blocks++;
crypto/openssl/crypto/modes/ccm128.c
152
(*block)(ctx->nonce.c, ctx->cmac.c, key), ctx->blocks++;
crypto/openssl/crypto/modes/ccm128.c
166
ctx->blocks += ((len + 15) >> 3) | 1;
crypto/openssl/crypto/modes/ccm128.c
167
if (ctx->blocks > (U64(1) << 61))
crypto/openssl/crypto/modes/ccm128.c
32
ctx->blocks = 0;
crypto/openssl/crypto/modes/ccm128.c
325
(*block)(ctx->nonce.c, ctx->cmac.c, key), ctx->blocks++;
crypto/openssl/crypto/modes/ccm128.c
339
ctx->blocks += ((len + 15) >> 3) | 1;
crypto/openssl/crypto/modes/ccm128.c
340
if (ctx->blocks > (U64(1) << 61))
crypto/openssl/crypto/modes/ccm128.c
78
(*block)(ctx->nonce.c, ctx->cmac.c, ctx->key), ctx->blocks++;
crypto/openssl/crypto/modes/ctr128.c
168
size_t blocks = len / 16;
crypto/openssl/crypto/modes/ctr128.c
174
if (sizeof(size_t) > sizeof(unsigned int) && blocks > (1U << 28))
crypto/openssl/crypto/modes/ctr128.c
175
blocks = (1U << 28);
crypto/openssl/crypto/modes/ctr128.c
182
ctr32 += (u32)blocks;
crypto/openssl/crypto/modes/ctr128.c
183
if (ctr32 < blocks) {
crypto/openssl/crypto/modes/ctr128.c
184
blocks -= ctr32;
crypto/openssl/crypto/modes/ctr128.c
187
(*func)(in, out, blocks, key, ivec);
crypto/openssl/crypto/modes/ctr128.c
193
blocks *= 16;
crypto/openssl/crypto/modes/ctr128.c
194
len -= blocks;
crypto/openssl/crypto/modes/ctr128.c
195
out += blocks;
crypto/openssl/crypto/modes/ctr128.c
196
in += blocks;
crypto/openssl/crypto/modes/gcm128.c
1555
unsigned blocks = (mres + 15) & -16;
crypto/openssl/crypto/modes/gcm128.c
1557
memset(ctx->Xn + mres, 0, blocks - mres);
crypto/openssl/crypto/modes/gcm128.c
1558
mres = blocks;
crypto/openssl/crypto/params_dup.c
124
if (buf[OSSL_PARAM_BUF_SECURE].blocks > 0
crypto/openssl/crypto/params_dup.c
25
size_t blocks; /* Number of aligned blocks */
crypto/openssl/crypto/params_dup.c
37
size_t sz = OSSL_PARAM_ALIGN_SIZE * (extra_blocks + out->blocks);
crypto/openssl/crypto/params_dup.c
90
buf[is_secure].blocks += blks;
crypto/openssl/crypto/poly1305/poly1305.c
421
ctx->func.blocks = poly1305_blocks;
crypto/openssl/crypto/poly1305/poly1305.c
447
poly1305_blocks_f poly1305_blocks_p = ctx->func.blocks;
crypto/openssl/crypto/poly1305/poly1305.c
483
poly1305_blocks_f poly1305_blocks_p = ctx->func.blocks;
crypto/openssl/engines/e_padlock.c
457
unsigned char *out, size_t blocks,
crypto/openssl/engines/e_padlock.c
462
padlock_ctr32_encrypt(out, in, ctx, AES_BLOCK_SIZE * blocks);
crypto/openssl/include/crypto/aes_platform.h
209
size_t blocks, const void *key,
crypto/openssl/include/crypto/aes_platform.h
215
size_t blocks, const void *key,
crypto/openssl/include/crypto/aes_platform.h
224
size_t blocks,
crypto/openssl/include/crypto/aes_platform.h
261
size_t blocks,
crypto/openssl/include/crypto/aes_platform.h
268
size_t blocks,
crypto/openssl/include/crypto/aes_platform.h
335
size_t blocks, const AES_KEY *key,
crypto/openssl/include/crypto/aes_platform.h
338
size_t blocks, const AES_KEY *key,
crypto/openssl/include/crypto/aes_platform.h
341
size_t blocks, const AES_KEY *key,
crypto/openssl/include/crypto/aes_platform.h
344
size_t blocks, const AES_KEY *key1,
crypto/openssl/include/crypto/aes_platform.h
347
size_t blocks, const AES_KEY *key1,
crypto/openssl/include/crypto/aes_platform.h
350
size_t blocks, const AES_KEY *key1,
crypto/openssl/include/crypto/aes_platform.h
353
size_t blocks, const AES_KEY *key1,
crypto/openssl/include/crypto/aes_platform.h
460
unsigned char *out, size_t blocks,
crypto/openssl/include/crypto/aes_platform.h
49
size_t blocks, const AES_KEY *key,
crypto/openssl/include/crypto/aes_platform.h
547
size_t blocks, const void *key,
crypto/openssl/include/crypto/aes_platform.h
557
size_t blocks, const void *key,
crypto/openssl/include/crypto/cmll_platform.h
42
size_t blocks, const CAMELLIA_KEY *key,
crypto/openssl/include/crypto/cmll_platform.h
45
size_t blocks, const CAMELLIA_KEY *key,
crypto/openssl/include/crypto/modes.h
164
u64 blocks;
crypto/openssl/include/crypto/poly1305.h
36
poly1305_blocks_f blocks;
crypto/openssl/include/openssl/modes.h
187
size_t blocks, const void *key,
crypto/openssl/include/openssl/modes.h
37
size_t blocks, const void *key,
crypto/openssl/include/openssl/modes.h
41
size_t blocks, const void *key,
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
108
int blocks;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
114
int blocks;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
135
} blocks[8];
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
146
if (RAND_bytes_ex(ctx->base.libctx, (IVs = blocks[0].c), 16 * x4, 0) <= 0)
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
178
memcpy(blocks[0].c, sctx->md.data, 8);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
179
seqnum = BSWAP8(blocks[0].q[0]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
195
blocks[i].q[0] = BSWAP8(seqnum + i);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
198
blocks[i].c[j] = ((u8 *)sctx->md.data)[j] + carry;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
199
carry = (blocks[i].c[j] - carry) >> (sizeof(carry) * 8 - 1);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
202
blocks[i].c[8] = ((u8 *)sctx->md.data)[8];
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
203
blocks[i].c[9] = ((u8 *)sctx->md.data)[9];
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
204
blocks[i].c[10] = ((u8 *)sctx->md.data)[10];
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
206
blocks[i].c[11] = (u8)(len >> 8);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
207
blocks[i].c[12] = (u8)(len);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
209
memcpy(blocks[i].c + 13, hash_d[i].ptr, 64 - 13);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
211
hash_d[i].blocks = (len - (64 - 13)) / 64;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
213
edges[i].ptr = blocks[i].c;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
214
edges[i].blocks = 1;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
232
edges[i].blocks = MAXCHUNKSIZE / 64;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
233
ciph_d[i].blocks = MAXCHUNKSIZE / 16;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
241
hash_d[i].blocks -= MAXCHUNKSIZE / 64;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
242
edges[i].blocks = MAXCHUNKSIZE / 64;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
245
ciph_d[i].blocks = MAXCHUNKSIZE / 16;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
256
memset(blocks, 0, sizeof(blocks));
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
259
off = hash_d[i].blocks * 64;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
263
memcpy(blocks[i].c, ptr, off);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
264
blocks[i].c[off] = 0x80;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
269
blocks[i].d[15] = BSWAP4(len);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
271
PUTU32(blocks[i].c + 60, len);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
273
edges[i].blocks = 1;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
276
blocks[i].d[31] = BSWAP4(len);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
278
PUTU32(blocks[i].c + 124, len);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
280
edges[i].blocks = 2;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
282
edges[i].ptr = blocks[i].c;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
288
memset(blocks, 0, sizeof(blocks));
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
291
blocks[i].d[0] = BSWAP4(mctx->A[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
293
blocks[i].d[1] = BSWAP4(mctx->B[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
295
blocks[i].d[2] = BSWAP4(mctx->C[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
297
blocks[i].d[3] = BSWAP4(mctx->D[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
299
blocks[i].d[4] = BSWAP4(mctx->E[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
301
blocks[i].c[20] = 0x80;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
302
blocks[i].d[15] = BSWAP4((64 + 20) * 8);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
304
PUTU32(blocks[i].c + 0, mctx->A[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
306
PUTU32(blocks[i].c + 4, mctx->B[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
308
PUTU32(blocks[i].c + 8, mctx->C[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
310
PUTU32(blocks[i].c + 12, mctx->D[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
312
PUTU32(blocks[i].c + 16, mctx->E[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
314
blocks[i].c[20] = 0x80;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
315
PUTU32(blocks[i].c + 60, (64 + 20) * 8);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
317
edges[i].ptr = blocks[i].c;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
318
edges[i].blocks = 1;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
348
ciph_d[i].blocks = (len - processed) / 16;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
36
void aesni_cbc_sha1_enc(const void *inp, void *out, size_t blocks,
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
364
OPENSSL_cleanse(blocks, sizeof(blocks));
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
381
size_t aes_off = 0, blocks;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
398
&& (blocks = (plen - (sha_off + iv)) / SHA_CBLOCK)) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
401
aesni_cbc_sha1_enc(in, out, blocks, &ctx->ks, ctx->base.iv,
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
403
blocks *= SHA_CBLOCK;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
404
aes_off += blocks;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
405
sha_off += blocks;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
406
sctx->md.Nh += blocks >> 29;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
407
sctx->md.Nl += blocks <<= 3;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
408
if (sctx->md.Nl < (unsigned int)blocks)
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
112
int blocks;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
118
int blocks;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
139
} blocks[8];
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
150
if (RAND_bytes_ex(ctx->base.libctx, (IVs = blocks[0].c), 16 * x4, 0) <= 0)
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
182
memcpy(blocks[0].c, sctx->md.data, 8);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
183
seqnum = BSWAP8(blocks[0].q[0]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
203
blocks[i].q[0] = BSWAP8(seqnum + i);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
206
blocks[i].c[j] = ((u8 *)sctx->md.data)[j] + carry;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
207
carry = (blocks[i].c[j] - carry) >> (sizeof(carry) * 8 - 1);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
210
blocks[i].c[8] = ((u8 *)sctx->md.data)[8];
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
211
blocks[i].c[9] = ((u8 *)sctx->md.data)[9];
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
212
blocks[i].c[10] = ((u8 *)sctx->md.data)[10];
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
214
blocks[i].c[11] = (u8)(len >> 8);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
215
blocks[i].c[12] = (u8)(len);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
217
memcpy(blocks[i].c + 13, hash_d[i].ptr, 64 - 13);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
219
hash_d[i].blocks = (len - (64 - 13)) / 64;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
221
edges[i].ptr = blocks[i].c;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
222
edges[i].blocks = 1;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
240
edges[i].blocks = MAXCHUNKSIZE / 64;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
241
ciph_d[i].blocks = MAXCHUNKSIZE / 16;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
249
hash_d[i].blocks -= MAXCHUNKSIZE / 64;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
250
edges[i].blocks = MAXCHUNKSIZE / 64;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
253
ciph_d[i].blocks = MAXCHUNKSIZE / 16;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
264
memset(blocks, 0, sizeof(blocks));
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
267
off = hash_d[i].blocks * 64;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
271
memcpy(blocks[i].c, ptr, off);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
272
blocks[i].c[off] = 0x80;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
277
blocks[i].d[15] = BSWAP4(len);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
279
PUTU32(blocks[i].c + 60, len);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
281
edges[i].blocks = 1;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
284
blocks[i].d[31] = BSWAP4(len);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
286
PUTU32(blocks[i].c + 124, len);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
288
edges[i].blocks = 2;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
290
edges[i].ptr = blocks[i].c;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
296
memset(blocks, 0, sizeof(blocks));
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
299
blocks[i].d[0] = BSWAP4(mctx->A[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
301
blocks[i].d[1] = BSWAP4(mctx->B[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
303
blocks[i].d[2] = BSWAP4(mctx->C[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
305
blocks[i].d[3] = BSWAP4(mctx->D[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
307
blocks[i].d[4] = BSWAP4(mctx->E[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
309
blocks[i].d[5] = BSWAP4(mctx->F[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
311
blocks[i].d[6] = BSWAP4(mctx->G[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
313
blocks[i].d[7] = BSWAP4(mctx->H[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
315
blocks[i].c[32] = 0x80;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
316
blocks[i].d[15] = BSWAP4((64 + 32) * 8);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
318
PUTU32(blocks[i].c + 0, mctx->A[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
320
PUTU32(blocks[i].c + 4, mctx->B[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
322
PUTU32(blocks[i].c + 8, mctx->C[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
324
PUTU32(blocks[i].c + 12, mctx->D[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
326
PUTU32(blocks[i].c + 16, mctx->E[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
328
PUTU32(blocks[i].c + 20, mctx->F[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
330
PUTU32(blocks[i].c + 24, mctx->G[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
332
PUTU32(blocks[i].c + 28, mctx->H[i]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
334
blocks[i].c[32] = 0x80;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
335
PUTU32(blocks[i].c + 60, (64 + 32) * 8);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
337
edges[i].ptr = blocks[i].c;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
338
edges[i].blocks = 1;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
36
int aesni_cbc_sha256_enc(const void *inp, void *out, size_t blocks,
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
371
ciph_d[i].blocks = (len - processed) / 16;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
387
OPENSSL_cleanse(blocks, sizeof(blocks));
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
404
size_t aes_off = 0, blocks;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
435
plen > (sha_off + iv) && (blocks = (plen - (sha_off + iv)) / SHA256_CBLOCK)) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
438
(void)aesni_cbc_sha256_enc(in, out, blocks, &ctx->ks,
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
441
blocks *= SHA256_CBLOCK;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
442
aes_off += blocks;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
443
sha_off += blocks;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
444
sctx->md.Nh += blocks >> 29;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
445
sctx->md.Nl += blocks <<= 3;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
446
if (sctx->md.Nl < (unsigned int)blocks)
crypto/openssl/providers/implementations/ciphers/cipher_aes_ccm.h
32
unsigned long long blocks;
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
70
size_t blocks = inl / CHACHA_BLK_SIZE;
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
77
if (sizeof(size_t) > sizeof(unsigned int) && blocks > (1U << 28))
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
78
blocks = (1U << 28);
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
86
ctr32 += (unsigned int)blocks;
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
87
if (ctr32 < blocks) {
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
88
blocks -= ctr32;
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
91
blocks *= CHACHA_BLK_SIZE;
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
92
ChaCha20_ctr32(out, in, blocks, ctx->key.d, ctx->counter);
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
93
inl -= blocks;
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
94
in += blocks;
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
95
out += blocks;
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5.h
36
MD5_CTX *ctx, const void *inp, size_t blocks);
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
121
&& (blocks = (len - rc4_off) / MD5_CBLOCK)
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
127
&ctx->md, out + md5_off, blocks);
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
128
blocks *= MD5_CBLOCK;
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
129
rc4_off += blocks;
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
130
md5_off += blocks;
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
131
l = (ctx->md.Nl + (blocks << 3)) & 0xffffffffU;
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
135
ctx->md.Nh += blocks >> 29;
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
58
size_t md5_off = MD5_CBLOCK - ctx->md.num, blocks;
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
75
&& (blocks = (plen - md5_off) / MD5_CBLOCK)
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
81
&ctx->md, in + md5_off, blocks);
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
82
blocks *= MD5_CBLOCK;
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
83
rc4_off += blocks;
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
84
md5_off += blocks;
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
85
ctx->md.Nh += blocks >> 29;
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
86
ctx->md.Nl += blocks <<= 3;
crypto/openssl/providers/implementations/ciphers/cipher_rc4_hmac_md5_hw.c
87
if (ctx->md.Nl < (unsigned int)blocks)
crypto/openssl/providers/implementations/digests/blake2b_prov.c
154
const uint8_t *blocks,
crypto/openssl/providers/implementations/digests/blake2b_prov.c
189
m[i] = load64(blocks + i * sizeof(m[i]));
crypto/openssl/providers/implementations/digests/blake2b_prov.c
251
blocks += increment;
crypto/openssl/providers/implementations/digests/blake2s_prov.c
147
const uint8_t *blocks,
crypto/openssl/providers/implementations/digests/blake2s_prov.c
182
m[i] = load32(blocks + i * sizeof(m[i]));
crypto/openssl/providers/implementations/digests/blake2s_prov.c
242
blocks += increment;
crypto/openssl/providers/implementations/rands/drbg_ctr.c
398
unsigned int ctr32, blocks;
crypto/openssl/providers/implementations/rands/drbg_ctr.c
440
blocks = (buflen + 15) / 16;
crypto/openssl/providers/implementations/rands/drbg_ctr.c
442
ctr32 = GETU32(ctr->V + 12) + blocks;
crypto/openssl/providers/implementations/rands/drbg_ctr.c
443
if (ctr32 < blocks) {
crypto/openssl/providers/implementations/rands/drbg_ctr.c
446
blocks -= ctr32;
crypto/openssl/providers/implementations/rands/drbg_ctr.c
447
buflen = blocks * 16;
lib/virtual_oss/bt/avdtp.c
486
cfg->blocks = (3 - i);
lib/virtual_oss/bt/avdtp.c
562
cfg->blocks = BLOCKS_16;
lib/virtual_oss/bt/avdtp.c
564
cfg->blocks = BLOCKS_12;
lib/virtual_oss/bt/avdtp.c
566
cfg->blocks = BLOCKS_8;
lib/virtual_oss/bt/avdtp.c
568
cfg->blocks = BLOCKS_4;
lib/virtual_oss/bt/bt.c
73
switch (cfg->blocks) {
lib/virtual_oss/bt/bt.c
75
sbc->blocks = 4;
lib/virtual_oss/bt/bt.c
779
switch (cfg->blocks) {
lib/virtual_oss/bt/bt.c
78
sbc->blocks = 8;
lib/virtual_oss/bt/bt.c
781
sbc->blocks = 4;
lib/virtual_oss/bt/bt.c
785
sbc->blocks = 8;
lib/virtual_oss/bt/bt.c
789
sbc->blocks = 12;
lib/virtual_oss/bt/bt.c
793
sbc->blocks = 16;
lib/virtual_oss/bt/bt.c
81
sbc->blocks = 12;
lib/virtual_oss/bt/bt.c
84
sbc->blocks = 16;
lib/virtual_oss/bt/bt.h
52
uint8_t blocks;
lib/virtual_oss/bt/sbc_encode.c
113
for (block = 0; block < sbc->blocks; block++) {
lib/virtual_oss/bt/sbc_encode.c
134
for (block = 0; block != sbc->blocks; block++)
lib/virtual_oss/bt/sbc_encode.c
322
for (block = 0; block < sbc->blocks; block++) {
lib/virtual_oss/bt/sbc_encode.c
394
for (block = 0; block < sbc->blocks; block++) {
lib/virtual_oss/bt/sbc_encode.c
445
for (block = 0; block < sbc->blocks; block++) {
lib/virtual_oss/bt/sbc_encode.c
462
while (i < (sbc->blocks * sbc->bands * sbc->channels)) {
lib/virtual_oss/bt/sbc_encode.c
480
for (block = 0; block < sbc->blocks; block++) {
lib/virtual_oss/bt/sbc_encode.c
542
for (i = 0, k = 0; k != (sbc->blocks * sbc->bands); k++) {
lib/virtual_oss/bt/sbc_encode.c
560
config = (cfg->freq << 6) | (cfg->blocks << 4) |
lib/virtual_oss/bt/sbc_encode.c
594
for (block = 0; block < sbc->blocks; block++) {
lib/virtual_oss/bt/sbc_encode.c
642
config = (cfg->freq << 6) | (cfg->blocks << 4) |
lib/virtual_oss/bt/sbc_encode.c
682
for (block = 0; block < sbc->blocks; block++) {
lib/virtual_oss/bt/sbc_encode.c
698
sbc->rem_len = sbc->blocks * sbc->channels * sbc->bands;
lib/virtual_oss/bt/sbc_encode.c
81
for (block = 0; block < sbc->blocks; block++) {
lib/virtual_oss/bt/sbc_encode.c
90
for (block = 0; block < sbc->blocks; block++) {
lib/virtual_oss/bt/sbc_encode.h
78
uint8_t blocks;
libexec/tftpd/tftp-transfer.c
184
ts->blocks++;
libexec/tftpd/tftp-transfer.c
257
ts->blocks++;
libexec/tftpd/tftp-transfer.c
336
ts->blocks++;
libexec/tftpd/tftp-utils.c
304
ts->blocks = 0;
libexec/tftpd/tftp-utils.c
319
direction, ts->amount, delta, ts->blocks);
libexec/tftpd/tftp-utils.h
122
uint32_t blocks;
sbin/camcontrol/camcontrol.c
4506
reassignblocks(struct cam_device *device, uint32_t *blocks, int num_blocks)
sbin/fsck_ffs/suj.c
2185
int blocks;
sbin/fsck_ffs/suj.c
2187
blocks = btodb(bytes);
sbin/fsck_ffs/suj.c
2197
if (freecnt > blocks)
sbin/fsck_ffs/suj.c
2198
freecnt = blocks;
sbin/fsck_ffs/suj.c
2225
jblocks_add(struct jblocks *jblocks, ufs2_daddr_t daddr, int blocks)
sbin/fsck_ffs/suj.c
2234
jext->je_blocks = blocks;
sbin/fsck_ffs/suj.c
2239
jext->je_blocks += blocks;
sbin/fsck_ffs/suj.c
2255
jext->je_blocks = blocks;
sbin/fsck_ffs/suj.c
2281
int blocks;
sbin/fsck_ffs/suj.c
2327
blocks = rec->jsr_blocks;
sbin/fsck_ffs/suj.c
2328
recsize = blocks * real_dev_bsize;
sbin/fsck_ffs/suj.c
2348
for (i = 1; i < blocks; i++) {
sbin/fsck_ffs/suj.c
2383
uint64_t blocks;
sbin/fsck_ffs/suj.c
2464
blocks = ino_visit(jip, sujino, suj_add_block, 0);
sbin/fsck_ffs/suj.c
2465
if (blocks != numfrags(fs, DIP(jip, di_size))) {
sbin/fsck_ffs/suj.c
843
uint64_t blocks;
sbin/fsck_ffs/suj.c
865
blocks = fsbtodb(fs, frags);
sbin/fsck_ffs/suj.c
882
if (blocks == DIP(dp, di_blocks)) {
sbin/fsck_ffs/suj.c
888
(uintmax_t)ino, DIP(dp, di_blocks), blocks);
sbin/fsck_ffs/suj.c
889
DIP_SET(dp, di_blocks, blocks);
sbin/fsdb/fsdb.c
154
CMDFUNC(blocks); /* print blocks for active inode */
sbin/fsdb/fsdb.c
193
{ "blocks", "Print block numbers of active inode", 1, 1, FL_RO, blocks },
sbin/fsdb/fsdb.c
391
CMDFUNCSTART(blocks)
sbin/fsdb/fsdbutil.c
110
ufs2_daddr_t blocks;
sbin/fsdb/fsdbutil.c
186
blocks = DIP(dp, di_blocks);
sbin/fsdb/fsdbutil.c
189
DIP(dp, di_flags), (intmax_t)blocks, (intmax_t)gen);
sbin/nvmecontrol/telemetry.c
102
ssize_t size, blocks;
sbin/nvmecontrol/telemetry.c
157
blocks = size + 1;
sbin/nvmecontrol/telemetry.c
158
size = blocks * 512; /* The count of additional pages */
sbin/nvmecontrol/telemetry.c
171
(unsigned long long)blocks);
sbin/nvmecontrol/telemetry.c
183
(unsigned long long)blocks);
sbin/tunefs/tunefs.c
66
static int blocks;
sbin/tunefs/tunefs.c
967
resid = blocks = size / sblock.fs_bsize;
sbin/tunefs/tunefs.c
968
if (sblock.fs_cstotal.cs_nbfree < blocks) {
secure/lib/libcrypt/blowfish.c
472
blf_enc(blf_ctx *c, u_int32_t *data, u_int16_t blocks)
secure/lib/libcrypt/blowfish.c
478
for (i = 0; i < blocks; i++) {
stand/common/disk.c
100
blocks * od->sectorsize, (char *)buf, NULL));
stand/common/disk.c
177
disk_read(struct disk_devdesc *dev, void *buf, uint64_t offset, u_int blocks)
stand/common/disk.c
184
blocks * od->sectorsize, buf, NULL);
stand/common/disk.c
190
disk_write(struct disk_devdesc *dev, void *buf, uint64_t offset, u_int blocks)
stand/common/disk.c
197
blocks * od->sectorsize, buf, NULL);
stand/common/disk.c
81
ptblread(void *d, void *buf, size_t blocks, uint64_t offset)
stand/common/part.h
64
typedef int (diskread_t)(void *arg, void *buf, size_t blocks, uint64_t offset);
stand/libofw/openfirm.c
595
cell_t blocks;
stand/libofw/openfirm.c
602
return (OUT(args.blocks));
stand/libsa/zfs/zfs.c
727
zfs_diskread(void *arg, void *buf, size_t blocks, uint64_t offset)
stand/libsa/zfs/zfs.c
733
offset * ppa->secsz, buf, blocks * ppa->secsz));
stand/uboot/uboot_disk.c
117
stor_info[stor_info_no].blocks =
stand/uboot/uboot_disk.c
205
return (disk_open(dev, SI(dev).blocks * SI(dev).bsize,
stand/uboot/uboot_disk.c
290
*(uint64_t *)data = SI(dev).bsize * SI(dev).blocks;
stand/uboot/uboot_disk.c
62
off_t blocks; /* block count */
sys/arm/ti/am335x/tda19988.c
612
int blocks, i;
sys/arm/ti/am335x/tda19988.c
623
blocks = sc->sc_edid[0x7e];
sys/arm/ti/am335x/tda19988.c
624
if (blocks > 0) {
sys/arm/ti/am335x/tda19988.c
626
EDID_LENGTH*(blocks+1), M_DEVBUF, M_WAITOK);
sys/arm/ti/am335x/tda19988.c
627
sc->sc_edid_len = EDID_LENGTH*(blocks+1);
sys/arm/ti/am335x/tda19988.c
628
for (i = 0; i < blocks; i++) {
sys/crypto/aesni/aesni.c
375
u_int blocks;
sys/crypto/aesni/aesni.c
380
blocks = datalen / 64;
sys/crypto/aesni/aesni.c
381
ctx->c.b64[0] += blocks * 64 * 8;
sys/crypto/aesni/aesni.c
382
intel_sha1_step(ctx->h.b32, data + off, blocks);
sys/crypto/aesni/aesni.c
383
off += blocks * 64;
sys/crypto/aesni/aesni.c
421
u_int blocks;
sys/crypto/aesni/aesni.c
447
blocks = len / 64;
sys/crypto/aesni/aesni.c
448
intel_sha256_step(ctx->state, src, blocks);
sys/crypto/aesni/aesni.c
449
src += blocks * 64;
sys/crypto/aesni/aesni.c
450
len -= blocks * 64;
sys/crypto/aesni/aesni_wrap.c
76
__m128i blocks[8];
sys/crypto/aesni/aesni_wrap.c
87
blks->blk[6], blks->blk[7], &blocks[0]);
sys/crypto/aesni/aesni_wrap.c
90
blks->blk[j] = blocks[j] ^ ivreg;
sys/crypto/openssl/arm/ossl_aes_gcm_neon.c
35
unsigned char *out, size_t blocks, void *ks, const unsigned char *iv);
sys/crypto/openssl/ossl_aes_gcm.c
49
size_t blocks, void *ks, const unsigned char *iv);
sys/crypto/openssl/ossl_aes_gcm.c
74
size_t blocks, void *ks, const unsigned char *iv);
sys/crypto/openssl/ossl_poly1305.c
125
poly1305_blocks_f poly1305_blocks_p = ctx->func.blocks;
sys/crypto/openssl/ossl_poly1305.c
63
ctx->func.blocks = poly1305_blocks;
sys/crypto/openssl/ossl_poly1305.c
89
poly1305_blocks_f poly1305_blocks_p = ctx->func.blocks;
sys/crypto/openssl/ossl_poly1305.h
32
poly1305_blocks_f blocks;
sys/dev/bhnd/siba/sibavar.h
126
register blocks */
sys/dev/cfi/cfi_core.c
292
u_int blksz, blocks;
sys/dev/cfi/cfi_core.c
395
blocks = cfi_read_qry(sc, CFI_QRY_REGION(r)) |
sys/dev/cfi/cfi_core.c
397
sc->sc_region[r].r_blocks = blocks + 1;
sys/dev/isci/scil/sati_unmap.c
87
U32 blocks = (dsm_descriptor_count * sizeof(TRIM_PAIR))/sequence->device->logical_block_size;
sys/dev/isci/scil/sati_unmap.c
90
blocks++;
sys/dev/isci/scil/sati_unmap.c
92
return blocks;
sys/dev/liquidio/lio_main.h
51
lio_swap_8B_data(uint64_t *data, uint32_t blocks)
sys/dev/liquidio/lio_main.h
54
while (blocks) {
sys/dev/liquidio/lio_main.h
56
blocks--;
sys/dev/mmc/mmc_ioctl.h
38
u_int blocks;
sys/dev/mmc/mmcsd.c
912
len = mic->blksz * mic->blocks;
sys/dev/mmc/mmcsd.c
978
err = mmcsd_set_blockcount(sc, mic->blocks,
sys/dev/qlnx/qlnxe/ecore_cxt.c
2379
p_info->blocks[i] = p_mngr->ilt_shadow[shadow_line].p_virt;
sys/dev/qlnx/qlnxe/ecore_cxt_api.h
45
u8 *blocks[MAX_TID_BLOCKS]; /* 4K */
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
1934
block_bus = &dev_data->bus.blocks[block_id];
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2670
struct dbg_bus_block_data *block_bus = &dev_data->bus.blocks[block_id];
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4981
SET_FIELD(dev_data->bus.blocks[BLOCK_DBG].data, DBG_BUS_BLOCK_DATA_ENABLE_MASK, 0x1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5089
struct dbg_bus_block_data *block_bus = &dev_data->bus.blocks[block_id];
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5119
block_bus = &dev_data->bus.blocks[block_id];
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5143
dev_data->bus.blocks[block_id].line_num = line_num;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5213
SET_FIELD(dev_data->bus.blocks[BLOCK_DBG].data, DBG_BUS_BLOCK_DATA_ENABLE_MASK, 0x1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5311
if (!GET_FIELD(dev_data->bus.blocks[block_id].data, DBG_BUS_BLOCK_DATA_ENABLE_MASK))
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5392
block_bus = &bus->blocks[block_id];
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5549
struct dbg_bus_block_data *block_bus = &bus->blocks[block_id];
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5585
struct dbg_bus_block_data *block_bus = &bus->blocks[block_id];
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5704
struct dbg_bus_block_data *block_bus = &bus->blocks[block_id];
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5758
(GET_FIELD(bus->blocks[BLOCK_PCIE].data, DBG_BUS_BLOCK_DATA_ENABLE_MASK) ||
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5759
GET_FIELD(bus->blocks[BLOCK_PHY_PCIE].data, DBG_BUS_BLOCK_DATA_ENABLE_MASK))) {
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5831
if (!GET_FIELD(dev_data->bus.blocks[block_id].data, DBG_BUS_BLOCK_DATA_ENABLE_MASK) || block_id == BLOCK_DBG)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5835
dev_data->bus.blocks[block_id].line_num,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5836
GET_FIELD(dev_data->bus.blocks[block_id].data, DBG_BUS_BLOCK_DATA_ENABLE_MASK),
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5837
GET_FIELD(dev_data->bus.blocks[block_id].data, DBG_BUS_BLOCK_DATA_RIGHT_SHIFT),
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5838
GET_FIELD(dev_data->bus.blocks[block_id].data, DBG_BUS_BLOCK_DATA_FORCE_VALID_MASK),
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5839
GET_FIELD(dev_data->bus.blocks[block_id].data, DBG_BUS_BLOCK_DATA_FORCE_FRAME_MASK));
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5989
SET_FIELD(bus->blocks[BLOCK_PCIE].data, DBG_BUS_BLOCK_DATA_ENABLE_MASK, 0);
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
716
struct dbg_bus_block_data blocks[88] /* Debug Bus data for each block */;
sys/dev/sound/pci/emu10k1.c
1389
SLIST_INSERT_HEAD(&mem->blocks, blk, link);
sys/dev/sound/pci/emu10k1.c
1401
SLIST_FOREACH(i, &mem->blocks, link) {
sys/dev/sound/pci/emu10k1.c
1407
SLIST_REMOVE(&mem->blocks, blk, emu_memblk, link);
sys/dev/sound/pci/emu10k1.c
1425
SLIST_FOREACH(i, &mem->blocks, link) {
sys/dev/sound/pci/emu10k1.c
174
SLIST_HEAD(, emu_memblk) blocks;
sys/dev/sound/pci/emu10k1.c
1883
SLIST_INIT(&sc->mem.blocks);
sys/dev/sound/pci/emu10k1.c
2026
if (!SLIST_EMPTY(&sc->mem.blocks))
sys/dev/sound/pci/emu10kx.c
1139
SLIST_INSERT_HEAD(&mem->blocks, blk, link);
sys/dev/sound/pci/emu10kx.c
1150
SLIST_FOREACH(i, &mem->blocks, link) {
sys/dev/sound/pci/emu10kx.c
1156
SLIST_REMOVE(&mem->blocks, blk, emu_memblk, link);
sys/dev/sound/pci/emu10kx.c
1173
SLIST_FOREACH(i, &mem->blocks, link) {
sys/dev/sound/pci/emu10kx.c
2706
SLIST_INIT(&sc->mem.blocks);
sys/dev/sound/pci/emu10kx.c
288
SLIST_HEAD(, emu_memblk) blocks;
sys/dev/sound/pci/emu10kx.c
2921
if (!SLIST_EMPTY(&sc->mem.blocks))
sys/dev/sound/pci/emu10kx.c
2924
SLIST_FOREACH(blk, &sc->mem.blocks, link)
sys/dev/sound/pcm/channel.c
677
c->blocks = 0;
sys/dev/sound/pcm/channel.h
99
u_int64_t blocks;
sys/dev/sound/pcm/dsp.c
1359
a->blocks = sndbuf_getblocks(bs) - rdch->blocks;
sys/dev/sound/pcm/dsp.c
1361
rdch->blocks = sndbuf_getblocks(bs);
sys/dev/sound/pcm/dsp.c
1376
a->blocks = sndbuf_getblocks(bs) - wrch->blocks;
sys/dev/sound/pcm/dsp.c
1378
wrch->blocks = sndbuf_getblocks(bs);
sys/dev/usb/usb_msctest.c
1056
uint32_t lba, uint32_t blocks, void *buffer)
sys/dev/usb/usb_msctest.c
1069
cmd[7] = blocks >> 8;
sys/dev/usb/usb_msctest.c
1070
cmd[8] = blocks;
sys/dev/usb/usb_msctest.c
1078
blocks * SCSI_FIXED_BLOCK_SIZE, cmd, 10, USB_MS_HZ);
sys/dev/usb/usb_msctest.c
1087
uint32_t lba, uint32_t blocks, void *buffer)
sys/dev/usb/usb_msctest.c
1100
cmd[7] = blocks >> 8;
sys/dev/usb/usb_msctest.c
1101
cmd[8] = blocks;
sys/dev/usb/usb_msctest.c
1109
blocks * SCSI_FIXED_BLOCK_SIZE, cmd, 10, USB_MS_HZ);
sys/dev/usb/usb_msctest.h
50
uint8_t iface_index, uint32_t lba, uint32_t blocks,
sys/dev/usb/usb_msctest.h
53
uint8_t iface_index, uint32_t lba, uint32_t blocks,
sys/fs/fuse/fuse_internal.c
348
vp_cache_at->va_bytes = attr->blocks * S_BLKSIZE;
sys/fs/fuse/fuse_kernel.h
237
uint64_t blocks;
sys/fs/fuse/fuse_kernel.h
254
uint64_t blocks;
sys/fs/fuse/fuse_vfsops.c
690
sbp->f_blocks = fsfo->st.blocks;
sys/fs/p9fs/p9_client.c
1105
&stat->type, &stat->bsize, &stat->blocks, &stat->bfree,
sys/fs/p9fs/p9_client.c
1116
(uintmax_t)stat->bsize, (uintmax_t)stat->blocks,
sys/fs/p9fs/p9_protocol.h
171
uint64_t blocks; /* total data blocks in file system */
sys/fs/p9fs/p9fs.h
71
uint64_t blocks; /* number of 512B blocks allocated */
sys/fs/p9fs/p9fs_vfsops.c
577
buf->f_blocks = statfs.blocks;
sys/fs/p9fs/p9fs_vnops.c
1000
inode->blocks = stat->st_blocks;
sys/fs/p9fs/p9fs_vnops.c
919
vap->va_bytes = inode->blocks * P9PROTO_TGETATTR_BLK;
sys/geom/part/g_part.c
220
g_part_geometry_heads(off_t blocks, u_int sectors, off_t *bestchs,
sys/geom/part/g_part.c
232
cylinders = blocks / heads / sectors;
sys/geom/part/g_part.c
247
off_t blocks)
sys/geom/part/g_part.c
262
g_part_geometry_heads(blocks, sectors, &chs, &heads);
sys/kern/subr_blist.c
205
blist_create(daddr_t blocks, int flags)
sys/kern/subr_blist.c
210
KASSERT(blocks > 0, ("invalid block count"));
sys/kern/subr_blist.c
216
for (radix = 1; (blocks - 1) / BLIST_RADIX / radix > 0;
sys/kern/subr_blist.c
218
nodes += 1 + (blocks - 1) / BLIST_RADIX / radix;
sys/kern/subr_blist.c
224
if (blocks % BLIST_RADIX == 0)
sys/kern/subr_blist.c
232
bl->bl_blocks = blocks;
sys/net/route/nhop_utils.c
120
if (bi->blocks < new_blocks) {
sys/net/route/nhop_utils.c
122
if (bi->blocks > 0)
sys/net/route/nhop_utils.c
123
memcpy(new_idx, bi->idx, _BLOCKS_TO_SZ(bi->blocks));
sys/net/route/nhop_utils.c
127
for (int i = new_blocks; i < bi->blocks; i++) {
sys/net/route/nhop_utils.c
142
bh->blocks = _ITEMS_TO_BLOCKS(new_items);
sys/net/route/nhop_utils.c
161
for (i = off; i < bi->blocks; i++, mask++) {
sys/net/route/nhop_utils.c
196
if (i >= bi->blocks)
sys/net/route/nhop_utils.c
56
bh->blocks = _ITEMS_TO_BLOCKS(num_items);
sys/net/route/nhop_utils.c
63
if ((bh->items_count * 2 > _BLOCKS_TO_ITEMS(bh->blocks)) && bh->items_count < 65536)
sys/net/route/nhop_utils.c
64
return (_BLOCKS_TO_ITEMS(bh->blocks) * 2);
sys/net/route/nhop_utils.h
168
uint16_t blocks; /* number of 4/8-byte blocks in the index */
sys/netpfil/ipfw/ip_fw_sockopt.c
3335
ipfw_objhash_bitmap_merge(struct namedobj_instance *ni, void **idx, int *blocks)
sys/netpfil/ipfw/ip_fw_sockopt.c
3344
new_blocks = *blocks;
sys/netpfil/ipfw/ip_fw_sockopt.c
3356
ipfw_objhash_bitmap_swap(struct namedobj_instance *ni, void **idx, int *blocks)
sys/netpfil/ipfw/ip_fw_sockopt.c
3365
ni->max_blocks = *blocks;
sys/netpfil/ipfw/ip_fw_sockopt.c
3369
*blocks = old_blocks;
sys/netpfil/ipfw/ip_fw_sockopt.c
3373
ipfw_objhash_bitmap_free(void *idx, int blocks)
sys/powerpc/ps3/ps3-hvcall.h
134
int lv1_storage_send_device_command(uint64_t dev, uint64_t cmd_id, uint64_t cmd_block, uint64_t cmd_size, uint64_t data_buf, uint64_t blocks, uint64_t *dma_tag);
sys/sys/blist.h
94
blist_t blist_create(daddr_t blocks, int flags);
sys/sys/cdrio.h
89
u_int32_t blocks;
sys/sys/cdrio.h
98
u_int32_t blocks;
sys/sys/soundcard.h
931
int blocks; /* # of fragment transitions since last time */
sys/ufs/ffs/ffs_softdep.c
2792
int blocks;
sys/ufs/ffs/ffs_softdep.c
2794
blocks = bytes / DEV_BSIZE;
sys/ufs/ffs/ffs_softdep.c
2804
if (freecnt > blocks)
sys/ufs/ffs/ffs_softdep.c
2805
freecnt = blocks;
sys/ufs/ffs/ffs_softdep.c
2839
int blocks)
sys/ufs/ffs/ffs_softdep.c
2843
jblocks->jb_blocks += blocks;
sys/ufs/ffs/ffs_softdep.c
2844
jblocks->jb_free += blocks;
sys/ufs/ffs/ffs_softdep.c
2849
jext->je_blocks = blocks;
sys/ufs/ffs/ffs_softdep.c
2854
jext->je_blocks += blocks;
sys/ufs/ffs/ffs_softdep.c
2869
jext->je_blocks = blocks;
sys/ufs/ffs/ffs_softdep.c
8203
int blocks)
sys/ufs/ffs/ffs_softdep.c
8210
freeblks->fb_chkcnt += blocks;
sys/ufs/ffs/ffs_softdep.c
8212
if (remain < blocks)
sys/ufs/ffs/ffs_softdep.c
8213
blocks = remain;
sys/ufs/ffs/ffs_softdep.c
8215
fs->fs_pendingblocks -= blocks;
tests/sys/fs/fusefs/getattr.cc
218
out.body.attr.attr.blocks = 2;
tests/sys/fs/fusefs/getattr.cc
336
out.body.attr.attr.blocks = 2;
tests/sys/fs/fusefs/lookup.cc
82
out.body.entry.attr.blocks = 2;
tests/sys/fs/fusefs/mockfs.hh
94
uint64_t blocks;
tests/sys/fs/fusefs/statfs.cc
144
out.body.statfs.st.blocks = 1000;
tools/test/stress2/lib/resources.c
215
int64_t blocks, inodes;
tools/test/stress2/lib/resources.c
226
sscanf(buf, "%jd %jd", &blocks, &inodes);
tools/test/stress2/lib/resources.c
230
getprogname(), blks/1024, inos, blocks/1024,
tools/test/stress2/lib/resources.c
232
blocks -= blks;
tools/test/stress2/lib/resources.c
235
snprintf(buf, sizeof(buf), "%jd %jd", blocks, inodes);
tools/test/stress2/lib/resources.c
236
if (blocks < 0 || inodes < 0)
usr.sbin/edquota/edquota.c
490
fmthumanvalblks(int64_t blocks)
usr.sbin/edquota/edquota.c
495
humanize_number(numbuf, blocks < 0 ? 7 : 6,
usr.sbin/edquota/edquota.c
496
dbtob(blocks), "", HN_AUTOSCALE, HN_NOSPACE);
usr.sbin/edquota/edquota.c
499
snprintf(numbuf, sizeof(numbuf), "%juk", (uintmax_t)dbtokb(blocks));
usr.sbin/makefs/ffs.c
598
size_t blocks, fs_nindir, overhead;
usr.sbin/makefs/ffs.c
601
blocks = howmany(file_len, ffs_opts->bsize);
usr.sbin/makefs/ffs.c
603
if (blocks <= UFS_NDADDR) {
usr.sbin/makefs/ffs.c
635
blocks = howmany(file_len - UFS_NDADDR * (size_t)ffs_opts->bsize,
usr.sbin/makefs/ffs.c
641
while (blocks > 0 && indir_level < 3) {
usr.sbin/makefs/ffs.c
643
blocks = howmany(blocks, fs_nindir) - 1;
usr.sbin/makefs/ffs.c
644
fsopts->size += ffs_opts->bsize * blocks;
usr.sbin/makefs/ffs.c
645
overhead += blocks + 1;
usr.sbin/makefs/ffs.c
649
assert(blocks == 0);
usr.sbin/repquota/repquota.c
251
prthumanval(int64_t blocks)
usr.sbin/repquota/repquota.c
257
printf(" %6ju", (uintmax_t)dbtokb(blocks));
usr.sbin/repquota/repquota.c
261
if (blocks != 0)
usr.sbin/repquota/repquota.c
263
humanize_number(buf, sizeof(buf) - (blocks < 0 ? 0 : 1),
usr.sbin/repquota/repquota.c
264
dbtob(blocks), "", HN_AUTOSCALE, flags);
usr.sbin/virtual_oss/virtual_oss/main.c
1436
data.oss_count_info.blocks = bytes / pvc->buffer_size;
usr.sbin/virtual_oss/virtual_oss/main.c
1446
data.oss_count_info.blocks = bytes / pvc->buffer_size;
usr.sbin/virtual_oss/virtual_oss/virtual_oss.c
234
int blocks;
usr.sbin/virtual_oss/virtual_oss/virtual_oss.c
863
tx_be->delay(tx_be, &blocks);
usr.sbin/virtual_oss/virtual_oss/virtual_oss.c
870
if (blocks == 0) {
usr.sbin/virtual_oss/virtual_oss/virtual_oss.c
871
blocks = 2; /* buffer is empty */
usr.sbin/virtual_oss/virtual_oss/virtual_oss.c
873
} else if (blocks >= (3 * buffer_dsp_tx_size_ref)) {
usr.sbin/virtual_oss/virtual_oss/virtual_oss.c
874
blocks = 0; /* too much data */
usr.sbin/virtual_oss/virtual_oss/virtual_oss.c
877
blocks = 1; /* normal */
usr.sbin/virtual_oss/virtual_oss/virtual_oss.c
881
while (blocks--) {