Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 25 of 29) sorted by relevance

12

/openssl/engines/asm/
H A De_padlock-x86_64.pl47 $chunk="%rbx";
321 cmp $chunk,$len
324 mov $len,$chunk
345 cmp $chunk,$len
356 and %rax,$chunk
368 mov $chunk,$len
369 mov $chunk,%r11
376 sub $chunk,$out
377 mov $chunk,$len
401 mov %r11,$chunk
[all …]
H A De_padlock-x86.pl56 $chunk="ebx";
224 &cmp ($len,$chunk);
227 &mov ($chunk,$len);
238 &cmp ($len,$chunk);
258 &mov ($len,$chunk);
272 &cmp ($out,$chunk);
278 &mov ($len,$chunk);
286 &sub ($out,$chunk);
287 &mov ($len,$chunk);
309 &cmp ($len,$chunk);
[all …]
/openssl/providers/implementations/ciphers/
H A Dcipher_des_hw.c115 if (len < chunk) in cipher_hw_des_cfb64_cipher()
116 chunk = len; in cipher_hw_des_cfb64_cipher()
120 len -= chunk; in cipher_hw_des_cfb64_cipher()
121 in += chunk; in cipher_hw_des_cfb64_cipher()
122 out += chunk; in cipher_hw_des_cfb64_cipher()
123 if (len < chunk) in cipher_hw_des_cfb64_cipher()
142 if (inl < chunk) in cipher_hw_des_cfb1_cipher()
143 chunk = inl; in cipher_hw_des_cfb1_cipher()
153 inl -= chunk; in cipher_hw_des_cfb1_cipher()
154 in += chunk; in cipher_hw_des_cfb1_cipher()
[all …]
H A Dciphercommon_hw.c151 if (inl < chunk) in ossl_cipher_hw_chunked_cfb8()
152 chunk = inl; in ossl_cipher_hw_chunked_cfb8()
155 inl -= chunk; in ossl_cipher_hw_chunked_cfb8()
156 in += chunk; in ossl_cipher_hw_chunked_cfb8()
157 out += chunk; in ossl_cipher_hw_chunked_cfb8()
158 if (inl < chunk) in ossl_cipher_hw_chunked_cfb8()
169 if (inl < chunk) in ossl_cipher_hw_chunked_cfb128()
170 chunk = inl; in ossl_cipher_hw_chunked_cfb128()
173 inl -= chunk; in ossl_cipher_hw_chunked_cfb128()
174 in += chunk; in ossl_cipher_hw_chunked_cfb128()
[all …]
/openssl/engines/
H A De_padlock.c338 size_t chunk; in padlock_cfb_cipher() local
348 ivp[chunk] = *(out_arg++) = *(in_arg++) ^ ivp[chunk]; in padlock_cfb_cipher()
349 chunk++, nbytes--; in padlock_cfb_cipher()
368 nbytes -= chunk; in padlock_cfb_cipher()
374 out_arg += chunk; in padlock_cfb_cipher()
375 in_arg += chunk; in padlock_cfb_cipher()
409 size_t chunk; in padlock_ofb_cipher() local
422 chunk++, nbytes--; in padlock_ofb_cipher()
436 nbytes -= chunk; in padlock_ofb_cipher()
442 out_arg += chunk; in padlock_ofb_cipher()
[all …]
/openssl/crypto/md2/
H A Dmd2_one.c39 unsigned long chunk; in MD2() local
42 chunk = (n > sizeof(temp)) ? sizeof(temp) : n; in MD2()
43 ebcdic2ascii(temp, d, chunk); in MD2()
44 MD2_Update(&c, temp, chunk); in MD2()
45 n -= chunk; in MD2()
46 d += chunk; in MD2()
/openssl/crypto/md5/
H A Dmd5_one.c39 unsigned long chunk; in MD5() local
42 chunk = (n > sizeof(temp)) ? sizeof(temp) : n; in MD5()
43 ebcdic2ascii(temp, d, chunk); in MD5()
44 MD5_Update(&c, temp, chunk); in MD5()
45 n -= chunk; in MD5()
46 d += chunk; in MD5()
/openssl/crypto/md4/
H A Dmd4_one.c39 unsigned long chunk; in MD4() local
42 chunk = (n > sizeof(temp)) ? sizeof(temp) : n; in MD4()
43 ebcdic2ascii(temp, d, chunk); in MD4()
44 MD4_Update(&c, temp, chunk); in MD4()
45 n -= chunk; in MD4()
46 d += chunk; in MD4()
/openssl/crypto/evp/
H A De_des.c151 size_t n, chunk = EVP_MAXCHUNK / 8; in des_cfb1_cipher() local
155 if (inl < chunk) in des_cfb1_cipher()
156 chunk = inl; in des_cfb1_cipher()
158 while (inl && inl >= chunk) { in des_cfb1_cipher()
159 for (n = 0; n < chunk * 8; ++n) { in des_cfb1_cipher()
168 inl -= chunk; in des_cfb1_cipher()
169 in += chunk; in des_cfb1_cipher()
170 out += chunk; in des_cfb1_cipher()
171 if (inl < chunk) in des_cfb1_cipher()
172 chunk = inl; in des_cfb1_cipher()
H A Devp_rand.c558 size_t chunk, max_request = 0; in evp_rand_generate_locked() local
568 for (; outlen > 0; outlen -= chunk, out += chunk) { in evp_rand_generate_locked()
569 chunk = outlen > max_request ? max_request : outlen; in evp_rand_generate_locked()
570 if (!ctx->meth->generate(ctx->algctx, out, chunk, strength, in evp_rand_generate_locked()
/openssl/apps/
H A Drand.c199 int chunk; in rand_main() local
201 chunk = scaled_num > buflen ? (int)buflen : (int)scaled_num; in rand_main()
202 r = RAND_bytes(buf, chunk); in rand_main()
206 if (BIO_write(out, buf, chunk) != chunk) in rand_main()
209 for (i = 0; i < chunk; i++) in rand_main()
213 scaled_num -= chunk; in rand_main()
/openssl/crypto/bio/
H A Dbss_bio.c158 size_t chunk; in bio_read() local
162 chunk = rest; in bio_read()
170 peer_b->len -= chunk; in bio_read()
176 buf += chunk; in bio_read()
179 assert(chunk == rest); in bio_read()
182 rest -= chunk; in bio_read()
309 size_t chunk; in bio_write() local
319 chunk = rest; in bio_write()
326 b->len += chunk; in bio_write()
330 rest -= chunk; in bio_write()
[all …]
/openssl/ssl/quic/
H A Dquic_txp.c2049 QUIC_TXPIM_CHUNK chunk = {0}; in txp_generate_crypto_frames() local
2140 chunk->num_stream_iovec = OSSL_NELEM(chunk->iov); in txp_plan_stream_chunk()
2145 if (!chunk->valid) in txp_plan_stream_chunk()
2148 if (!ossl_assert(chunk->shdr.len > 0 || chunk->shdr.is_fin)) in txp_plan_stream_chunk()
2152 chunk->orig_len = chunk->shdr.len; in txp_plan_stream_chunk()
2159 if (chunk->shdr.len > 0 && chunk->shdr.offset + chunk->shdr.len > fc_limit) { in txp_plan_stream_chunk()
2160 chunk->shdr.len = (fc_limit <= chunk->shdr.offset) in txp_plan_stream_chunk()
2162 chunk->shdr.is_fin = 0; in txp_plan_stream_chunk()
2165 if (chunk->shdr.len == 0 && !chunk->shdr.is_fin) { in txp_plan_stream_chunk()
2171 chunk->valid = 0; in txp_plan_stream_chunk()
[all …]
H A Dquic_txpim.c159 const QUIC_TXPIM_CHUNK *chunk) in ossl_quic_txpim_pkt_append_chunk() argument
181 ex->chunks[ex->num_chunks++] = *chunk; in ossl_quic_txpim_pkt_append_chunk()
/openssl/crypto/asn1/
H A Da_d2i_fp.c209 size_t chunk = want > chunk_max ? chunk_max : want; in asn1_d2i_read_bio() local
211 if (!BUF_MEM_grow_clean(b, len + chunk)) { in asn1_d2i_read_bio()
215 want -= chunk; in asn1_d2i_read_bio()
216 while (chunk > 0) { in asn1_d2i_read_bio()
217 i = BIO_read(in, &(b->data[len]), chunk); in asn1_d2i_read_bio()
227 chunk -= i; in asn1_d2i_read_bio()
/openssl/providers/implementations/include/prov/
H A Dciphercommon.h299 size_t chunk = MAXCHUNK; \
303 if (len < chunk) \
304 chunk = len; \
305 while (len > 0 && len >= chunk) { \
306 FUNC_PREFIX##_encrypt(in, out, (long)chunk, key, ctx->iv, &num, \
308 len -= chunk; \
309 in += chunk; \
310 out += chunk; \
311 if (len < chunk) \
312 chunk = len; \
/openssl/crypto/whrlpool/
H A Dwp_dgst.c78 size_t chunk = ((size_t)1) << (sizeof(size_t) * 8 - 4); in WHIRLPOOL_Update() local
81 while (bytes >= chunk) { in WHIRLPOOL_Update()
82 WHIRLPOOL_BitUpdate(c, inp, chunk * 8); in WHIRLPOOL_Update()
83 bytes -= chunk; in WHIRLPOOL_Update()
84 inp += chunk; in WHIRLPOOL_Update()
/openssl/crypto/
H A Dmem_sec.c621 char *chunk = NULL; in sh_find_my_buddy() local
627 chunk = sh.arena + ((bit & ((ONE << list) - 1)) * (sh.arena_size >> list)); in sh_find_my_buddy()
629 return chunk; in sh_find_my_buddy()
636 char *chunk; in sh_malloc() local
684 chunk = sh.freelist[list]; in sh_malloc()
685 OPENSSL_assert(sh_testbit(chunk, list, sh.bittable)); in sh_malloc()
686 sh_setbit(chunk, list, sh.bitmalloc); in sh_malloc()
687 sh_remove_from_list(chunk); in sh_malloc()
689 OPENSSL_assert(WITHIN_ARENA(chunk)); in sh_malloc()
692 memset(chunk, 0, sizeof(SH_LIST)); in sh_malloc()
[all …]
/openssl/providers/implementations/kdfs/
H A Dtls1_prf.c468 size_t chunk; in tls1_prf_P_hash() local
476 chunk = EVP_MAC_CTX_get_mac_size(ctx_init); in tls1_prf_P_hash()
477 if (chunk == 0) in tls1_prf_P_hash()
500 if (olen > chunk) { in tls1_prf_P_hash()
507 if (olen <= chunk) { in tls1_prf_P_hash()
518 out += chunk; in tls1_prf_P_hash()
519 olen -= chunk; in tls1_prf_P_hash()
/openssl/include/crypto/
H A Devp.h414 size_t chunk = EVP_MAXCHUNK;\
415 if (cbits == 1) chunk >>= 3;\
416 if (inl < chunk) chunk = inl;\
417 while (inl && inl >= chunk) {\
422 ? chunk*8 : chunk), \
426 inl -= chunk;\
427 in += chunk;\
428 out += chunk;\
429 if (inl < chunk) chunk = inl;\
/openssl/test/
H A Dquic_fifd_test.c114 QUIC_TXPIM_CHUNK chunk = {42, 0, 11, 0}; in test_generic() local
156 chunk.has_fin = hdr.is_fin; in test_generic()
157 chunk.stream_id = 42 + i; in test_generic()
158 if (!TEST_true(ossl_quic_txpim_pkt_append_chunk(pkt, &chunk))) in test_generic()
/openssl/include/internal/
H A Dquic_txpim.h104 const QUIC_TXPIM_CHUNK *chunk);
/openssl/doc/designs/quic-design/
H A Dquic-fifm.md371 /* Clears the chunk list of the packet, removing all entries. */
374 /* Appends a chunk to the packet. The structure is copied. */
376 const QUIC_TXPIM_CHUNK *chunk);
383 * Returns a pointer to an array of stream chunk information structures for the
/openssl/doc/man3/
H A DEVP_EncodeInit.pod106 Residual input shorter than the internal chunk size will be buffered in B<ctx>
109 If the final chunk length is a multiple of 4, it is decoded immediately and
/openssl/doc/designs/ddd/
H A DWINDOWS.md33 substantial chunk of their code (e.g. libuv, nanomsg). It turns out to be easier

Completed in 51 milliseconds

12