/third_party/mbedtls/include/mbedtls/ |
H A D | sha3.h | 53 uint16_t MBEDTLS_PRIVATE(olen); 119 * This must be a writable buffer of length \c olen bytes. 120 * \param olen Defines the length of output buffer (in bytes). For SHA-3 224, SHA-3 256, 121 * SHA-3 384 and SHA-3 512 \c olen must equal to 28, 32, 48 and 64, 128 uint8_t *output, size_t olen); 145 * This must be a writable buffer of length \c olen bytes. 146 * \param olen Defines the length of output buffer (in bytes). For SHA-3 224, SHA-3 256, 147 * SHA-3 384 and SHA-3 512 \c olen must equal to 28, 32, 48 and 64, 156 size_t olen);
|
H A D | base64.h | 43 * \param olen number of bytes written 48 * *olen is always updated to reflect the amount 51 * written to the buffer and *olen is set to the maximum 55 * required buffer size in *olen 57 int mbedtls_base64_encode(unsigned char *dst, size_t dlen, size_t *olen, 65 * \param olen number of bytes written 71 * not correct. *olen is always updated to reflect the amount 75 * the required buffer size in *olen 77 int mbedtls_base64_decode(unsigned char *dst, size_t dlen, size_t *olen,
|
/third_party/mbedtls/3rdparty/everest/include/everest/ |
H A D | x25519.h | 72 * \param olen The number of characters written. 81 int mbedtls_x25519_make_params( mbedtls_x25519_context *ctx, size_t *olen, 131 * \param olen The number of Bytes written. 140 int mbedtls_x25519_calc_secret( mbedtls_x25519_context *ctx, size_t *olen, 154 * \param olen The number of Bytes written. 163 int mbedtls_x25519_make_public( mbedtls_x25519_context *ctx, size_t *olen,
|
H A D | everest.h | 84 * \param olen The number of characters written. 93 int mbedtls_everest_make_params( mbedtls_ecdh_context_everest *ctx, size_t *olen, 169 * \param olen The number of Bytes written. 178 int mbedtls_everest_make_public( mbedtls_ecdh_context_everest *ctx, size_t *olen, 216 * \param olen The number of Bytes written. 225 int mbedtls_everest_calc_secret( mbedtls_ecdh_context_everest *ctx, size_t *olen,
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-diolan-u2c.c | 84 int olen; /* Output buffer length */ member 102 if (!dev->olen || !dev->ocount) in diolan_usb_transfer() 107 dev->obuffer, dev->olen, &actual, in diolan_usb_transfer() 151 dev->olen = 0; in diolan_usb_transfer() 158 if (flush || dev->olen >= DIOLAN_FLUSH_LEN) in diolan_write_cmd() 166 dev->obuffer[dev->olen++] = command; in diolan_usb_cmd() 175 dev->obuffer[dev->olen++] = command; in diolan_usb_cmd_data() 176 dev->obuffer[dev->olen++] = data; in diolan_usb_cmd_data() 185 dev->obuffer[dev->olen++] = command; in diolan_usb_cmd_data2() 186 dev->obuffer[dev->olen in diolan_usb_cmd_data2() [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-diolan-u2c.c | 84 int olen; /* Output buffer length */ member 102 if (!dev->olen || !dev->ocount) in diolan_usb_transfer() 107 dev->obuffer, dev->olen, &actual, in diolan_usb_transfer() 151 dev->olen = 0; in diolan_usb_transfer() 158 if (flush || dev->olen >= DIOLAN_FLUSH_LEN) in diolan_write_cmd() 166 dev->obuffer[dev->olen++] = command; in diolan_usb_cmd() 175 dev->obuffer[dev->olen++] = command; in diolan_usb_cmd_data() 176 dev->obuffer[dev->olen++] = data; in diolan_usb_cmd_data() 185 dev->obuffer[dev->olen++] = command; in diolan_usb_cmd_data2() 186 dev->obuffer[dev->olen in diolan_usb_cmd_data2() [all...] |
/third_party/mbedtls/library/ |
H A D | entropy.c | 200 size_t olen; in entropy_gather_internal() local 214 olen = 0; in entropy_gather_internal() 216 buf, MBEDTLS_ENTROPY_MAX_GATHER, &olen)) != 0) { in entropy_gather_internal() 223 if (olen > 0) { in entropy_gather_internal() 225 buf, olen)) != 0) { in entropy_gather_internal() 228 ctx->source[i].size += olen; in entropy_gather_internal() 483 size_t len, size_t *olen) in entropy_dummy_source() 488 *olen = len; in entropy_dummy_source() 499 size_t olen = 0; in mbedtls_entropy_source_self_test_gather() local 504 buf_len - entropy_len, &olen)) ! in mbedtls_entropy_source_self_test_gather() 482 entropy_dummy_source(void *data, unsigned char *output, size_t len, size_t *olen) entropy_dummy_source() argument [all...] |
H A D | ssl_tls12_server.c | 1690 size_t *olen) in ssl_write_cid_ext() 1696 *olen = 0; in ssl_write_cid_ext() 1727 *olen = ssl->own_cid_len + 5; in ssl_write_cid_ext() 1734 size_t *olen) in ssl_write_encrypt_then_mac_ext() 1761 *olen = 0; in ssl_write_encrypt_then_mac_ext() 1773 *olen = 4; in ssl_write_encrypt_then_mac_ext() 1780 size_t *olen) in ssl_write_extended_ms_ext() 1785 *olen = 0; in ssl_write_extended_ms_ext() 1798 *olen = 4; in ssl_write_extended_ms_ext() 1805 size_t *olen) in ssl_write_session_ticket_ext() 1688 ssl_write_cid_ext(mbedtls_ssl_context *ssl, unsigned char *buf, size_t *olen) ssl_write_cid_ext() argument 1732 ssl_write_encrypt_then_mac_ext(mbedtls_ssl_context *ssl, unsigned char *buf, size_t *olen) ssl_write_encrypt_then_mac_ext() argument 1778 ssl_write_extended_ms_ext(mbedtls_ssl_context *ssl, unsigned char *buf, size_t *olen) ssl_write_extended_ms_ext() argument 1803 ssl_write_session_ticket_ext(mbedtls_ssl_context *ssl, unsigned char *buf, size_t *olen) ssl_write_session_ticket_ext() argument 1826 ssl_write_renegotiation_ext(mbedtls_ssl_context *ssl, unsigned char *buf, size_t *olen) ssl_write_renegotiation_ext() argument 1864 ssl_write_max_fragment_length_ext(mbedtls_ssl_context *ssl, unsigned char *buf, size_t *olen) ssl_write_max_fragment_length_ext() argument 1892 ssl_write_supported_point_formats_ext(mbedtls_ssl_context *ssl, unsigned char *buf, size_t *olen) ssl_write_supported_point_formats_ext() argument 1923 ssl_write_ecjpake_kkpp_ext(mbedtls_ssl_context *ssl, unsigned char *buf, size_t *olen) ssl_write_ecjpake_kkpp_ext() argument 1978 ssl_write_use_srtp_ext(mbedtls_ssl_context *ssl, unsigned char *buf, size_t *olen) ssl_write_use_srtp_ext() argument 2166 size_t olen, ext_len = 0, n; ssl_write_server_hello() local [all...] |
H A D | ccm.c | 134 size_t olen = 0; in mbedtls_ccm_crypt() local 135 ret = mbedtls_cipher_update(&ctx->cipher_ctx, ctx->ctr, 16, tmp_buf, &olen); in mbedtls_ccm_crypt() 162 size_t olen; in ccm_calculate_first_block_if_ready() local 212 ret = mbedtls_cipher_update(&ctx->cipher_ctx, ctx->y, 16, ctx->y, &olen); in ccm_calculate_first_block_if_ready() 296 size_t olen; in mbedtls_ccm_update_ad() local 340 ret = mbedtls_cipher_update(&ctx->cipher_ctx, ctx->y, 16, ctx->y, &olen); in mbedtls_ccm_update_ad() 367 size_t olen; in mbedtls_ccm_update() local 409 ret = mbedtls_cipher_update(&ctx->cipher_ctx, ctx->y, 16, ctx->y, &olen); in mbedtls_ccm_update() 444 ret = mbedtls_cipher_update(&ctx->cipher_ctx, ctx->y, 16, ctx->y, &olen); in mbedtls_ccm_update() 519 size_t olen; in ccm_auth_crypt() local [all...] |
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd-bulk/ |
H A D | protocol_lws_minimal_pmd_bulk.c | 91 int n, m, flags, olen, amount; in callback_minimal_pmd_bulk() local 175 olen = (int)len; in callback_minimal_pmd_bulk() 199 (int)((pss->position_rx - olen) + olen - (int)len)); in callback_minimal_pmd_bulk() 200 lwsl_hexdump_notice(in, (unsigned int)olen); in callback_minimal_pmd_bulk()
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
H A D | dln2-adc.c | 149 int olen = sizeof(count); in dln2_adc_get_chan_count() local 152 &port, sizeof(port), &count, &olen); in dln2_adc_get_chan_count() 157 if (olen < sizeof(count)) in dln2_adc_get_chan_count() 202 int olen = sizeof(conflict); in dln2_adc_set_port_enabled() local 209 &conflict, &olen); in dln2_adc_set_port_enabled() 213 if (conflict_out && enable && olen >= sizeof(conflict)) in dln2_adc_set_port_enabled() 217 if (enable && olen < sizeof(conflict)) in dln2_adc_set_port_enabled() 253 int olen = sizeof(value); in dln2_adc_read() local 281 &value, &olen); in dln2_adc_read() 286 if (olen < sizeo in dln2_adc_read() 307 int olen = sizeof(*get_all_vals); dln2_adc_read_all() local [all...] |
/kernel/linux/linux-6.6/drivers/iio/adc/ |
H A D | dln2-adc.c | 149 int olen = sizeof(count); in dln2_adc_get_chan_count() local 152 &port, sizeof(port), &count, &olen); in dln2_adc_get_chan_count() 157 if (olen < sizeof(count)) in dln2_adc_get_chan_count() 202 int olen = sizeof(conflict); in dln2_adc_set_port_enabled() local 209 &conflict, &olen); in dln2_adc_set_port_enabled() 213 if (conflict_out && enable && olen >= sizeof(conflict)) in dln2_adc_set_port_enabled() 217 if (enable && olen < sizeof(conflict)) in dln2_adc_set_port_enabled() 253 int olen = sizeof(value); in dln2_adc_read() local 281 &value, &olen); in dln2_adc_read() 286 if (olen < sizeo in dln2_adc_read() 307 int olen = sizeof(*get_all_vals); dln2_adc_read_all() local [all...] |
/third_party/pulseaudio/speex/libspeexdsp/ |
H A D | resample.c | 737 spx_uint32_t olen = old_length; in update_filter() local 743 olen = old_length + 2*st->magic_samples[i]; in update_filter() 750 if (st->filt_len > olen) in update_filter() 754 for (j=0;j<olen-1;j++) in update_filter() 755 st->mem[i*st->mem_alloc_size+(st->filt_len-2-j)] = st->mem[i*st->mem_alloc_size+(olen-2-j)]; in update_filter() 760 st->last_sample[i] += (st->filt_len - olen)/2; in update_filter() 763 st->magic_samples[i] = (olen - st->filt_len)/2; in update_filter() 934 spx_uint32_t olen = *out_len; in speex_resampler_process_int() local 941 olen -= speex_resampler_magic(st, channel_index, &out, olen); in speex_resampler_process_int() 977 spx_uint32_t olen = *out_len; speex_resampler_process_float() local [all...] |
/third_party/mbedtls/programs/pkey/ |
H A D | pk_encrypt.c | 42 size_t i, olen = 0; in main() local 107 buf, &olen, sizeof(buf), in main() 124 for (i = 0; i < olen; i++) { in main()
|
/third_party/node/deps/base64/base64/lib/arch/generic/32/ |
H A D | dec_loop.c | 33 dec_loop_generic_32 (const uint8_t **s, size_t *slen, uint8_t **o, size_t *olen) in dec_loop_generic_32() argument 46 *olen += rounds * 3; // 3 bytes produced per round in dec_loop_generic_32() 85 *olen -= rounds * 3; in dec_loop_generic_32()
|
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | ciphercommon_gcm.c | 111 static int getivgen(PROV_GCM_CTX *ctx, unsigned char *out, size_t olen) in getivgen() argument 117 if (olen == 0 || olen > ctx->ivlen) in getivgen() 118 olen = ctx->ivlen; in getivgen() 119 memcpy(out, ctx->iv + ctx->ivlen - olen, olen); in getivgen() 397 size_t olen = 0; in gcm_cipher_internal() local 443 olen = len; in gcm_cipher_internal() 447 *padlen = olen; in gcm_cipher_internal()
|
/third_party/node/deps/openssl/openssl/crypto/cms/ |
H A D | cms_pwri.c | 249 size_t olen; in kek_wrap_key() local 255 olen = (inlen + 4 + blocklen - 1) / blocklen; in kek_wrap_key() 256 olen *= blocklen; in kek_wrap_key() 257 if (olen < 2 * blocklen) { in kek_wrap_key() 273 if (olen > inlen + 4 in kek_wrap_key() 275 olen - 4 - inlen, 0) <= 0) in kek_wrap_key() 278 if (!EVP_EncryptUpdate(ctx, out, &dummy, out, olen) in kek_wrap_key() 279 || !EVP_EncryptUpdate(ctx, out, &dummy, out, olen)) in kek_wrap_key() 283 *outlen = olen; in kek_wrap_key()
|
/third_party/openssl/crypto/cms/ |
H A D | cms_pwri.c | 249 size_t olen; in kek_wrap_key() local 255 olen = (inlen + 4 + blocklen - 1) / blocklen; in kek_wrap_key() 256 olen *= blocklen; in kek_wrap_key() 257 if (olen < 2 * blocklen) { in kek_wrap_key() 273 if (olen > inlen + 4 in kek_wrap_key() 275 olen - 4 - inlen, 0) <= 0) in kek_wrap_key() 278 if (!EVP_EncryptUpdate(ctx, out, &dummy, out, olen) in kek_wrap_key() 279 || !EVP_EncryptUpdate(ctx, out, &dummy, out, olen)) in kek_wrap_key() 283 *outlen = olen; in kek_wrap_key()
|
/third_party/openssl/providers/implementations/ciphers/ |
H A D | ciphercommon_gcm.c | 111 static int getivgen(PROV_GCM_CTX *ctx, unsigned char *out, size_t olen) in getivgen() argument 117 if (olen == 0 || olen > ctx->ivlen) in getivgen() 118 olen = ctx->ivlen; in getivgen() 119 memcpy(out, ctx->iv + ctx->ivlen - olen, olen); in getivgen() 392 size_t olen = 0; in gcm_cipher_internal() local 438 olen = len; in gcm_cipher_internal() 442 *padlen = olen; in gcm_cipher_internal()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | uverbs.h | 58 size_t ilen, size_t olen) in ib_uverbs_init_udata() 63 udata->outlen = olen; in ib_uverbs_init_udata() 70 size_t ilen, size_t olen) in ib_uverbs_init_udata_buf_or_null() 73 ilen ? ibuf : NULL, olen ? obuf : NULL, in ib_uverbs_init_udata_buf_or_null() 74 ilen, olen); in ib_uverbs_init_udata_buf_or_null() 55 ib_uverbs_init_udata(struct ib_udata *udata, const void __user *ibuf, void __user *obuf, size_t ilen, size_t olen) ib_uverbs_init_udata() argument 67 ib_uverbs_init_udata_buf_or_null(struct ib_udata *udata, const void __user *ibuf, void __user *obuf, size_t ilen, size_t olen) ib_uverbs_init_udata_buf_or_null() argument
|
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | uverbs.h | 58 size_t ilen, size_t olen) in ib_uverbs_init_udata() 63 udata->outlen = olen; in ib_uverbs_init_udata() 70 size_t ilen, size_t olen) in ib_uverbs_init_udata_buf_or_null() 73 ilen ? ibuf : NULL, olen ? obuf : NULL, in ib_uverbs_init_udata_buf_or_null() 74 ilen, olen); in ib_uverbs_init_udata_buf_or_null() 55 ib_uverbs_init_udata(struct ib_udata *udata, const void __user *ibuf, void __user *obuf, size_t ilen, size_t olen) ib_uverbs_init_udata() argument 67 ib_uverbs_init_udata_buf_or_null(struct ib_udata *udata, const void __user *ibuf, void __user *obuf, size_t ilen, size_t olen) ib_uverbs_init_udata_buf_or_null() argument
|
/third_party/curl/lib/ |
H A D | escape.h | 38 char **ostring, size_t *olen, 42 unsigned char *out, size_t olen); /* output buffer size */
|
/third_party/node/deps/base64/base64/lib/arch/avx512/ |
H A D | codec.c | 25 enc_loop_avx512(&s, &slen, &o, &olen); in BASE64_ENC_FUNCTION() 37 dec_loop_avx2(&s, &slen, &o, &olen); in BASE64_DEC_FUNCTION()
|
/third_party/node/deps/base64/base64/lib/arch/sse41/ |
H A D | codec.c | 40 enc_loop_ssse3(&s, &slen, &o, &olen); in BASE64_ENC_FUNCTION() 51 dec_loop_ssse3(&s, &slen, &o, &olen); in BASE64_DEC_FUNCTION()
|
/third_party/node/deps/base64/base64/lib/arch/avx2/ |
H A D | codec.c | 40 enc_loop_avx2(&s, &slen, &o, &olen); in BASE64_ENC_FUNCTION() 51 dec_loop_avx2(&s, &slen, &o, &olen); in BASE64_DEC_FUNCTION()
|