| /onnv/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/raw/ |
| raw_encrypt.c | 42 size_t blocksize; local 44 blocksize = enc->block_size; 46 *length = krb5_roundup(inputlen, blocksize);
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
| snoop_tftp.c | 42 int blocksize = fraglen - 4; local 72 blocksize, 73 blocksize < 512 ? " (last block)":""); 118 blocksize < 512 ? " (last block)":""); 120 dlc_header, blocksize), 122 blocksize); local
|
| /onnv/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/old/ |
| old_encrypt.c | 42 size_t blocksize, hashsize; local 44 blocksize = enc->block_size; 47 *length = krb5_roundup(blocksize+hashsize+inputlen, blocksize); 62 size_t blocksize, hashsize, enclen; local 66 blocksize = enc->block_size; 80 datain.length = blocksize; 85 (void) memcpy(output->data+blocksize+hashsize, input->data, input->length); 90 datain.data = output->data+blocksize; 110 if (real_ivec && ivec != NULL && ivec->length == blocksize) [all...] |
| old_decrypt.c | 48 size_t blocksize, hashsize, plainsize; local 54 blocksize = enc->block_size; 57 plainsize = input->length - blocksize - hashsize; 81 if (ivec != NULL && ivec->length == blocksize) { 82 cn = MALLOC(blocksize); 87 (void) memcpy(cn, input->data + input->length - blocksize, blocksize); 103 (void) memcpy(orig_cksum, output.data+blocksize, hashsize); 104 (void) memset(output.data+blocksize, 0, hashsize); 120 (void) memcpy(arg_output->data, output.data+blocksize+hashsize [all...] |
| /onnv/onnv-gate/usr/src/lib/libzfs_jni/common/ |
| libzfs_jni_diskmgt.h | 54 uint32_t blocksize; member in struct:dmgt_disk
|
| /onnv/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/ |
| dk_decrypt.c | 85 size_t hashsize, blocksize, enclen, plainlen; local 107 blocksize = enc->block_size; 133 if (ivec != NULL && ivec->length == blocksize) { 134 cn = (unsigned char *) d1.data + d1.length - blocksize; 166 plainlen = enclen - blocksize; 175 (void) memcpy(output->data, d2.data+blocksize, output->length); 184 (void) memcpy(ivec->data, cn, blocksize);
|
| dk_encrypt.c | 40 dk_encrypt) assume the confounder is always the blocksize, and the 41 padding is always zero bytes up to the blocksize. If these 50 size_t blocksize, hashsize; local 52 blocksize = enc->block_size; 54 *length = krb5_roundup(blocksize+inputlen, blocksize) + hashsize; 65 size_t blocksize, plainlen, enclen; local 87 blocksize = enc->block_size; 88 plainlen = krb5_roundup(blocksize+input->length, blocksize); 173 size_t blocksize, hashsize; local 229 size_t blocksize, plainlen, enclen; local [all...] |
| derive.c | 264 size_t blocksize, keybytes, keylength, n; local 271 blocksize = enc->block_size; 281 if ((inblockdata = (unsigned char *) MALLOC(blocksize)) == NULL) 284 if ((outblockdata = (unsigned char *) MALLOC(blocksize)) == NULL) { 285 FREE(inblockdata, blocksize); 290 FREE(outblockdata, blocksize); 291 FREE(inblockdata, blocksize); 296 inblock.length = blocksize; 299 outblock.length = blocksize; 339 (void) memset(inblockdata, 0, blocksize); [all...] |
| /onnv/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
| hmac.c | 100 * ipad is the byte 0x36 repeated blocksize times 101 * opad is the byte 0x5c repeated blocksize times 113 size_t hashsize, blocksize; local 140 blocksize = hash->blocksize; 142 if (key->length > blocksize) 153 if ((xorkey = (unsigned char *) MALLOC(blocksize)) == NULL) 156 FREE(xorkey, blocksize); 161 FREE(xorkey, blocksize); 168 (void) memset(xorkey, 0x36, blocksize); [all...] |
| combine_keys.c | 307 size_t blocksize, keybytes, keylength, n; local 311 blocksize = enc->block_size; 317 if ((inblockdata = (unsigned char *) malloc(blocksize)) == NULL) 320 if ((outblockdata = (unsigned char *) malloc(blocksize)) == NULL) { 326 inblock.length = blocksize; 329 outblock.length = blocksize; 359 memset(inblockdata, 0, blocksize); 360 memset(outblockdata, 0, blocksize);
|
| /onnv/onnv-gate/usr/src/lib/libparted/common/libparted/fs/amiga/ |
| apfs.c | 36 _apfs_probe_root (uint32_t *block, uint32_t blocksize, uint32_t kind) { 47 uint32_t blocksize = 1, reserved = 2, prealloc = 0; local 52 /* Finds the blocksize, prealloc and reserved values of the partition block */ 53 if (!(part = ped_malloc (PED_SECTOR_SIZE_DEFAULT*blocksize))) { 61 blocksize = PED_BE32_TO_CPU (part->de_SizeBlock) 67 if (!(block = ped_malloc (PED_SECTOR_SIZE_DEFAULT*blocksize))) { 72 if (!ped_device_read (geom->dev, block, geom->start, blocksize)) { 82 root = geom->start+reserved*blocksize; 83 if (!ped_device_read (geom->dev, block, root, blocksize)) { 88 if (_apfs_probe_root(block, blocksize, kind) == 1) [all...] |
| asfs.c | 36 _asfs_probe_root (PedGeometry *geom, uint32_t *block, int blocksize, PedSector root) { 41 for (i = 0, sum = 1; i < 128*blocksize; i++) sum += PED_BE32_TO_CPU (block[i]); 43 if (PED_BE32_TO_CPU (block[2]) * blocksize + geom->start != root) { 59 int blocksize = 1, reserved = 1, prealloc = 1; local 66 /* Finds the blocksize, prealloc and reserved values of the partition block */ 67 if (!(part = ped_malloc (PED_SECTOR_SIZE_DEFAULT*blocksize))) { 77 blocksize = PED_BE32_TO_CPU (part->de_SizeBlock) 83 if (!(block = ped_malloc (PED_SECTOR_SIZE_DEFAULT*blocksize))) { 89 if (!ped_device_read (geom->dev, block, root, blocksize)) { 99 if (_asfs_probe_root(geom, block, blocksize, root)) [all...] |
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
| mk_priv.c | 48 size_t blocksize, enclen; local 81 &blocksize))) 84 ivdata.length = blocksize;
|
| rd_priv.c | 70 size_t blocksize; local 82 &blocksize))) 85 ivdata.length = blocksize;
|
| auth_con.c | 283 size_t blocksize; local 286 &blocksize))) 288 if ((auth_context->i_vector = (krb5_pointer)malloc(blocksize))) { 289 memset(auth_context->i_vector, 0, blocksize);
|
| /onnv/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
| util_crypt.c | 75 size_t blocksize; local 79 code = krb5_c_block_size(context, key->enctype, &blocksize); 83 return(blocksize); 93 size_t blocksize; local 96 code = krb5_c_block_size(context, key->enctype, &blocksize); 100 lrandom.length = blocksize; 131 size_t blocksize; local 138 code = krb5_c_block_size(context, key->enctype, &blocksize); 142 ivd.length = blocksize; 179 size_t blocksize; local [all...] |
| k5unseal.c | 91 size_t sumlen, blocksize; local 277 * pad length, so we know it can not be more than the blocksize. 279 code = krb5_c_block_size(context, ctx->enc->enctype, &blocksize); 286 if (plain[tmsglen-1] > blocksize) {
|
| /onnv/onnv-gate/usr/src/cmd/wbem/provider/c/wbem_disk/common/ |
| disk_descriptors.c | 276 uint32_t blocksize = 512; local 287 (void) nvlist_lookup_uint32(nvlp, DM_BLOCKSIZE, &blocksize); 289 error = snprintf(buf, sizeof (buf), "%llu", ui64 * blocksize);
|
| drive_descriptors.c | 65 uint32_t blocksize = 0; local 359 blocksize = ui32; 585 bytes_per_cylinder = (nheads * nsecs) * blocksize;
|
| /onnv/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/arcfour/ |
| k5_arcfour.c | 29 size_t blocksize, hashsize; local 31 blocksize = enc->block_size; 34 /* checksum + (confounder + inputlen, in even blocksize) */ 35 *length = hashsize + krb5_roundup(8 + inputlen, blocksize); 88 size_t keybytes, blocksize, hashsize; local 91 blocksize = enc->block_size; 156 /* is "input" already blocksize aligned? if it is, then we need this 158 plaintext.length=krb5_roundup(input->length+CONFOUNDERLENGTH,blocksize); 175 ciphertext.length=krb5_roundup(input->length+CONFOUNDERLENGTH,blocksize);
|
| /onnv/onnv-gate/usr/src/uts/common/io/ |
| strsun.c | 275 ssize_t blocksize; local 278 blocksize = MIN(iosize, maxblk); 279 ASSERT(blocksize >= 0); 280 if ((mp = allocb_cred(offset + blocksize + tail_len, 286 mp->b_wptr = mp->b_rptr + blocksize; 292 if ((*errorp = uiomove(mp->b_rptr, (size_t)blocksize, 299 iosize -= blocksize;
|
| /onnv/onnv-gate/usr/src/cmd/svr4pkg/libinst/ |
| copyf.c | 251 size_t blocksize; local 254 /* set blocksize for copy */ 256 blocksize = a_iosize; 257 if ((blocksize == 0) || (blocksize > SMALLFILESIZE)) { 258 blocksize = SMALLFILESIZE; 259 } else if (blocksize < pagesize) { 260 blocksize = pagesize; 265 buf = memalign((size_t)pagesize, blocksize); 279 n = read(a_srcFd, buf, blocksize); [all...] |
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
| old_api_glue.c | 47 size_t blocksize, outlen; local 51 if ((ret = krb5_c_block_size(context, eblock->key->enctype, &blocksize))) 54 ivecd.length = blocksize; 82 size_t blocksize; local 86 if ((ret = krb5_c_block_size(context, eblock->key->enctype, &blocksize))) 89 ivecd.length = blocksize; 290 size_t enclen, blocksize; local 298 if ((ret = krb5_c_block_size(context, key->enctype, &blocksize))) 301 ivecd.length = blocksize; 324 size_t blocksize; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/lp/filter/postscript/postcomm/ |
| postcomm.c | 124 int blocksize = BLOCKSIZE; /* and its size in bytes */ variable 285 if ((blocksize = atoi(optarg)) <= 0) 286 blocksize = BLOCKSIZE; 331 if ((block = malloc(blocksize)) == NULL) 504 if ((tail = read(fd_in, block, blocksize)) == -1)
|
| /onnv/onnv-gate/usr/src/cmd/wbem/provider/c/filesystems/wbem_nfs/nfs_filesystem/ |
| Solaris_NFS.c | 721 unsigned long long blocksize; local 797 * BlockSize 799 blocksize = fs_get_blocksize(nfs_mount->nml_mountp, &err); 803 (void) snprintf(propValue, MAXSIZE, "%lld", blocksize); 835 * specified in the BlockSize property for the FileSystem.) [all...] |