Home
last modified time | relevance | path

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

12

/mirbsd/src/lib/libssl/src/crypto/evp/
Devp_locl.h65 bl = ctx->cipher->block_size;\
105 #define BLOCK_CIPHER_def1(cname, nmode, mode, MODE, kstruct, nid, block_size, \ argument
109 nid##_##nmode, block_size, key_len, iv_len, \
121 #define BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, \ argument
124 BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \
141 #define BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, \ argument
144 BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_size, key_len, \
148 nid, block_size, key_len, iv_len, cbits, flags, \ argument
150 BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, iv_len, flags, \
156 BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, iv_len, flags, \
[all …]
Devp_enc.c225 OPENSSL_assert(ctx->cipher->block_size == 1 in EVP_CipherInit_ex()
226 || ctx->cipher->block_size == 8 in EVP_CipherInit_ex()
227 || ctx->cipher->block_size == 16); in EVP_CipherInit_ex()
277 ctx->block_mask=ctx->cipher->block_size-1; in EVP_CipherInit_ex()
347 bl=ctx->cipher->block_size; in EVP_EncryptUpdate()
396 b=ctx->cipher->block_size; in EVP_EncryptFinal_ex()
441 b=ctx->cipher->block_size; in EVP_DecryptUpdate()
487 b=ctx->cipher->block_size; in EVP_DecryptFinal_ex()
520 n=ctx->cipher->block_size-n; in EVP_DecryptFinal_ex()
Devp.h237 int block_size; member
292 int block_size; member
416 #define EVP_MD_block_size(e) ((e)->block_size)
425 #define EVP_CIPHER_block_size(e) ((e)->block_size)
433 #define EVP_CIPHER_CTX_block_size(e) ((e)->cipher->block_size)
Dopenbsd_hw.c170 assert((inl&(ctx->cipher->block_size-1)) == 0);
/mirbsd/src/sys/arch/sparc/stand/bootxx/
Dbootxx.c52 extern int32_t block_size;
91 buf = alloc(block_size);
103 blk, block_size, buf, &n)) {
106 bcopy(buf, addr, block_size);
107 if (n != block_size)
Dbtable.S57 .globl _C_LABEL(block_size)
58 block_size: label
/mirbsd/src/usr.bin/ssh/
Dpacket.c774 enc->iv, enc->block_size, crypt_type); in set_newkeys()
793 if (enc->block_size >= 16) in set_newkeys()
794 *max_blocks = (u_int64_t)1 << (enc->block_size*2); in set_newkeys()
796 *max_blocks = ((u_int64_t)1 << 30) / enc->block_size; in set_newkeys()
799 active_state->rekey_limit / enc->block_size); in set_newkeys()
847 int block_size; in packet_send2_wrapped() local
854 block_size = enc ? enc->block_size : 8; in packet_send2_wrapped()
887 padlen = block_size - (len % block_size); in packet_send2_wrapped()
889 padlen += block_size; in packet_send2_wrapped()
893 roundup(active_state->extra_pad, block_size); in packet_send2_wrapped()
[all …]
Dcipher.c60 u_int block_size; member
95 return (c->block_size); in cipher_blocksize()
249 if (iv != NULL && ivlen < cipher->block_size) in cipher_init()
287 if (len % cc->cipher->block_size) in cipher_crypt()
Dmonitor_wrap.c455 enc->block_size = buffer_get_int(&b); in mm_newkeys_from_blob()
458 if (len != enc->block_size) in mm_newkeys_from_blob()
460 enc->block_size, len); in mm_newkeys_from_blob()
515 buffer_put_int(&b, enc->block_size); in mm_newkeys_to_blob()
517 packet_get_keyiv(mode, enc->iv, enc->block_size); in mm_newkeys_to_blob()
518 buffer_put_string(&b, enc->iv, enc->block_size); in mm_newkeys_to_blob()
Dmd-sha256.c69 ssh_sha256.block_size = SHA256_BLOCK_LENGTH; in evp_ssh_sha256()
Dkex.c259 enc->block_size = cipher_blocksize(enc->cipher); in choose_enc()
402 if (need < newkeys->enc.block_size) in kex_choose_conf()
403 need = newkeys->enc.block_size; in kex_choose_conf()
Dkex.h85 u_int block_size; member
Dcipher-ctr.c131 aes_ctr.block_size = AES_BLOCK_SIZE; in evp_aes_128_ctr()
Dcipher-3des1.c159 ssh1_3des.block_size = 8; in evp_ssh1_3des()
/mirbsd/src/sys/lib/libsa/
Dufs.c262 size_t block_size; in buf_read_file() local
268 block_size = dblksize(fs, &fp->f_di, file_block); in buf_read_file()
279 bzero(fp->f_buf, block_size); in buf_read_file()
280 fp->f_buf_size = block_size; in buf_read_file()
285 block_size, fp->f_buf, &fp->f_buf_size); in buf_read_file()
299 *size_p = block_size - off; in buf_read_file()
/mirbsd/src/sys/scsi/
Dscsi_base.c463 block_size, page_len, flags, big) in scsi_do_mode_sense() argument
467 u_int32_t *density, *block_size;
481 if (block_size)
482 *block_size = 0;
536 if (block_size)
537 *block_size = _3btol(general->blklen);
547 if (block_size)
548 *block_size = _3btol(direct->blklen);
Dst.c1427 u_int32_t density, block_size; local
1436 &density, &block_count, &block_size, 1, flags | SCSI_SILENT, &big);
1453 st->media_blksize = block_size;
/mirbsd/src/sys/dev/usb/
Dif_atu.c859 int block_size, block = 0, err, i; in atu_internal_firmware() local
919 block_size = DFU_MaxBlockSize; in atu_internal_firmware()
921 block_size = bytes_left; in atu_internal_firmware()
926 block_size, ptr); in atu_internal_firmware()
934 ptr += block_size; in atu_internal_firmware()
935 bytes_left -= block_size; in atu_internal_firmware()
936 if (block_size == 0) in atu_internal_firmware()
987 int block_size, block = 0, err, i; in atu_external_firmware() local
1007 block_size = 1024; in atu_external_firmware()
1009 block_size = bytes_left; in atu_external_firmware()
[all …]
/mirbsd/src/lib/libssl/src/ssl/
Ds2_enc.c140 bs=ds->cipher->block_size; in ssl2_enc()
/mirbsd/src/usr.sbin/httpd/src/modules/proxy/
Dproxy_cache.c98 #define ROUNDUP2BLOCKS(_bytes) (((_bytes)+block_size-1) & ~(block_size-1))
99 static long block_size = 512; /* this must be a power of 2 */ variable
/mirbsd/src/gnu/usr.bin/binutils/gdb/
Dsymfile.c1519 bfd_size_type block_size; in load_section_callback() local
1525 block_size = download_write_size; in load_section_callback()
1527 block_size = size; in load_section_callback()
1545 if (this_transfer >= block_size) in load_section_callback()
1546 this_transfer = block_size; in load_section_callback()
/mirbsd/src/gnu/usr.bin/binutils/bfd/
Delfxx-sparc.c641 const int block_size = entries_per_block * (insn_chunk_size in sparc64_plt_entry_build() local
653 block = offset / block_size; in sparc64_plt_entry_build()
654 last_block = max / block_size; in sparc64_plt_entry_build()
661 last_ofs = max % block_size; in sparc64_plt_entry_build()
665 ofs = offset % block_size; in sparc64_plt_entry_build()
673 + (block * block_size) in sparc64_plt_entry_build()
/mirbsd/src/lib/libssl/src/crypto/engine/
Dhw_cryptodev.c399 if ((inl % ctx->cipher->block_size) != 0) in cryptodev_cipher()
650 if ((inl % ctx->cipher->block_size) != 0) in xcrypt_cipher()
/mirbsd/src/lib/libssl/src/doc/crypto/
DEVP_EncryptInit.pod73 #define EVP_CIPHER_block_size(e) ((e)->block_size)
82 #define EVP_CIPHER_CTX_block_size(e) ((e)->cipher->block_size)
/mirbsd/src/gnu/usr.bin/binutils/binutils/
Dsrconv.c594 dps.block_size = scope->size; in wr_dps_start()
608 dps.block_size = 0; in wr_dps_start()

12