/freebsd-10.0-release/crypto/openssl/ssl/ |
H A D | s3_cbc.c | 199 /* 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 D | s2_lib.c | 457 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 D | s3_enc.c | 721 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 D | g_multipath.h | 64 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 D | rc.initdiskless | 98 # /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 D | bio_ok.c | 487 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 D | p12_mutl.c | 74 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 D | g_cache.h | 118 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 D | dump_machdep.c | 69 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 D | dump_machdep.c | 69 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 D | dump_machdep.c | 71 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 D | md-sha256.c | 74 ssh_sha256.md_size = SHA256_DIGEST_LENGTH;
|
/freebsd-10.0-release/sys/geom/linux_lvm/ |
H A D | g_linux_lvm.h | 61 uint64_t md_size; member in struct:g_llvm_metadata
|
/freebsd-10.0-release/sys/powerpc/powerpc/ |
H A D | dump_machdep.c | 125 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 D | geom_cache.c | 151 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 D | bootinfo.c | 190 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 D | bootinfo32.c | 89 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 D | bootinfo64.c | 90 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 D | bootinfo.c | 188 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 D | bootinfo32.c | 89 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 D | bootinfo64.c | 90 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 D | metadata.c | 213 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 D | metadata.c | 212 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 D | metadata.c | 254 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 D | metadata.c | 223 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)); \
|