Searched refs:md_size (Results 1 - 25 of 45) sorted by relevance

12

/freebsd-10.0-release/crypto/openssl/ssl/
H A Ds3_cbc.c199 /* ssl3_cbc_copy_mac copies |md_size| bytes from the end of |rec| to |out| in
207 * rec->orig_len >= md_size
208 * md_size <= EVP_MAX_MD_SIZE
220 unsigned md_size,unsigned orig_len)
231 unsigned mac_start = mac_end - md_size;
239 OPENSSL_assert(orig_len >= md_size);
240 OPENSSL_assert(md_size <= EVP_MAX_MD_SIZE);
247 if (orig_len > md_size + 255 + 1)
248 scan_start = orig_len - (md_size + 255 + 1);
249 /* div_spoiler contains a multiple of md_size tha
218 ssl3_cbc_copy_mac(unsigned char* out, const SSL3_RECORD *rec, unsigned md_size,unsigned orig_len) argument
416 unsigned md_size, md_block_size = 64; local
[all...]
H A Ds2_lib.c457 int md_size; local
474 md_size = EVP_MD_size(md5);
475 if (md_size < 0)
477 for (i=0; i<s->s2->key_material_length; i += md_size)
479 if (((km - s->s2->key_material) + md_size) >
498 km += md_size;
H A Ds3_enc.c721 size_t md_size, orig_len; local
743 md_size=t;
744 npad=(48/md_size)*md_size;
747 orig_len = rec->length+md_size+((unsigned int)rec->type>>8);
767 memcpy(header+j, mac_sec, md_size);
768 j += md_size;
779 md, &md_size,
781 rec->length + md_size, orig_len,
782 mac_sec, md_size,
[all...]
/freebsd-10.0-release/sys/geom/multipath/
H A Dg_multipath.h64 uint64_t md_size; /* absolute size of provider */ member in struct:g_multipath_metadata
87 le64enc(data, md->md_size);
88 data += sizeof(md->md_size);
105 md->md_size = le64dec(data);
106 data += sizeof(md->md_size);
/freebsd-10.0-release/etc/
H A Drc.initdiskless98 # /conf/T/M/md_size
102 # /conf/base/etc/md_size contains "30000" then a 15MB MFS
128 # /conf/base/etc/md_size size of /etc filesystem
209 md_size=10240
211 md_size=`eval echo \\$md_size_$1`
213 log create_md $1 with size $md_size
214 mount_md $md_size /$1
283 # NFS remounting) contains the file 'md_size', the contents specified
305 [ -f $j/md_size ] && eval md_size_$subdir=`cat $j/md_size`
[all...]
/freebsd-10.0-release/crypto/openssl/crypto/evp/
H A Dbio_ok.c487 if(ctx->buf_len+ 2* md->digest->md_size > OK_BLOCK_SIZE) return 1;
494 RAND_pseudo_bytes(md->md_data, md->digest->md_size);
495 memcpy(&(ctx->buf[ctx->buf_len]), md->md_data, md->digest->md_size);
496 longswap(&(ctx->buf[ctx->buf_len]), md->digest->md_size);
497 ctx->buf_len+= md->digest->md_size;
503 ctx->buf_len+= md->digest->md_size;
522 if((int)(ctx->buf_len-ctx->buf_off) < 2*md->digest->md_size) return 1;
526 memcpy(md->md_data, &(ctx->buf[ctx->buf_off]), md->digest->md_size);
527 longswap(md->md_data, md->digest->md_size);
528 ctx->buf_off+= md->digest->md_size;
[all...]
/freebsd-10.0-release/crypto/openssl/crypto/pkcs12/
H A Dp12_mutl.c74 int md_size; local
91 md_size = EVP_MD_size(md_type);
92 if (md_size < 0)
95 md_size, key, md_type)) {
100 if (!HMAC_Init_ex(&hmac, key, md_size, md_type, NULL)
/freebsd-10.0-release/sys/geom/cache/
H A Dg_cache.h118 uint32_t md_size; /* Cache size. */ member in struct:g_cache_metadata
130 le32enc(data + 40, md->md_size);
142 md->md_size = le32dec(data + 40);
/freebsd-10.0-release/sys/arm/arm/
H A Ddump_machdep.c69 vm_paddr_t md_size; member in struct:md_pa
95 dump_map[n].md_size = dump_avail[idx + 1] - dump_avail[idx];
111 if (mdp->md_size == 0)
171 pgs = mdp->md_size / PAGE_SIZE;
227 size = mdp->md_size;
248 *sz += (uint32_t)mdp->md_size;
/freebsd-10.0-release/sys/mips/mips/
H A Ddump_machdep.c69 vm_paddr_t md_size; member in struct:md_pa
95 dump_map[n].md_size = dump_avail[idx + 1] - dump_avail[idx];
111 if (mdp->md_size == 0)
171 pgs = mdp->md_size / PAGE_SIZE;
219 size = mdp->md_size;
240 *sz += (uint32_t)mdp->md_size;
/freebsd-10.0-release/sys/x86/x86/
H A Ddump_machdep.c71 vm_paddr_t md_size; member in struct:md_pa
97 dump_map[n].md_size = dump_avail[idx + 1] - dump_avail[idx];
113 if (mdp->md_size == 0)
176 pgs = mdp->md_size / PAGE_SIZE;
228 size = mdp->md_size;
249 *sz += (uint64_t)mdp->md_size;
/freebsd-10.0-release/crypto/openssh/
H A Dmd-sha256.c74 ssh_sha256.md_size = SHA256_DIGEST_LENGTH;
/freebsd-10.0-release/sys/geom/linux_lvm/
H A Dg_linux_lvm.h61 uint64_t md_size; member in struct:g_llvm_metadata
/freebsd-10.0-release/sys/powerpc/powerpc/
H A Ddump_machdep.c125 resid = md->md_size;
172 phdr.p_filesz = md->md_size;
173 phdr.p_memsz = md->md_size;
186 *sz += md->md_size;
/freebsd-10.0-release/sbin/geom/class/cache/
H A Dgeom_cache.c151 md.md_size = val;
207 printf(" Cache size: %u\n", (u_int)md->md_size);
/freebsd-10.0-release/sys/boot/i386/efi/
H A Dbootinfo.c190 COPY32(mm->md_size, a); \
191 i386_copyin(mm->md_data, a, mm->md_size); \
192 a += roundup(mm->md_size, sizeof(u_int64_t));\
/freebsd-10.0-release/sys/boot/i386/libi386/
H A Dbootinfo32.c89 COPY32(mm->md_size, a, c); \
91 i386_copyin(mm->md_data, a, mm->md_size); \
92 a += roundup(mm->md_size, sizeof(u_long));\
H A Dbootinfo64.c90 COPY32(mm->md_size, a, c); \
92 i386_copyin(mm->md_data, a, mm->md_size); \
93 a += roundup(mm->md_size, sizeof(u_int64_t));\
/freebsd-10.0-release/sys/boot/ia64/common/
H A Dbootinfo.c188 COPY32(mm->md_size, a); \
189 ia64_copyin(mm->md_data, a, mm->md_size); \
190 a += roundup(mm->md_size, sizeof(u_int64_t));\
/freebsd-10.0-release/sys/boot/userboot/userboot/
H A Dbootinfo32.c89 COPY32(mm->md_size, a, c); \
91 CALLBACK(copyin, mm->md_data, a, mm->md_size); \
92 a += roundup(mm->md_size, sizeof(u_long));\
H A Dbootinfo64.c90 COPY32(mm->md_size, a, c); \
92 CALLBACK(copyin, mm->md_data, a, mm->md_size); \
93 a += roundup(mm->md_size, sizeof(u_int64_t));\
/freebsd-10.0-release/sys/boot/powerpc/ofw/
H A Dmetadata.c213 COPY32(mm->md_size, a, c); \
215 archsw.arch_copyin(mm->md_data, a, mm->md_size);\
216 a += roundup(mm->md_size, align); \
/freebsd-10.0-release/sys/boot/powerpc/ps3/
H A Dmetadata.c212 COPY32(mm->md_size, a, c); \
214 archsw.arch_copyin(mm->md_data, a, mm->md_size);\
215 a += roundup(mm->md_size, align); \
/freebsd-10.0-release/sys/boot/sparc64/loader/
H A Dmetadata.c254 COPY32(mm->md_size, a, c); \
256 archsw.arch_copyin(mm->md_data, a, mm->md_size);\
257 a += roundup(mm->md_size, sizeof(u_long)); \
/freebsd-10.0-release/sys/boot/uboot/common/
H A Dmetadata.c223 COPY32(mm->md_size, a, c); \
225 archsw.arch_copyin(mm->md_data, a, mm->md_size);\
226 a += roundup(mm->md_size, sizeof(u_long)); \

Completed in 227 milliseconds

12