/netbsd/crypto/dist/ipsec-tools/src/racoon/ |
H A D | isakmp_xauth.c | 802 int tmplen; in xauth_ldap_init_conf() local 892 int tmplen = 0; local 902 init = racoon_malloc(tmplen); 913 init = racoon_malloc(tmplen); 1005 tmplen += 1; 1006 tmplen += strlen(usr); 1007 tmplen += 1; 1172 int tmplen = 0; local 1179 init = racoon_malloc(tmplen); 1245 tmplen += strlen(grp); [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/demos/cipher/ |
H A D | aeskeywrap.c | 61 int outlen, tmplen; in aes_wrap_encrypt() local 90 if (!EVP_EncryptFinal_ex(ctx, outbuf + outlen, &tmplen)) in aes_wrap_encrypt() 92 outlen += tmplen; in aes_wrap_encrypt() 119 int outlen, tmplen; in aes_wrap_decrypt() local 147 if (!EVP_DecryptFinal_ex(ctx, outbuf + outlen, &tmplen)) in aes_wrap_decrypt() 149 outlen += tmplen; in aes_wrap_decrypt()
|
H A D | ariacbc.c | 60 int outlen, tmplen; in aria_cbc_encrypt() local 89 if (!EVP_EncryptFinal_ex(ctx, outbuf + outlen, &tmplen)) in aria_cbc_encrypt() 91 outlen += tmplen; in aria_cbc_encrypt() 118 int outlen, tmplen, rv; in aria_cbc_decrypt() local 145 if (!EVP_DecryptFinal_ex(ctx, outbuf + outlen, &tmplen)) in aria_cbc_decrypt() 147 outlen += tmplen; in aria_cbc_decrypt()
|
H A D | aesgcm.c | 75 int outlen, tmplen; in aes_gcm_encrypt() local 122 if (!EVP_EncryptFinal_ex(ctx, outbuf, &tmplen)) in aes_gcm_encrypt()
|
H A D | aesccm.c | 76 int outlen, tmplen; in aes_ccm_encrypt() local 132 if (!EVP_EncryptFinal_ex(ctx, NULL, &tmplen)) in aes_ccm_encrypt()
|
/netbsd/lib/libedit/ |
H A D | search.c | 457 ssize_t tmplen; in cv_search() local 463 tmplen = LEN; in cv_search() 467 tmplen = c_gets(el, &tmpbuf[LEN], in cv_search() 469 if (tmplen == -1) in cv_search() 472 tmplen += LEN; in cv_search() 473 ch = tmpbuf[tmplen]; in cv_search() 474 tmpbuf[tmplen] = '\0'; in cv_search() 476 if (tmplen == LEN) { in cv_search() 501 tmpbuf[tmplen++] = '.'; in cv_search() 502 tmpbuf[tmplen++] = '*'; in cv_search() [all …]
|
/netbsd/crypto/external/bsd/openssl.old/dist/apps/ |
H A D | asn1pars.c | 69 long num, tmplen; in asn1parse_main() local 224 tmplen = num; in asn1parse_main() 229 if (j <= 0 || j >= tmplen) { in asn1parse_main() 235 tmplen -= j; in asn1parse_main() 238 at = d2i_ASN1_TYPE(NULL, &ctmpbuf, tmplen); in asn1parse_main() 255 tmplen = at->value.asn1_string->length; in asn1parse_main() 258 num = tmplen; in asn1parse_main()
|
/netbsd/crypto/external/bsd/openssl/dist/apps/ |
H A D | asn1parse.c | 74 long num, tmplen; in asn1parse_main() local 231 tmplen = num; in asn1parse_main() 236 if (j <= 0 || j >= tmplen) { in asn1parse_main() 242 tmplen -= j; in asn1parse_main() 245 at = d2i_ASN1_TYPE(NULL, &ctmpbuf, tmplen); in asn1parse_main() 262 tmplen = at->value.asn1_string->length; in asn1parse_main() 265 num = tmplen; in asn1parse_main()
|
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/asn1/ |
H A D | tasn_enc.c | 174 int tmplen; in ASN1_item_ex_i2d() local 179 tmplen = asn1_template_ex_i2d(pseqval, NULL, seqtt, -1, aclass); in ASN1_item_ex_i2d() 180 if (tmplen == -1 || (tmplen > INT_MAX - seqcontlen)) in ASN1_item_ex_i2d() 182 seqcontlen += tmplen; in ASN1_item_ex_i2d() 303 int tmplen; in asn1_template_ex_i2d() local 305 tmplen = ASN1_item_ex_i2d(&skitem, NULL, ASN1_ITEM_ptr(tt->item), in asn1_template_ex_i2d() 307 if (tmplen == -1 || (skcontlen > INT_MAX - tmplen)) in asn1_template_ex_i2d() 309 skcontlen += tmplen; in asn1_template_ex_i2d()
|
H A D | asn1_lib.c | 231 int tmplen = length; in ASN1_object_size() local 232 while (tmplen > 0) { in ASN1_object_size() 233 tmplen >>= 8; in ASN1_object_size()
|
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/x509/ |
H A D | x_x509.c | 168 int length, tmplen; in i2d_x509_aux_internal() local 180 tmplen = i2d_X509_CERT_AUX(a->aux, pp); in i2d_x509_aux_internal() 181 if (tmplen < 0) { in i2d_x509_aux_internal() 184 return tmplen; in i2d_x509_aux_internal() 186 length += tmplen; in i2d_x509_aux_internal()
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/x509/ |
H A D | x_x509.c | 228 int length, tmplen; in i2d_x509_aux_internal() local 240 tmplen = i2d_X509_CERT_AUX(a->aux, pp); in i2d_x509_aux_internal() 241 if (tmplen < 0) { in i2d_x509_aux_internal() 244 return tmplen; in i2d_x509_aux_internal() 246 length += tmplen; in i2d_x509_aux_internal()
|
/netbsd/sbin/cgdconfig/ |
H A D | pkcs5_pbkdf2.c | 78 ssize_t tmplen; in prf_iterate() local 88 tmplen = hmac("sha1", P, Plen, data, datalen, tmp, sizeof(tmp)); in prf_iterate() 90 assert(tmplen == PRF_BLOCKLEN); in prf_iterate()
|
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/dh/ |
H A D | dh_kdf.c | 31 long tmplen; in skip_asn1() local 32 i = ASN1_get_object(&q, &tmplen, &tag, &xclass, *plen); in skip_asn1() 38 q += tmplen; in skip_asn1()
|
/netbsd/external/bsd/tmux/dist/ |
H A D | layout-custom.c | 79 size_t tmplen; in layout_append() local 86 tmplen = xsnprintf(tmp, sizeof tmp, "%ux%u,%u,%u,%u", in layout_append() 89 tmplen = xsnprintf(tmp, sizeof tmp, "%ux%u,%u,%u", in layout_append() 92 if (tmplen > (sizeof tmp) - 1) in layout_append()
|
/netbsd/external/bsd/wpa/dist/src/eap_common/ |
H A D | eap_sake_common.c | 337 size_t tmplen; in eap_sake_compute_mic() local 340 tmplen = serverid_len + 1 + peerid_len + 1 + eap_len; in eap_sake_compute_mic() 341 tmp = os_malloc(tmplen); in eap_sake_compute_mic() 382 _rand, 2 * EAP_SAKE_RAND_LEN, tmp, tmplen, in eap_sake_compute_mic()
|
/netbsd/external/bsd/openldap/dist/servers/slapd/ |
H A D | filter.c | 708 ber_len_t tmplen; in filter2bv_undef_x() local 713 tmplen = tmp.bv_len; in filter2bv_undef_x() 715 fstr->bv_len += tmplen; in filter2bv_undef_x() 720 tmplen + STRLENOF( /*(*/ "*)" ) + 1, in filter2bv_undef_x() 729 ber_len_t tmplen; in filter2bv_undef_x() local 734 tmplen = tmp.bv_len; in filter2bv_undef_x() 741 tmplen + STRLENOF( /*(*/ "*)" ) + 1, in filter2bv_undef_x() 749 ber_len_t tmplen; in filter2bv_undef_x() local 754 tmplen = tmp.bv_len; in filter2bv_undef_x() 756 fstr->bv_len += tmplen; in filter2bv_undef_x() [all …]
|
/netbsd/crypto/external/bsd/openssl.old/dist/demos/evp/ |
H A D | aesgcm.c | 53 int outlen, tmplen; in aes_gcm_encrypt() local 85 int outlen, tmplen, rv; in aes_gcm_decrypt() local
|
H A D | aesccm.c | 53 int outlen, tmplen; in aes_ccm_encrypt() local 90 int outlen, tmplen, rv; in aes_ccm_decrypt() local
|
/netbsd/sys/arch/mac68k/nubus/ |
H A D | if_netdock_nubus.c | 558 u_int tmplen; in netdock_put() local 572 tmplen = totlen; in netdock_put() 573 tmplen &= 0xff00; in netdock_put() 574 tmplen |= 0x2000; in netdock_put() 575 NIC_PUT_2(sc, REG_0000, tmplen); in netdock_put() 591 tmplen = ((totlen << 8) & 0xfe00) | ((totlen >> 8) & 0x00ff); in netdock_put() 592 NIC_PUT_2(sc, REG_DATA, tmplen); in netdock_put()
|
/netbsd/crypto/external/bsd/openssh/dist/ |
H A D | sftp.c | 1902 u_int y, count = 0, cmdlen, tmplen; in complete_cmd_parse() local 1945 tmplen = strlen(tmp); in complete_cmd_parse() 1948 if (tmplen > cmdlen) in complete_cmd_parse() 2024 for (hadglob = tmplen = pwdlen = 0; tmp[tmplen] != 0; tmplen++) { in complete_match() 2026 if (tmp[tmplen] == '*' || tmp[tmplen] == '?') { in complete_match() 2027 if (tmp[tmplen] != '*' || tmp[tmplen + 1] != '\0') in complete_match() 2031 if (tmp[tmplen] == '\\' && tmp[tmplen + 1] != '\0') in complete_match() 2032 tmplen++; in complete_match() 2033 if (tmp[tmplen] == '/') in complete_match() 2056 tmplen = strlen(tmp); in complete_match() [all …]
|
/netbsd/games/warp/ |
H A D | term.h | 43 tmplen = strlen(tmpstr), write(1, tmpstr, tmplen), real_x += tmplen) 45 EXT size_t tmplen; variable
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/asn1/ |
H A D | tasn_enc.c | 177 int tmplen; in ASN1_item_ex_i2d() local 182 tmplen = asn1_template_ex_i2d(pseqval, NULL, seqtt, -1, aclass); in ASN1_item_ex_i2d() 183 if (tmplen == -1 || (tmplen > INT_MAX - seqcontlen)) in ASN1_item_ex_i2d() 185 seqcontlen += tmplen; in ASN1_item_ex_i2d()
|
H A D | asn1_lib.c | 239 int tmplen = length; in ASN1_object_size() local 240 while (tmplen > 0) { in ASN1_object_size() 241 tmplen >>= 8; in ASN1_object_size()
|
/netbsd/usr.sbin/cpuctl/arch/ |
H A D | arm.c | 196 size_t tmplen = snprintf(tmpbuf, sizeof(tmpbuf), in print_features() local 198 if (len + tmplen > 78) { in print_features()
|