Home
last modified time | relevance | path

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

/openssl-master/engines/asm/
A De_padlock-x86_64.pl47 $chunk="%rbx";
319 cmp $chunk,$len
322 mov $len,$chunk
343 cmp $chunk,$len
354 and %rax,$chunk
366 mov $chunk,$len
367 mov $chunk,%r11
374 sub $chunk,$out
375 mov $chunk,$len
399 mov %r11,$chunk
[all …]
A De_padlock-x86.pl56 $chunk="ebx";
222 &cmp ($len,$chunk);
225 &mov ($chunk,$len);
236 &cmp ($len,$chunk);
256 &mov ($len,$chunk);
270 &cmp ($out,$chunk);
276 &mov ($len,$chunk);
284 &sub ($out,$chunk);
285 &mov ($len,$chunk);
307 &cmp ($len,$chunk);
[all …]
/openssl-master/providers/implementations/ciphers/
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()
141 if (inl < chunk) in cipher_hw_des_cfb1_cipher()
142 chunk = inl; in cipher_hw_des_cfb1_cipher()
152 inl -= chunk; in cipher_hw_des_cfb1_cipher()
153 in += chunk; in cipher_hw_des_cfb1_cipher()
[all …]
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-master/engines/
A De_padlock.c325 size_t chunk; in padlock_cfb_cipher() local
335 ivp[chunk] = *(out_arg++) = *(in_arg++) ^ ivp[chunk]; in padlock_cfb_cipher()
336 chunk++, nbytes--; in padlock_cfb_cipher()
355 nbytes -= chunk; in padlock_cfb_cipher()
361 out_arg += chunk; in padlock_cfb_cipher()
362 in_arg += chunk; in padlock_cfb_cipher()
396 size_t chunk; in padlock_ofb_cipher() local
409 chunk++, nbytes--; in padlock_ofb_cipher()
423 nbytes -= chunk; in padlock_ofb_cipher()
429 out_arg += chunk; in padlock_ofb_cipher()
[all …]
/openssl-master/apps/
A Drand.c118 int chunk; in rand_main() local
120 chunk = num; in rand_main()
121 if (chunk > (int)sizeof(buf)) in rand_main()
122 chunk = sizeof(buf); in rand_main()
123 r = RAND_bytes(buf, chunk); in rand_main()
127 if (BIO_write(out, buf, chunk) != chunk) in rand_main()
130 for (i = 0; i < chunk; i++) in rand_main()
134 num -= chunk; in rand_main()
/openssl-master/crypto/md2/
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-master/crypto/md4/
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-master/crypto/md5/
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-master/crypto/evp/
A De_des.c151 size_t n, chunk = EVP_MAXCHUNK / 8; in des_cfb1_cipher() local
154 if (inl < chunk) in des_cfb1_cipher()
155 chunk = inl; in des_cfb1_cipher()
157 while (inl && inl >= chunk) { in des_cfb1_cipher()
158 for (n = 0; n < chunk * 8; ++n) { in des_cfb1_cipher()
167 inl -= chunk; in des_cfb1_cipher()
168 in += chunk; in des_cfb1_cipher()
169 out += chunk; in des_cfb1_cipher()
170 if (inl < chunk) in des_cfb1_cipher()
171 chunk = inl; in des_cfb1_cipher()
A Devp_rand.c546 size_t chunk, max_request = 0; in evp_rand_generate_locked() local
556 for (; outlen > 0; outlen -= chunk, out += chunk) { in evp_rand_generate_locked()
557 chunk = outlen > max_request ? max_request : outlen; in evp_rand_generate_locked()
558 if (!ctx->meth->generate(ctx->algctx, out, chunk, strength, in evp_rand_generate_locked()
/openssl-master/crypto/bio/
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-master/crypto/asn1/
A Da_d2i_fp.c206 size_t chunk = want > chunk_max ? chunk_max : want; in asn1_d2i_read_bio() local
208 if (!BUF_MEM_grow_clean(b, len + chunk)) { in asn1_d2i_read_bio()
212 want -= chunk; in asn1_d2i_read_bio()
213 while (chunk > 0) { in asn1_d2i_read_bio()
214 i = BIO_read(in, &(b->data[len]), chunk); in asn1_d2i_read_bio()
224 chunk -= i; in asn1_d2i_read_bio()
/openssl-master/providers/implementations/include/prov/
A Dciphercommon.h293 size_t chunk = MAXCHUNK; \
297 if (len < chunk) \
298 chunk = len; \
299 while (len > 0 && len >= chunk) { \
300 FUNC_PREFIX##_encrypt(in, out, (long)chunk, key, ctx->iv, &num, \
302 len -= chunk; \
303 in += chunk; \
304 out += chunk; \
305 if (len < chunk) \
306 chunk = len; \
/openssl-master/providers/implementations/kdfs/
A Dtls1_prf.c290 size_t chunk; in tls1_prf_P_hash() local
298 chunk = EVP_MAC_CTX_get_mac_size(ctx_init); in tls1_prf_P_hash()
299 if (chunk == 0) in tls1_prf_P_hash()
322 if (olen > chunk) { in tls1_prf_P_hash()
329 if (olen <= chunk) { in tls1_prf_P_hash()
340 out += chunk; in tls1_prf_P_hash()
341 olen -= chunk; in tls1_prf_P_hash()
/openssl-master/crypto/whrlpool/
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-master/crypto/
A Dmem_sec.c580 char *chunk = NULL; in sh_find_my_buddy() local
586 chunk = sh.arena + ((bit & ((ONE << list) - 1)) * (sh.arena_size >> list)); in sh_find_my_buddy()
588 return chunk; in sh_find_my_buddy()
595 char *chunk; in sh_malloc() local
643 chunk = sh.freelist[list]; in sh_malloc()
644 OPENSSL_assert(sh_testbit(chunk, list, sh.bittable)); in sh_malloc()
645 sh_setbit(chunk, list, sh.bitmalloc); in sh_malloc()
646 sh_remove_from_list(chunk); in sh_malloc()
648 OPENSSL_assert(WITHIN_ARENA(chunk)); in sh_malloc()
651 memset(chunk, 0, sizeof(SH_LIST)); in sh_malloc()
[all …]
/openssl-master/include/crypto/
A Devp.h407 size_t chunk = EVP_MAXCHUNK;\
408 if (cbits == 1) chunk >>= 3;\
409 if (inl < chunk) chunk = inl;\
410 while (inl && inl >= chunk)\
416 ? chunk*8 : chunk), \
420 inl -= chunk;\
421 in += chunk;\
422 out += chunk;\
423 if (inl < chunk) chunk = inl;\
/openssl-master/doc/man3/
A DBF_encrypt.pod100 each 32-bit chunk in host-byte order, which is little-endian on little-endian
A DSSL_CTX_set_mode.pod44 report success once the complete chunk was written. Once SSL_write_ex() or
A DEVP_EncodeInit.pod101 whitespace, newline or carriage return characters are ignored. Any partial chunk
/openssl-master/
A DCHANGES.md4191 must supply all data in one chunk (i.e. no update, final) and the
12339 that the digest can only process a single chunk of data
12342 is only going to provide a single chunk of data, and hence the
17218 with each memory chunk allocated; this is occasionally more helpful

Completed in 51 milliseconds