/openssl/engines/asm/ |
H A D | e_padlock-x86_64.pl | 47 $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 …]
|
H A D | e_padlock-x86.pl | 56 $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/providers/implementations/ciphers/ |
H A D | cipher_des_hw.c | 115 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 D | ciphercommon_hw.c | 151 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 D | e_padlock.c | 325 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/crypto/md2/ |
H A D | md2_one.c | 39 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 D | md5_one.c | 39 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 D | md4_one.c | 39 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/apps/ |
H A D | rand.c | 120 long chunk; in rand_main() local 122 chunk = (num > buflen) ? buflen : num; 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/crypto/evp/ |
H A D | e_des.c | 151 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 D | evp_rand.c | 546 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/crypto/bio/ |
H A D | bss_bio.c | 158 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/crypto/asn1/ |
H A D | a_d2i_fp.c | 206 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/providers/implementations/include/prov/ |
H A D | ciphercommon.h | 298 size_t chunk = MAXCHUNK; \ 302 if (len < chunk) \ 303 chunk = len; \ 304 while (len > 0 && len >= chunk) { \ 305 FUNC_PREFIX##_encrypt(in, out, (long)chunk, key, ctx->iv, &num, \ 307 len -= chunk; \ 308 in += chunk; \ 309 out += chunk; \ 310 if (len < chunk) \ 311 chunk = len; \
|
/openssl/crypto/whrlpool/ |
H A D | wp_dgst.c | 78 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/providers/implementations/kdfs/ |
H A D | tls1_prf.c | 319 size_t chunk; in tls1_prf_P_hash() local 327 chunk = EVP_MAC_CTX_get_mac_size(ctx_init); in tls1_prf_P_hash() 328 if (chunk == 0) in tls1_prf_P_hash() 351 if (olen > chunk) { in tls1_prf_P_hash() 358 if (olen <= chunk) { in tls1_prf_P_hash() 369 out += chunk; in tls1_prf_P_hash() 370 olen -= chunk; in tls1_prf_P_hash()
|
/openssl/crypto/ |
H A D | mem_sec.c | 594 char *chunk = NULL; in sh_find_my_buddy() local 600 chunk = sh.arena + ((bit & ((ONE << list) - 1)) * (sh.arena_size >> list)); in sh_find_my_buddy() 602 return chunk; in sh_find_my_buddy() 609 char *chunk; in sh_malloc() local 657 chunk = sh.freelist[list]; in sh_malloc() 658 OPENSSL_assert(sh_testbit(chunk, list, sh.bittable)); in sh_malloc() 659 sh_setbit(chunk, list, sh.bitmalloc); in sh_malloc() 660 sh_remove_from_list(chunk); in sh_malloc() 662 OPENSSL_assert(WITHIN_ARENA(chunk)); in sh_malloc() 665 memset(chunk, 0, sizeof(SH_LIST)); in sh_malloc() [all …]
|
/openssl/include/crypto/ |
H A D | evp.h | 407 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/doc/designs/ddd/ |
H A D | WINDOWS.md | 33 substantial chunk of their code (e.g. libuv, nanomsg). It turns out to be easier
|
/openssl/doc/man3/ |
H A D | SSL_CTX_set_mode.pod | 44 report success once the complete chunk was written. Once SSL_write_ex() or
|
H A D | BF_encrypt.pod | 100 each 32-bit chunk in host-byte order, which is little-endian on little-endian
|
H A D | EVP_EncodeInit.pod | 101 whitespace, newline or carriage return characters are ignored. Any partial chunk
|
/openssl/ |
H A D | CHANGES.md | 4588 must supply all data in one chunk (i.e. no update, final) and the 12736 that the digest can only process a single chunk of data 12739 is only going to provide a single chunk of data, and hence the 17615 with each memory chunk allocated; this is occasionally more helpful
|