Searched refs:blocksize (Results 1 - 25 of 100) sorted by relevance

1234

/macosx-10.10/CPANInternal-159.1/Crypt-Rijndael-1.10/t/
H A Dblocksize.t7 ok( defined &Crypt::Rijndael::blocksize );
9 is( Crypt::Rijndael->blocksize, 16 )
/macosx-10.10/Heimdal-398.1.2/lib/krb5/
H A Dcrypto-evp.c99 size_t i, blocksize; local
107 blocksize = EVP_CIPHER_CTX_block_size(c);
109 if (len < blocksize) {
113 } else if (len == blocksize) {
127 i = ((len - 1) / blocksize) * blocksize;
129 p += i - blocksize;
131 memcpy(ivec2, p, blocksize);
134 tmp[i] = p[i + blocksize] ^ ivec2[i];
135 for (; i < blocksize;
[all...]
H A Dcrypto-aes.c175 if (result.checksum.length < crypto->et->blocksize)
184 prfsize = (result.checksum.length / crypto->et->blocksize) * crypto->et->blocksize;
187 ret = krb5_data_alloc(out, crypto->et->blocksize);
232 size_t blocksize; local
240 blocksize = 16; /* XXX only for aes now */
242 if (len < blocksize) {
246 } else if (len == blocksize) {
400 if (result.checksum.length < crypto->et->blocksize)
409 ret = krb5_data_alloc(out, crypto->et->blocksize);
[all...]
/macosx-10.10/shell_cmds-179/hexdump/
H A Dhexdump.c56 int blocksize; /* data block size */ variable
74 for (blocksize = 0, tfs = fshead; tfs; tfs = tfs->nextfs) {
76 if (blocksize < tfs->bcnt)
77 blocksize = tfs->bcnt;
H A Ddisplay.c96 * blocksize, and no partial block ever found.
140 blocksize - address % blocksize);
247 if ((curp = calloc(1, blocksize)) == NULL)
249 if ((savp = calloc(1, blocksize)) == NULL)
255 address += blocksize;
258 for (need = blocksize, nread = 0;;) {
267 if (need == blocksize)
309 bcmp(curp, savp, blocksize) != 0) {
317 address += blocksize;
[all...]
/macosx-10.10/libarchive-30/libarchive/libarchive/test/
H A Dtest_write_format_tar.c37 size_t blocksize; local
40 for (blocksize = 1; blocksize < 100000; blocksize += blocksize + 3) {
45 assertA(0 == archive_write_set_bytes_per_block(a, (int)blocksize));
46 assertA(0 == archive_write_set_bytes_in_last_block(a, (int)blocksize));
47 assertA(blocksize == (size_t)archive_write_get_bytes_in_last_block(a));
49 assertA(blocksize == (size_t)archive_write_get_bytes_in_last_block(a));
82 assert(((2048 - 1)/blocksize
[all...]
H A Dtest_write_open_memory.c49 size_t blocksize = 94; local
53 assertA(0 == archive_write_set_bytes_per_block(a, (int)blocksize));
57 if (i < (511/blocksize)*blocksize)
H A Dtest_write_compress_program.c39 int blocksize = 1024;
58 assertA(0 == archive_write_set_bytes_per_block(a, blocksize));
59 assertA(0 == archive_write_set_bytes_in_last_block(a, blocksize));
60 assertA(blocksize == archive_write_get_bytes_in_last_block(a));
62 assertA(blocksize == archive_write_get_bytes_in_last_block(a));
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/transfer/
H A Dcopyops.tcl43 # -blocksize n
54 # -blocksize n
89 -blocksize -
103 -blocksize, -progress,\
142 upvar 0 settings(-blocksize) blocksize
145 if {$blocksize < $size} {
146 set n $blocksize
158 fcopy $in $out -size $blocksize -command \
161 $blocksize
[all...]
H A Ddsource.tcl35 method transmit {sock blocksize done} {}
111 method transmit {sock blocksize done} {
115 -blocksize $blocksize \
/macosx-10.10/Libc-1044.1.2/gen/FreeBSD/
H A Dgetbsize.c47 long n, max, mul, blocksize; local
84 fmterr: warnx("%s: unknown blocksize", p);
91 warnx("maximum blocksize is %ldG", MAXB / GB);
94 if ((blocksize = n * mul) < 512) {
95 underflow: warnx("minimum blocksize is 512");
97 blocksize = n = 512;
100 blocksize = n = 512;
104 *blocksizep = blocksize;
/macosx-10.10/Heimdal-398.1.2/appl/rsh/
H A Dcommon.c48 size_t blocksize; local
50 krb5_crypto_getblocksize(context, crypto, &blocksize);
52 ivec_in[0] = malloc(blocksize);
53 memset(ivec_in[0], client, blocksize);
56 ivec_in[1] = malloc(blocksize);
57 memset(ivec_in[1], 2 | client, blocksize);
61 ivec_out[0] = malloc(blocksize);
62 memset(ivec_out[0], !client, blocksize);
65 ivec_out[1] = malloc(blocksize);
66 memset(ivec_out[1], 2 | !client, blocksize);
[all...]
/macosx-10.10/CommonCrypto-60061/libcn/
H A DCommonBuffering.c51 size_t blocksize = bufRef->chunksize; local
60 inputUsing = CC_XMIN(blocksize - bufRef->bufferPos, inputLen);
63 if(bufRef->bufferPos < blocksize) {
66 pFunc(ctx, bufRef->buf, blocksize, output, &outputLen);
72 inputUsing = inputLen - inputLen % blocksize;
80 if(inputLen > blocksize) {
/macosx-10.10/Security-57031.1.35/certificates/ota_cert_tool/ios_ota_cert_tool/
H A DCommonBuffering.c51 size_t blocksize = bufRef->chunksize; local
60 inputUsing = CC_XMIN(blocksize - bufRef->bufferPos, inputLen);
63 if(bufRef->bufferPos < blocksize) {
66 pFunc(ctx, bufRef->buf, blocksize, output, &outputLen);
72 inputUsing = inputLen - inputLen % blocksize;
80 if(inputLen > blocksize) {
/macosx-10.10/xnu-2782.1.97/osfmk/prng/YarrowCoreLib/src/
H A Dcomp.c115 uInt blocksize; local
125 blocksize = _MIN(inplen,BUFSIZE);
126 memmove(buf,inp,blocksize);
127 ctx->spaceused = blocksize;
134 blocksize = _MIN(shifts*SHIFTSIZE,ctx->spaceused);
135 memmove(buf,buf+blocksize,BUFSIZE-blocksize);
136 ctx->spaceused = ctx->spaceused - blocksize;
/macosx-10.10/bash-94.1.2/bash-3.2/lib/malloc/
H A Dstats.c51 v.blocksize = 0;
56 v.blocksize = 1 << (size + 3);
85 result.bytesfree += v.nfree * v.blocksize;
86 result.bytesused += v.nused * v.blocksize;
105 fprintf (fp, "%8lu\t%4d\t%6d\t%5d\t%8d\t%d %5d %8d\n", (unsigned long)v.blocksize, v.nfree, v.nused, v.nmal, v.nmorecore, v.nlesscore, v.nsplit, v.ncoalesce);
106 totfree += v.nfree * v.blocksize;
107 totused += v.nused * v.blocksize;
H A Dmstats.h91 u_bits32_t blocksize; member in struct:bucket_stats
/macosx-10.10/apr-32/apr/apr/file_io/os2/
H A Dreadwrite.c39 ULONG blocksize; local
74 blocksize = size > thefile->dataRead - thefile->bufpos ? thefile->dataRead - thefile->bufpos : size;
75 memcpy(pos, thefile->buffer + thefile->bufpos, blocksize);
76 thefile->bufpos += blocksize;
77 pos += blocksize;
78 size -= blocksize;
137 int blocksize; local
156 blocksize = size > thefile->bufsize - thefile->bufpos ? thefile->bufsize - thefile->bufpos : size;
157 memcpy(thefile->buffer + thefile->bufpos, pos, blocksize);
158 thefile->bufpos += blocksize;
[all...]
/macosx-10.10/OpenSSL098-52/src/crypto/ec/
H A Dec_mult.c84 size_t blocksize; /* block size for wNAF splitting */ member in struct:ec_pre_comp_st
112 ret->blocksize = 8; /* default */
353 size_t blocksize = 0, numblocks = 0; /* for wNAF splitting */ local
414 blocksize = pre_comp->blocksize;
418 numblocks = (BN_num_bits(scalar) / blocksize) + 1;
529 if (tmp_len < numblocks * blocksize)
532 numblocks = (tmp_len + blocksize - 1) / blocksize;
549 wNAF_len[i] = blocksize;
771 size_t i, bits, w, pre_points_per_block, blocksize, numblocks, num; local
[all...]
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/des/
H A Ddes.tcl127 proc ::DES::Pad {data blocksize {fill \0}} {
130 set data [string repeat $fill $blocksize]
131 } elseif {($len % $blocksize) != 0} {
132 set pad [expr {$blocksize - ($len % $blocksize)}]
154 set blocksize 8
155 set opts(-iv) [string repeat \0 $blocksize]
213 set data [Pad [lindex $args 0] $blocksize]
/macosx-10.10/CommonCrypto-60061/lib/
H A DCommonCMAC.c193 size_t blocksize = ctx->cbc->block_size; local
196 if(ctx->pos == blocksize) { // flush what we have - there's more
199 } else if (ctx->pos == 0 && dataLength > blocksize) {
200 size_t fullblocks = ((dataLength + blocksize - 1) / blocksize) - 1;
202 size_t nbytes = fullblocks * blocksize;
205 size_t n = CC_XMIN(dataLength, (blocksize - ctx->pos));
/macosx-10.10/tcl-105/tcl_ext/mk4tcl/metakit/examples/
H A Dmillions.py54 self.blocksize = blocksize
55 self.lower = self.blocksize *2/3
56 self.upper = self.blocksize *2 - self.lower
83 if not self.recnos or len(v[-1].data) >= self.blocksize:
148 bs = self.blocksize
182 blocksize = 10000 # default size for append, but not mandatory variable
/macosx-10.10/apr-32/apr/apr/file_io/unix/
H A Dreadwrite.c33 apr_uint64_t blocksize; local
71 blocksize = size > thefile->dataRead - thefile->bufpos ? thefile->dataRead - thefile->bufpos : size;
72 memcpy(pos, thefile->buffer + thefile->bufpos, blocksize);
73 thefile->bufpos += blocksize;
74 pos += blocksize;
75 size -= blocksize;
153 int blocksize; local
174 blocksize = size > thefile->bufsize - thefile->bufpos ?
176 memcpy(thefile->buffer + thefile->bufpos, pos, blocksize);
177 thefile->bufpos += blocksize;
[all...]
/macosx-10.10/apr-32/apr/apr/file_io/win32/
H A Dreadwrite.c181 apr_size_t blocksize; local
215 blocksize = size > thefile->dataRead - thefile->bufpos ? thefile->dataRead - thefile->bufpos : size;
216 memcpy(pos, thefile->buffer + thefile->bufpos, blocksize);
217 thefile->bufpos += blocksize;
218 pos += blocksize;
219 size -= blocksize;
260 apr_size_t blocksize; local
281 blocksize = size > thefile->bufsize - thefile->bufpos ?
283 memcpy(thefile->buffer + thefile->bufpos, pos, blocksize);
284 thefile->bufpos += blocksize;
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/dev/vn/
H A Dvn.c271 block_round(off_t o, int blocksize) argument
273 return ((o + blocksize - 1) / blocksize);
277 block_truncate(off_t o, int blocksize) argument
279 return (o / blocksize);
283 block_remainder(off_t o, int blocksize) argument
285 return (o % blocksize);
292 u_int32_t blocksize = vn->sc_secsize; local
311 remainder = block_remainder(offset, blocksize);
313 block_truncate(offset, blocksize),
385 u_int32_t blocksize = vn->sc_secsize; local
645 u_int32_t blocksize = vn->sc_secsize; local
693 u_int32_t blocksize = vn->sc_secsize; local
[all...]

Completed in 351 milliseconds

1234