/freebsd/crypto/openssl/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()
|
/freebsd/contrib/unifdef/win32/ |
H A D | win32.c | 65 int outlen, cpylen, tmplen; in c99_snprintf() local 78 tmplen = outlen + 2; in c99_snprintf() 80 tmp = (char *)malloc(tmplen); in c99_snprintf() 84 _vsnprintf(tmp, tmplen, format, ap); in c99_snprintf()
|
/freebsd/contrib/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 …]
|
H A D | common.c | 826 int tmplen; in ed_command() local 828 tmplen = c_gets(el, tmpbuf, L"\n: "); in ed_command() 831 if (tmplen < 0 || (tmpbuf[tmplen] = 0, parse_line(el, tmpbuf)) == -1) in ed_command()
|
/freebsd/crypto/openssl/apps/ |
H A D | asn1parse.c | 74 long num, tmplen; in asn1parse_main() local 232 tmplen = num; in asn1parse_main() 237 if (j <= 0 || j >= tmplen) { in asn1parse_main() 243 tmplen -= j; in asn1parse_main() 246 at = d2i_ASN1_TYPE(NULL, &ctmpbuf, tmplen); in asn1parse_main() 263 tmplen = at->value.asn1_string->length; in asn1parse_main() 266 num = tmplen; in asn1parse_main()
|
H A D | storeutl.c | 215 long tmplen = 0; in storeutl_main() local 217 if ((fingerprint = OPENSSL_hexstr2buf(opt_arg(), &tmplen)) in storeutl_main() 224 fingerprintlen = (size_t)tmplen; in storeutl_main()
|
H A D | dgst.c | 583 size_t tmplen; in do_fp() local 586 if (!EVP_DigestSignFinal(ctx, NULL, &tmplen)) { in do_fp() 590 if (tmplen > BUFSIZE) { in do_fp() 591 len = tmplen; in do_fp()
|
/freebsd/sys/kgssapi/krb5/ |
H A D | kcrypto.c | 161 size_t tmplen; in krb5_n_fold() local 166 tmplen = lcm(inlen, outlen); in krb5_n_fold() 167 tmp = malloc(tmplen, M_GSSAPI, M_WAITOK); in krb5_n_fold() 170 for (i = inlen, p = tmp; i < tmplen; i += inlen, p += inlen) { in krb5_n_fold() 174 for (i = 0, p = tmp; i < tmplen; i += outlen, p += outlen) { in krb5_n_fold()
|
/freebsd/crypto/openssl/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()
|
/freebsd/libexec/getty/ |
H A D | chat.c | 274 static int tmplen = 0; in cleanstr() local 276 if (tmplen < l * 4 + 1) in cleanstr() 277 tmp = realloc(tmp, tmplen = l * 4 + 1); in cleanstr() 280 tmplen = 0; in cleanstr()
|
/freebsd/contrib/wpa/src/eap_common/ |
H A D | eap_sake_common.c | 344 size_t tmplen; in eap_sake_compute_mic() local 347 tmplen = serverid_len + 1 + peerid_len + 1 + eap_len; in eap_sake_compute_mic() 348 tmp = os_malloc(tmplen); in eap_sake_compute_mic() 389 _rand, 2 * EAP_SAKE_RAND_LEN, tmp, tmplen, in eap_sake_compute_mic()
|
/freebsd/crypto/openssh/ |
H A D | sftp.c | 1907 u_int y, count = 0, cmdlen, tmplen; in complete_cmd_parse() local 1950 tmplen = strlen(tmp); in complete_cmd_parse() 1953 if (tmplen > cmdlen) in complete_cmd_parse() 2006 u_int i, hadglob, pwdlen, len, tmplen, filelen, cesc, isesc, isabs; in complete_match() local 2027 for (hadglob = tmplen = pwdlen = 0; tmp[tmplen] != 0; tmplen++) { in complete_match() 2029 if (tmp[tmplen] == '*' || tmp[tmplen] == '?') { in complete_match() 2030 if (tmp[tmplen] != '*' || tmp[tmplen + 1] != '\0') in complete_match() 2034 if (tmp[tmplen] == '\\' && tmp[tmplen + 1] != '\0') in complete_match() 2035 tmplen++; in complete_match() 2036 if (tmp[tmplen] == '/') in complete_match() [all …]
|
/freebsd/crypto/openssl/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()
|
H A D | tasn_dec.c | 175 long tmplen; in asn1_item_embed_d2i() local 338 tmplen = len; in asn1_item_embed_d2i() 354 len = tmplen - (p - *in); in asn1_item_embed_d2i()
|
/freebsd/crypto/openssl/crypto/ |
H A D | packet.c | 272 size_t tmplen = packlen; in wpacket_intern_close() local 275 while ((tmplen = tmplen >> 8) > 0) in wpacket_intern_close()
|
/freebsd/sys/dev/mpi3mr/ |
H A D | mpi3mr_app.c | 788 U32 tmplen = 0, erbsz = MPI3MR_SENSEBUF_SZ, din_sz = 0, dout_sz = 0; in mpi3mr_app_mptcmds() local 967 tmplen = min(dma_buff->kern_buf_len, dma_buff->user_buf_len); in mpi3mr_app_mptcmds() 968 if (copyin(dma_buff->user_buf, dma_buff->kern_buf, tmplen)) { in mpi3mr_app_mptcmds() 981 tmplen = min(dma_buff->kern_buf_len, dma_buff->user_buf_len); in mpi3mr_app_mptcmds() 982 dma_buff->kern_buf_len = tmplen; in mpi3mr_app_mptcmds() 1130 tmplen = min(dma_buff->kern_buf_len, dma_buff->user_buf_len); in mpi3mr_app_mptcmds() 1131 if (copyout(mpirepbuf, dma_buff->user_buf, tmplen)) { in mpi3mr_app_mptcmds() 1142 tmplen = min(erbsz, dma_buff->user_buf_len); in mpi3mr_app_mptcmds() 1143 if (copyout(kern_erb, dma_buff->user_buf, tmplen)) { in mpi3mr_app_mptcmds() 1161 tmplen = 0; in mpi3mr_app_mptcmds() [all …]
|
/freebsd/usr.bin/sed/ |
H A D | compile.c | 394 int tmplen; in dohex() local 398 tmplen = 1; in dohex() 400 ++tmplen; in dohex() 401 if (hex2char(in, out, tmplen) == 0) { in dohex() 402 *len = tmplen; in dohex()
|
/freebsd/usr.sbin/autofs/ |
H A D | common.c | 679 size_t tmplen; in node_find_x() local 685 tmplen = strlen(tmp); in node_find_x() 686 if (strncmp(tmp, path, tmplen) != 0) { in node_find_x() 690 if (path[tmplen] != '/' && path[tmplen] != '\0') { in node_find_x()
|
/freebsd/crypto/openssl/test/ |
H A D | evp_test.c | 696 int ok = 0, tmplen, chunklen, tmpflen, i; in cipher_test_enc() local 870 if (!EVP_CipherUpdate(ctx, NULL, &tmplen, NULL, out_len)) { in cipher_test_enc() 937 tmplen = 0; in cipher_test_enc() 940 if (!EVP_CipherUpdate(ctx, tmp + out_misalign, &tmplen, in, in_len)) in cipher_test_enc() 947 tmplen += chunklen; in cipher_test_enc() 952 if (!EVP_CipherUpdate(ctx, tmp + out_misalign + tmplen, &chunklen, in cipher_test_enc() 955 tmplen += chunklen; in cipher_test_enc() 960 if (!EVP_CipherUpdate(ctx, tmp + out_misalign + tmplen, &chunklen, in cipher_test_enc() 963 tmplen += chunklen; in cipher_test_enc() 966 if (!EVP_CipherFinal_ex(ctx, tmp + out_misalign + tmplen, in cipher_test_enc() [all...] |
/freebsd/contrib/bmake/ |
H A D | meta.c | 1092 static size_t tmplen = 0; in meta_oodate() local 1151 tmplen = strlen(tmpdir); in meta_oodate() 1387 if (tmplen > 0 && strncmp(p, tmpdir, tmplen) == 0) in meta_oodate()
|
/freebsd/libexec/bootpd/ |
H A D | readfile.c | 1734 u_int tmplen; in prs_haddr() local 1743 tmplen = sizeof(tmpstr); in prs_haddr() 1744 get_string(src, tmpstr, &tmplen); in prs_haddr()
|