/freebsd-9.3-release/crypto/openssl/crypto/evp/ |
H A D | evp_enc.c | 156 if (ctx->buf_len == 0 && (inl & (ctx->block_mask)) == 0) { 165 i = ctx->buf_len; 171 ctx->buf_len += inl; 196 ctx->buf_len = i; 218 bl = ctx->buf_len; 271 if (b > 1 && !ctx->buf_len) { 299 if (ctx->buf_len) { 308 if (ctx->buf_len || !ctx->final_used) {
|
H A D | bio_b64.c | 85 int buf_len; member in struct:b64_struct 122 ctx->buf_len = 0; 165 ctx->buf_len = 0; 172 if (ctx->buf_len > 0) { 173 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); 174 i = ctx->buf_len - ctx->buf_off; 183 if (ctx->buf_len == ctx->buf_off) { 184 ctx->buf_len = 0; 322 ctx->buf_len = 0; 324 ctx->buf_len [all...] |
H A D | bio_enc.c | 81 int buf_len; member in struct:enc_struct 120 ctx->buf_len = 0; 161 if (ctx->buf_len > 0) { 162 i = ctx->buf_len - ctx->buf_off; 170 if (ctx->buf_len == ctx->buf_off) { 171 ctx->buf_len = 0; 196 &(ctx->buf_len)); 205 (unsigned char *)ctx->buf, &ctx->buf_len, 214 if (ctx->buf_len == 0) 218 if (ctx->buf_len < [all...] |
H A D | e_des3.c | 116 ctx->buf_len);
|
H A D | bio_ok.c | 146 size_t buf_len; member in struct:ok_struct 183 ctx->buf_len = 0; 229 i = ctx->buf_len - ctx->buf_off; 239 if (ctx->buf_len == ctx->buf_off) { 246 ctx->buf_len = ctx->buf_len_save - ctx->buf_off_save; 248 ctx->buf_len); 250 ctx->buf_len = 0; 261 n = IOBS - ctx->buf_len; 262 i = BIO_read(b->next_bio, &(ctx->buf[ctx->buf_len]), n); 267 ctx->buf_len [all...] |
H A D | evp.h | 410 int buf_len; /* number we have left */ member in struct:evp_cipher_ctx_st
|
H A D | enc_min.c | 337 ctx->buf_len = 0;
|
/freebsd-9.3-release/crypto/openssl/ssl/ |
H A D | d1_enc.c | 215 ("\tEVP_CIPHER_CTX: %d buf_len, %d key_len [%ld %ld], %d iv_len\n", 216 ds->buf_len, ds->cipher->key_len, (unsigned long)DES_KEY_SZ,
|
H A D | t1_enc.c | 630 ("\tEVP_CIPHER_CTX: %d buf_len, %d key_len [%d %d], %d iv_len\n", 631 ds->buf_len, ds->cipher->key_len, DES_KEY_SZ,
|
/freebsd-9.3-release/crypto/openssl/crypto/ |
H A D | mem_dbg.c | 609 int buf_len; local 617 buf_len = strlen(buf); 619 if (128 - buf_len - 3 < info_len) { 620 memcpy(buf + buf_len, amip->info, 128 - buf_len - 3); 621 buf_len = 128 - 3; 623 BUF_strlcpy(buf + buf_len, amip->info, sizeof buf - buf_len); 624 buf_len = strlen(buf); 626 BIO_snprintf(buf + buf_len, sizeo [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/objects/ |
H A D | obj_dat.c | 451 int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name) argument 460 if (buf && buf_len > 0) 473 BUF_strlcpy(buf, s, buf_len); 527 if (buf && (buf_len > 1)) { 530 buf_len--; 542 if (buf_len > 1) { 545 buf_len--; 547 BUF_strlcpy(buf, bndec, buf_len); 548 if (i > buf_len) { 549 buf += buf_len; [all...] |
H A D | objects.h | 1013 int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name);
|
/freebsd-9.3-release/crypto/openssl/crypto/ec/ |
H A D | ec_print.c | 64 size_t buf_len = 0; local 67 buf_len = EC_POINT_point2oct(group, point, form, NULL, 0, ctx); 68 if (buf_len == 0) 71 if ((buf = OPENSSL_malloc(buf_len)) == NULL) 74 if (!EC_POINT_point2oct(group, point, form, buf, buf_len, ctx)) { 79 ret = BN_bin2bn(buf, buf_len, ret); 89 size_t buf_len = 0; local 93 if ((buf_len = BN_num_bytes(bn)) == 0) 95 buf = OPENSSL_malloc(buf_len); 112 if (!EC_POINT_oct2point(group, ret, buf, buf_len, ct 131 size_t buf_len = 0, i; local [all...] |
H A D | ec_asn1.c | 1088 size_t buf_len = 0, tmp_len; local 1103 buf_len = (size_t)BN_num_bytes(a->priv_key); 1104 buffer = OPENSSL_malloc(buf_len); 1115 if (!M_ASN1_OCTET_STRING_set(priv_key->privateKey, buffer, buf_len)) { 1139 if (tmp_len > buf_len) { 1146 buf_len = tmp_len; 1150 a->conv_form, buffer, buf_len, NULL)) { 1157 if (!M_ASN1_BIT_STRING_set(priv_key->publicKey, buffer, buf_len)) { 1244 size_t buf_len = 0; local 1252 buf_len [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/ecdsa/ |
H A D | ecdsatest.c | 294 unsigned int sig_len, degree, r_len, s_len, bn_len, buf_len; local 436 buf_len = 2 * bn_len; 437 if ((raw_buf = OPENSSL_malloc(buf_len)) == NULL) 440 memset(raw_buf, 0, buf_len); 442 BN_bn2bin(ecdsa_sig->s, raw_buf + buf_len - s_len); 445 offset = raw_buf[10] % buf_len;
|
/freebsd-9.3-release/crypto/openssl/crypto/asn1/ |
H A D | asn1.h | 895 int i2t_ASN1_OBJECT(char *buf, int buf_len, ASN1_OBJECT *a);
|
H A D | a_object.c | 213 int i2t_ASN1_OBJECT(char *buf, int buf_len, ASN1_OBJECT *a) argument 215 return OBJ_obj2txt(buf, buf_len, a, 0);
|
H A D | t_pkey.c | 112 size_t buf_len = 0, i; local 115 buf_len = (size_t)BN_num_bytes(x->n); 117 if (buf_len < (i = (size_t)BN_num_bytes(x->e))) 118 buf_len = i; 120 if (buf_len < (i = (size_t)BN_num_bytes(x->d))) 121 buf_len = i; 123 if (buf_len < (i = (size_t)BN_num_bytes(x->p))) 124 buf_len = i; 126 if (buf_len < (i = (size_t)BN_num_bytes(x->q))) 127 buf_len 206 size_t buf_len = 0, i; local 291 size_t buf_len = 0, i; local 469 size_t buf_len = 0, i; local 647 size_t buf_len = 0, i; local 709 size_t buf_len = 0, i; local [all...] |
/freebsd-9.3-release/crypto/openssl/apps/ |
H A D | ecparam.c | 428 size_t buf_len = 0, tmp_len = 0; local 467 if ((tmp_len = (size_t)BN_num_bytes(ec_p)) > buf_len) 468 buf_len = tmp_len; 469 if ((tmp_len = (size_t)BN_num_bytes(ec_a)) > buf_len) 470 buf_len = tmp_len; 471 if ((tmp_len = (size_t)BN_num_bytes(ec_b)) > buf_len) 472 buf_len = tmp_len; 473 if ((tmp_len = (size_t)BN_num_bytes(ec_gen)) > buf_len) 474 buf_len = tmp_len; 475 if ((tmp_len = (size_t)BN_num_bytes(ec_order)) > buf_len) [all...] |
/freebsd-9.3-release/contrib/ntp/sntp/libevent/ |
H A D | evdns.c | 1602 dnsname_to_labels(u8 *const buf, size_t buf_len, off_t j, argument 1610 if (j + 2 > (off_t)buf_len) \ 1617 if (j + 4 > (off_t)buf_len) \ 1636 if ((size_t)(j+label_len+1) > buf_len) return -2; 1647 if ((size_t)(j+label_len+1) > buf_len) return -2; 1684 u8 *const buf, size_t buf_len) { 1695 j = dnsname_to_labels(buf, buf_len, j, name, name_len, NULL); 1896 size_t buf_len = sizeof(buf); local 1922 j = dnsname_to_labels(buf, buf_len, j, s, strlen(s), &table); 1941 r = dnsname_to_labels(buf, buf_len, 1682 evdns_request_data_build(const char *const name, const size_t name_len, const u16 trans_id, const u16 type, const u16 class, u8 *const buf, size_t buf_len) argument [all...] |
/freebsd-9.3-release/lib/libz/test/ |
H A D | minigzip.c | 403 off_t buf_len; /* length of the input file */ local 408 buf_len = sb.st_size; 409 if (buf_len <= 0) return Z_ERRNO; 412 buf = mmap((caddr_t) 0, buf_len, PROT_READ, MAP_SHARED, ifd, (off_t)0); 416 len = gzwrite(out, (char *)buf, (unsigned)buf_len); 418 if (len != (int)buf_len) error(gzerror(out, &err)); 420 munmap(buf, buf_len);
|
/freebsd-9.3-release/lib/libc/posix1e/ |
H A D | acl_id_to_name.c | 57 _posix1e_acl_id_to_name(acl_tag_t tag, uid_t id, ssize_t buf_len, char *buf, argument 71 i = snprintf(buf, buf_len, "%d", id); 73 i = snprintf(buf, buf_len, "%s", p->pw_name); 87 i = snprintf(buf, buf_len, "%d", id); 89 i = snprintf(buf, buf_len, "%s", g->gr_name);
|
H A D | acl_support.c | 277 _posix1e_acl_perm_to_string(acl_perm_t perm, ssize_t buf_len, char *buf) argument 280 if (buf_len < _POSIX1E_ACL_STRING_PERM_MAXSIZE + 1) {
|
H A D | acl_support.h | 55 int _posix1e_acl_id_to_name(acl_tag_t tag, uid_t id, ssize_t buf_len, 57 int _posix1e_acl_perm_to_string(acl_perm_t perm, ssize_t buf_len,
|
/freebsd-9.3-release/usr.sbin/bsnmpd/modules/snmp_bridge/ |
H A D | bridge_sys.c | 1153 uint32_t buf_len) 1158 for (i = 0; i < buf_len / sizeof(struct ifbpstpreq); i++) { 1176 int32_t buf_len; local 1182 if ((buf_len = bridge_port_get_iflist(bif, &b_req_buf)) < 0) 1185 for (i = 0; i < buf_len / sizeof(struct ifbreq); i++) { 1202 if ((buf_len = bridge_port_get_ifstplist(bif, &bs_req_buf)) < 0) 1208 bs_req_buf, buf_len)) == NULL) 1226 int32_t buf_len; local 1232 if ((buf_len = bridge_port_get_iflist(bif, &b_req_buf)) < 0) 1238 for (i = 0; i < buf_len / sizeo 1152 bridge_port_find_ifstplist(uint8_t port_no, struct ifbpstpreq *buf, uint32_t buf_len) argument 1367 int32_t buf_len; local 1393 int32_t buf_len; local [all...] |