Home
last modified time | relevance | path

Searched refs:ilen (Results 51 - 75 of 84) sorted by relevance

1234

/third_party/node/deps/openssl/openssl/crypto/pem/
H A Dpem_lib.c420 int ilen = (int) len; /* EVP_DecryptUpdate etc. take int lengths */ in PEM_do_header() local
458 ok = EVP_DecryptUpdate(ctx, data, &ilen, data, ilen); in PEM_do_header()
461 *plen = ilen; in PEM_do_header()
462 ok = EVP_DecryptFinal_ex(ctx, &(data[ilen]), &ilen); in PEM_do_header()
465 *plen += ilen; in PEM_do_header()
/third_party/openssl/crypto/pem/
H A Dpem_lib.c420 int ilen = (int) len; /* EVP_DecryptUpdate etc. take int lengths */ in PEM_do_header() local
458 ok = EVP_DecryptUpdate(ctx, data, &ilen, data, ilen); in PEM_do_header()
461 *plen = ilen; in PEM_do_header()
462 ok = EVP_DecryptFinal_ex(ctx, &(data[ilen]), &ilen); in PEM_do_header()
465 *plen += ilen; in PEM_do_header()
/third_party/mbedtls/programs/util/
H A Dpem2der.c60 int convert_pem_to_der(const unsigned char *input, size_t ilen, in convert_pem_to_der() argument
64 const unsigned char *s1, *s2, *end = input + ilen; in convert_pem_to_der()
/third_party/mbedtls/library/
H A Ddhm.c290 const unsigned char *input, size_t ilen) in mbedtls_dhm_read_public()
294 if (ilen < 1 || ilen > mbedtls_dhm_get_len(ctx)) { in mbedtls_dhm_read_public()
298 if ((ret = mbedtls_mpi_read_binary(&ctx->GY, input, ilen)) != 0) { in mbedtls_dhm_read_public()
289 mbedtls_dhm_read_public(mbedtls_dhm_context *ctx, const unsigned char *input, size_t ilen) mbedtls_dhm_read_public() argument
H A Dpk.c1403 const unsigned char *input, size_t ilen, in mbedtls_pk_decrypt()
1415 return ctx->pk_info->decrypt_func(ctx, input, ilen, in mbedtls_pk_decrypt()
1423 const unsigned char *input, size_t ilen, in mbedtls_pk_encrypt()
1435 return ctx->pk_info->encrypt_func(ctx, input, ilen, in mbedtls_pk_encrypt()
1402 mbedtls_pk_decrypt(mbedtls_pk_context *ctx, const unsigned char *input, size_t ilen, unsigned char *output, size_t *olen, size_t osize, int (*f_rng)(void *, unsigned char *, size_t), void *p_rng) mbedtls_pk_decrypt() argument
1422 mbedtls_pk_encrypt(mbedtls_pk_context *ctx, const unsigned char *input, size_t ilen, unsigned char *output, size_t *olen, size_t osize, int (*f_rng)(void *, unsigned char *, size_t), void *p_rng) mbedtls_pk_encrypt() argument
H A Decp.c771 const unsigned char *buf, size_t ilen) in mbedtls_ecp_point_read_binary()
775 if (ilen < 1) { in mbedtls_ecp_point_read_binary()
783 if (plen != ilen) { in mbedtls_ecp_point_read_binary()
801 if (ilen == 1) { in mbedtls_ecp_point_read_binary()
808 if (ilen < 1 + plen) { in mbedtls_ecp_point_read_binary()
817 if (ilen != 1 + plen * 2) { in mbedtls_ecp_point_read_binary()
823 if (ilen != 1 + plen) { in mbedtls_ecp_point_read_binary()
769 mbedtls_ecp_point_read_binary(const mbedtls_ecp_group *grp, mbedtls_ecp_point *pt, const unsigned char *buf, size_t ilen) mbedtls_ecp_point_read_binary() argument
/third_party/FreeBSD/sys/dev/usb/net/
H A Dif_axe.c801 if ((hdr.len ^ hdr.ilen) != sc->sc_lenmask) { in axe_rx_frame()
826 csum_hdr.ilen = le16toh(csum_hdr.ilen); in axe_rx_frame()
829 AXE_CSUM_RXBYTES(csum_hdr.ilen)) != in axe_rx_frame()
941 hdr.ilen = ~hdr.len; in axe_bulk_write_callback()
H A Dif_axereg.h288 uint16_t ilen; member
313 uint16_t ilen; member
/third_party/libwebsockets/plugins/ssh-base/
H A Dkex-25519.c200 _genhash_update_len(struct lws_genhash_ctx *ctx, const void *input, size_t ilen) in _genhash_update_len() argument
204 lws_p32((uint8_t *)&be, (uint32_t)ilen); in _genhash_update_len()
208 if (lws_genhash_update(ctx, input, ilen)) in _genhash_update_len()
/third_party/node/deps/openssl/openssl/apps/lib/
H A Dhttp_server.c49 int ilen = len > MAXERRLEN ? MAXERRLEN : len; in print_syslog() local
51 syslog(level, "%.*s", ilen, str); in print_syslog()
53 return ilen; in print_syslog()
H A Ds_cb.c1148 int ilen = (int) outlen; in hexencode() local
1150 if (outlen < len || ilen < 0 || outlen != (size_t)ilen) { in hexencode()
1155 cp = out = app_malloc(ilen, "TLSA hex data buffer"); in hexencode()
/third_party/openssl/apps/lib/
H A Dhttp_server.c49 int ilen = len > MAXERRLEN ? MAXERRLEN : len; in print_syslog() local
51 syslog(level, "%.*s", ilen, str); in print_syslog()
53 return ilen; in print_syslog()
H A Ds_cb.c1148 int ilen = (int) outlen; in hexencode() local
1150 if (outlen < len || ilen < 0 || outlen != (size_t)ilen) { in hexencode()
1155 cp = out = app_malloc(ilen, "TLSA hex data buffer"); in hexencode()
/third_party/mbedtls/include/mbedtls/
H A Dpk.h925 * \param ilen Input size
940 const unsigned char *input, size_t ilen,
949 * \param ilen Message size
966 const unsigned char *input, size_t ilen,
H A Decp.h794 * of length \p ilen Bytes.
795 * \param ilen The length of the input buffer \p buf in Bytes.
805 const unsigned char *buf, size_t ilen);
H A Dssl.h2965 * \param ilen Length of info in bytes
2972 const unsigned char *info, size_t ilen);
2982 * \param ilen Length of info in bytes
2989 const unsigned char *info, size_t ilen);
3036 * \param ilen Length of info in bytes
3046 size_t ilen);
/third_party/python/Lib/test/
H A Dtest_marshal.py310 ilen = len(interleaved)
316 if ilen:
322 if ilen:
323 f.read(ilen)
/third_party/mksh/
H A Dmisc.c2219 size_t ilen, olen, nlen, elen; in c_cd() local
2236 * ilen = part of current_wd before wp[0] in c_cd()
2241 ilen = cp - current_wd; in c_cd()
2244 elen = strlen(current_wd + ilen + olen) + 1; in c_cd()
2245 dir = allocd = alloc(ilen + nlen + elen, ATEMP); in c_cd()
2246 memcpy(dir, current_wd, ilen); in c_cd()
2247 memcpy(dir + ilen, wp[1], nlen); in c_cd()
2248 memcpy(dir + ilen + nlen, current_wd + ilen + olen, elen); in c_cd()
/third_party/node/deps/brotli/c/enc/
H A Dbackward_references_hq.c335 const size_t ilen = nodes[pos].dcode_insert_length & 0x7FFFFFF; in ComputeDistanceShortcut() local
349 return nodes[pos - clen - ilen].u.shortcut; in ComputeDistanceShortcut()
367 const size_t ilen = nodes[p].dcode_insert_length & 0x7FFFFFF; in ComputeDistanceCache() local
371 /* Because of prerequisite, p >= clen + ilen >= 2. */ in ComputeDistanceCache()
372 p = nodes[p - clen - ilen].u.shortcut; in ComputeDistanceCache()
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dbackward_references_hq.c335 const size_t ilen = nodes[pos].dcode_insert_length & 0x7FFFFFF; in ComputeDistanceShortcut() local
349 return nodes[pos - clen - ilen].u.shortcut; in ComputeDistanceShortcut()
367 const size_t ilen = nodes[p].dcode_insert_length & 0x7FFFFFF; in ComputeDistanceCache() local
371 /* Because of prerequisite, p >= clen + ilen >= 2. */ in ComputeDistanceCache()
372 p = nodes[p - clen - ilen].u.shortcut; in ComputeDistanceCache()
/third_party/mbedtls/tests/src/test_helpers/
H A Dssl_helpers.c1087 size_t ilen, in mbedtls_test_psa_cipher_encrypt_helper()
1110 status = psa_cipher_update(&cipher_op, input, ilen, output, ilen, olen); in mbedtls_test_psa_cipher_encrypt_helper()
1116 status = psa_cipher_finish(&cipher_op, output + *olen, ilen - *olen, in mbedtls_test_psa_cipher_encrypt_helper()
1127 iv, iv_len, input, ilen, output, olen); in mbedtls_test_psa_cipher_encrypt_helper()
1083 mbedtls_test_psa_cipher_encrypt_helper(mbedtls_ssl_transform *transform, const unsigned char *iv, size_t iv_len, const unsigned char *input, size_t ilen, unsigned char *output, size_t *olen) mbedtls_test_psa_cipher_encrypt_helper() argument
/third_party/mbedtls/tests/include/test/
H A Dssl_helpers.h509 size_t ilen,
/third_party/node/deps/openssl/openssl/ssl/statem/
H A Dextensions_srvr.c44 unsigned int ilen; in tls_parse_ctos_renegotiate() local
48 if (!PACKET_get_1(pkt, &ilen) in tls_parse_ctos_renegotiate()
49 || !PACKET_get_bytes(pkt, &data, ilen)) { in tls_parse_ctos_renegotiate()
55 if (ilen != s->s3.previous_client_finished_len) { in tls_parse_ctos_renegotiate()
H A Dextensions_clnt.c1248 size_t ilen; in tls_parse_stoc_renegotiate() local
1261 if (!PACKET_get_1_len(pkt, &ilen)) { in tls_parse_stoc_renegotiate()
1267 if (PACKET_remaining(pkt) != ilen) { in tls_parse_stoc_renegotiate()
1273 if (ilen != expected_len) { in tls_parse_stoc_renegotiate()
/third_party/openssl/ssl/statem/
H A Dextensions_srvr.c44 unsigned int ilen; in tls_parse_ctos_renegotiate() local
48 if (!PACKET_get_1(pkt, &ilen) in tls_parse_ctos_renegotiate()
49 || !PACKET_get_bytes(pkt, &data, ilen)) { in tls_parse_ctos_renegotiate()
55 if (ilen != s->s3.previous_client_finished_len) { in tls_parse_ctos_renegotiate()

Completed in 73 milliseconds

1234