/freebsd-10-stable/crypto/openssl/ssl/ |
H A D | s3_cbc.c | 204 * ssl3_cbc_copy_mac copies |md_size| bytes from the end of |rec| to |out| in 212 * rec->orig_len >= md_size 213 * md_size <= EVP_MAX_MD_SIZE 225 unsigned md_size, unsigned orig_len) 238 unsigned mac_start = mac_end - md_size; 248 OPENSSL_assert(orig_len >= md_size); 249 OPENSSL_assert(md_size <= EVP_MAX_MD_SIZE); 256 if (orig_len > md_size + 255 + 1) 257 scan_start = orig_len - (md_size + 255 + 1); 259 * div_spoiler contains a multiple of md_size tha 223 ssl3_cbc_copy_mac(unsigned char *out, const SSL3_RECORD *rec, unsigned md_size, unsigned orig_len) argument 432 unsigned md_size, md_block_size = 64; local [all...] |
H A D | s2_lib.c | 472 int md_size; local 488 md_size = EVP_MD_size(md5); 489 if (md_size < 0) 491 for (i = 0; i < s->s2->key_material_length; i += md_size) { 492 if (((km - s->s2->key_material) + md_size) > 513 km += md_size;
|
H A D | s3_enc.c | 711 size_t md_size, orig_len; local 730 md_size = t; 731 npad = (48 / md_size) * md_size; 736 orig_len = rec->length + md_size + ((unsigned int)rec->type >> 8); 758 memcpy(header + j, mac_sec, md_size); 759 j += md_size; 770 md, &md_size, 772 rec->length + md_size, orig_len, 773 mac_sec, md_size, [all...] |
/freebsd-10-stable/sys/geom/multipath/ |
H A D | g_multipath.h | 65 uint64_t md_size; /* absolute size of provider */ member in struct:g_multipath_metadata 88 le64enc(data, md->md_size); 89 data += sizeof(md->md_size); 106 md->md_size = le64dec(data); 107 data += sizeof(md->md_size);
|
/freebsd-10-stable/etc/ |
H A D | rc.initdiskless | 98 # /conf/T/M/md_size 102 # /conf/base/etc/md_size contains "30000" then a 15MB MFS 137 # /conf/base/etc/md_size size of /etc filesystem 218 md_size=10240 220 md_size=`eval echo \\$md_size_$1` 222 log create_md $1 with size $md_size 223 mount_md $md_size /$1 292 # NFS remounting) contains the file 'md_size', the contents specified 314 [ -f $j/md_size ] && eval md_size_$subdir=`cat $j/md_size` [all...] |
/freebsd-10-stable/crypto/openssl/crypto/evp/ |
H A D | bio_ok.c | 485 if (ctx->buf_len + 2 * md->digest->md_size > OK_BLOCK_SIZE) 494 if (RAND_bytes(md->md_data, md->digest->md_size) <= 0) 496 memcpy(&(ctx->buf[ctx->buf_len]), md->md_data, md->digest->md_size); 497 longswap(&(ctx->buf[ctx->buf_len]), md->digest->md_size); 498 ctx->buf_len += md->digest->md_size; 504 ctx->buf_len += md->digest->md_size; 523 if ((int)(ctx->buf_len - ctx->buf_off) < 2 * md->digest->md_size) 528 memcpy(md->md_data, &(ctx->buf[ctx->buf_off]), md->digest->md_size); 529 longswap(md->md_data, md->digest->md_size); 530 ctx->buf_off += md->digest->md_size; [all...] |
/freebsd-10-stable/crypto/openssl/crypto/pkcs12/ |
H A D | p12_mutl.c | 76 int md_size; local 93 md_size = EVP_MD_size(md_type); 94 if (md_size < 0) 97 md_size, key, md_type)) { 102 if (!HMAC_Init_ex(&hmac, key, md_size, md_type, NULL)
|
/freebsd-10-stable/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-stable/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) 173 pgs = mdp->md_size / PAGE_SIZE; 233 size = mdp->md_size; 277 *sz += (uint32_t)mdp->md_size;
|
/freebsd-10-stable/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-stable/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-stable/contrib/netbsd-tests/dev/md/ |
H A D | h_mdserv.c | 74 md.md_size = MDSIZE;
|
/freebsd-10-stable/crypto/openssh/ |
H A D | md-sha256.c | 74 ssh_sha256.md_size = SHA256_DIGEST_LENGTH;
|
/freebsd-10-stable/sys/geom/linux_lvm/ |
H A D | g_linux_lvm.h | 61 uint64_t md_size; member in struct:g_llvm_metadata
|
/freebsd-10-stable/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-stable/sbin/geom/class/cache/ |
H A D | geom_cache.c | 152 md.md_size = val; 208 printf(" Cache size: %u\n", (u_int)md->md_size);
|
/freebsd-10-stable/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 | 91 COPY32(mm->md_size, a, c); \ 93 i386_copyin(mm->md_data, a, mm->md_size); \ 94 a += roundup(mm->md_size, sizeof(u_int64_t));\
|
/freebsd-10-stable/sys/boot/ia64/common/ |
H A D | bootinfo.c | 166 COPY32(mm->md_size, a); \ 167 ia64_copyin(mm->md_data, a, mm->md_size); \ 168 a += roundup(mm->md_size, sizeof(u_int64_t));\
|
/freebsd-10-stable/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(uint32_t));\
|
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-stable/sys/boot/powerpc/ofw/ |
H A D | metadata.c | 191 COPY32(mm->md_size, a, c); \ 193 archsw.arch_copyin(mm->md_data, a, mm->md_size);\ 194 a += roundup(mm->md_size, align); \
|
/freebsd-10-stable/sys/boot/powerpc/ps3/ |
H A D | metadata.c | 190 COPY32(mm->md_size, a, c); \ 192 archsw.arch_copyin(mm->md_data, a, mm->md_size);\ 193 a += roundup(mm->md_size, align); \
|
/freebsd-10-stable/sys/boot/sparc64/loader/ |
H A D | metadata.c | 232 COPY32(mm->md_size, a, c); \ 234 archsw.arch_copyin(mm->md_data, a, mm->md_size);\ 235 a += roundup(mm->md_size, sizeof(u_long)); \
|
/freebsd-10-stable/sys/boot/uboot/common/ |
H A D | metadata.c | 201 COPY32(mm->md_size, a, c); \ 203 archsw.arch_copyin(mm->md_data, a, mm->md_size);\ 204 a += roundup(mm->md_size, sizeof(u_long)); \
|