/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | mac_lib.c | 247 unsigned char *out, size_t outsize, size_t *outlen) in EVP_Q_mac() 255 if (outlen != NULL) in EVP_Q_mac() 256 *outlen = 0; in EVP_Q_mac() 295 if (res != NULL && outlen != NULL) in EVP_Q_mac() 296 *outlen = len; in EVP_Q_mac() 242 EVP_Q_mac(OSSL_LIB_CTX *libctx, const char *name, const char *propq, const char *subalg, const OSSL_PARAM *params, const void *key, size_t keylen, const unsigned char *data, size_t datalen, unsigned char *out, size_t outsize, size_t *outlen) EVP_Q_mac() argument
|
H A D | ec_ctrl.c | 147 int EVP_PKEY_CTX_set_ecdh_kdf_outlen(EVP_PKEY_CTX *ctx, int outlen) in EVP_PKEY_CTX_set_ecdh_kdf_outlen() argument 150 size_t len = outlen; in EVP_PKEY_CTX_set_ecdh_kdf_outlen() 157 if (outlen <= 0) { in EVP_PKEY_CTX_set_ecdh_kdf_outlen()
|
/third_party/openssl/crypto/evp/ |
H A D | mac_lib.c | 247 unsigned char *out, size_t outsize, size_t *outlen) in EVP_Q_mac() 255 if (outlen != NULL) in EVP_Q_mac() 256 *outlen = 0; in EVP_Q_mac() 295 if (res != NULL && outlen != NULL) in EVP_Q_mac() 296 *outlen = len; in EVP_Q_mac() 242 EVP_Q_mac(OSSL_LIB_CTX *libctx, const char *name, const char *propq, const char *subalg, const OSSL_PARAM *params, const void *key, size_t keylen, const unsigned char *data, size_t datalen, unsigned char *out, size_t outsize, size_t *outlen) EVP_Q_mac() argument
|
H A D | ec_ctrl.c | 147 int EVP_PKEY_CTX_set_ecdh_kdf_outlen(EVP_PKEY_CTX *ctx, int outlen) in EVP_PKEY_CTX_set_ecdh_kdf_outlen() argument 150 size_t len = outlen; in EVP_PKEY_CTX_set_ecdh_kdf_outlen() 157 if (outlen <= 0) { in EVP_PKEY_CTX_set_ecdh_kdf_outlen()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | tlsv1_server_read.c | 602 size_t outlen, outbuflen; in tls_process_client_key_exchange_rsa() local 623 outbuflen = outlen = end - pos; in tls_process_client_key_exchange_rsa() 624 out = os_malloc(outlen >= TLS_PRE_MASTER_SECRET_LEN ? in tls_process_client_key_exchange_rsa() 625 outlen : TLS_PRE_MASTER_SECRET_LEN); in tls_process_client_key_exchange_rsa() 652 out, &outlen) < 0) { in tls_process_client_key_exchange_rsa() 654 "PreMasterSecret (encr_len=%u outlen=%lu)", in tls_process_client_key_exchange_rsa() 655 encr_len, (unsigned long) outlen); in tls_process_client_key_exchange_rsa() 659 if (!use_random && outlen != TLS_PRE_MASTER_SECRET_LEN) { in tls_process_client_key_exchange_rsa() 661 (unsigned long) outlen); in tls_process_client_key_exchange_rsa() 673 outlen in tls_process_client_key_exchange_rsa() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
H A D | tlsv1_server_read.c | 602 size_t outlen, outbuflen; in tls_process_client_key_exchange_rsa() local 623 outbuflen = outlen = end - pos; in tls_process_client_key_exchange_rsa() 624 out = os_malloc(outlen >= TLS_PRE_MASTER_SECRET_LEN ? in tls_process_client_key_exchange_rsa() 625 outlen : TLS_PRE_MASTER_SECRET_LEN); in tls_process_client_key_exchange_rsa() 652 out, &outlen) < 0) { in tls_process_client_key_exchange_rsa() 654 "PreMasterSecret (encr_len=%u outlen=%lu)", in tls_process_client_key_exchange_rsa() 655 encr_len, (unsigned long) outlen); in tls_process_client_key_exchange_rsa() 659 if (!use_random && outlen != TLS_PRE_MASTER_SECRET_LEN) { in tls_process_client_key_exchange_rsa() 661 (unsigned long) outlen); in tls_process_client_key_exchange_rsa() 673 outlen in tls_process_client_key_exchange_rsa() [all...] |
/kernel/linux/linux-6.6/fs/fat/ |
H A D | namei_vfat.c | 512 int *longlen, int *outlen, int escape, int utf8, in xlate_to_uni() 521 *outlen = utf8s_to_utf16s(name, len, UTF16_HOST_ENDIAN, in xlate_to_uni() 523 if (*outlen < 0) in xlate_to_uni() 524 return *outlen; in xlate_to_uni() 525 else if (*outlen > FAT_LFN_LEN) in xlate_to_uni() 528 op = &outname[*outlen * sizeof(wchar_t)]; in xlate_to_uni() 530 for (i = 0, ip = name, op = outname, *outlen = 0; in xlate_to_uni() 531 i < len && *outlen < FAT_LFN_LEN; in xlate_to_uni() 532 *outlen += 1) { in xlate_to_uni() 561 *longlen = *outlen; in xlate_to_uni() 511 xlate_to_uni(const unsigned char *name, int len, unsigned char *outname, int *longlen, int *outlen, int escape, int utf8, struct nls_table *nls) xlate_to_uni() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | ef10.c | 92 size_t outlen; in efx_ef10_get_vf_index() local 96 sizeof(outbuf), &outlen); in efx_ef10_get_vf_index() 99 if (outlen < sizeof(outbuf)) in efx_ef10_get_vf_index() 111 size_t outlen; in efx_ef10_init_datapath_caps() local 117 outbuf, sizeof(outbuf), &outlen); in efx_ef10_init_datapath_caps() 120 if (outlen < MC_CMD_GET_CAPABILITIES_OUT_LEN) { in efx_ef10_init_datapath_caps() 129 if (outlen >= MC_CMD_GET_CAPABILITIES_V2_OUT_LEN) { in efx_ef10_init_datapath_caps() 153 if (outlen >= MC_CMD_GET_CAPABILITIES_V3_OUT_LEN) { in efx_ef10_init_datapath_caps() 167 if (outlen >= MC_CMD_GET_CAPABILITIES_V4_OUT_LEN) { in efx_ef10_init_datapath_caps() 188 size_t outlen; in efx_ef10_read_licensed_features() local 328 size_t outlen; efx_ef10_get_mac_address_pf() local 349 size_t outlen; efx_ef10_get_mac_address_vf() local 741 size_t outlen; efx_ef10_alloc_piobufs() local 991 size_t outlen; efx_ef10_vadaptor_query() local 2066 efx_ef10_mcdi_read_response(struct efx_nic *efx, efx_dword_t *outbuf, size_t offset, size_t outlen) efx_ef10_mcdi_read_response() argument 3369 size_t outlen; efx_ef10_poll_bist() local 3473 size_t size, erase_size, outlen; efx_ef10_mtd_probe_partition() local 3541 size_t outlen, n_parts_total, i, n_parts; efx_ef10_mtd_probe() local 3762 size_t inlen, outlen; efx_ef10_set_udp_tnl_ports() local [all...] |
H A D | mcdi_mon.c | 310 size_t outlen; in efx_mcdi_mon_probe() local 322 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_mon_probe() 325 if (outlen < MC_CMD_SENSOR_INFO_OUT_LENMIN) in efx_mcdi_mon_probe() 386 &outlen); in efx_mcdi_mon_probe() 389 if (outlen < MC_CMD_SENSOR_INFO_OUT_LENMIN) { in efx_mcdi_mon_probe() 399 if (outlen < in efx_mcdi_mon_probe()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | ef10.c | 92 size_t outlen; in efx_ef10_get_vf_index() local 96 sizeof(outbuf), &outlen); in efx_ef10_get_vf_index() 99 if (outlen < sizeof(outbuf)) in efx_ef10_get_vf_index() 111 size_t outlen; in efx_ef10_init_datapath_caps() local 117 outbuf, sizeof(outbuf), &outlen); in efx_ef10_init_datapath_caps() 120 if (outlen < MC_CMD_GET_CAPABILITIES_OUT_LEN) { in efx_ef10_init_datapath_caps() 129 if (outlen >= MC_CMD_GET_CAPABILITIES_V2_OUT_LEN) { in efx_ef10_init_datapath_caps() 153 if (outlen >= MC_CMD_GET_CAPABILITIES_V3_OUT_LEN) { in efx_ef10_init_datapath_caps() 167 if (outlen >= MC_CMD_GET_CAPABILITIES_V4_OUT_LEN) { in efx_ef10_init_datapath_caps() 188 size_t outlen; in efx_ef10_read_licensed_features() local 328 size_t outlen; efx_ef10_get_mac_address_pf() local 349 size_t outlen; efx_ef10_get_mac_address_vf() local 740 size_t outlen; efx_ef10_alloc_piobufs() local 990 size_t outlen; efx_ef10_vadaptor_query() local 2082 efx_ef10_mcdi_read_response(struct efx_nic *efx, efx_dword_t *outbuf, size_t offset, size_t outlen) efx_ef10_mcdi_read_response() argument 3400 size_t outlen; efx_ef10_poll_bist() local 3504 size_t size, erase_size, outlen; efx_ef10_mtd_probe_partition() local 3572 size_t outlen, n_parts_total, i, n_parts; efx_ef10_mtd_probe() local 3793 size_t inlen, outlen; efx_ef10_set_udp_tnl_ports() local [all...] |
H A D | mcdi_mon.c | 310 size_t outlen; in efx_mcdi_mon_probe() local 322 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_mon_probe() 325 if (outlen < MC_CMD_SENSOR_INFO_OUT_LENMIN) in efx_mcdi_mon_probe() 386 &outlen); in efx_mcdi_mon_probe() 389 if (outlen < MC_CMD_SENSOR_INFO_OUT_LENMIN) { in efx_mcdi_mon_probe() 399 if (outlen < in efx_mcdi_mon_probe()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | olpc-ec.h | 49 size_t outlen); 62 size_t outlen) { return -ENODEV; } in olpc_ec_cmd() 61 olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen) olpc_ec_cmd() argument
|
/third_party/NuttX/drivers/usbdev/gadget/ |
H A D | composite.c | 395 uint8_t *dataout, size_t outlen) in composite_classsetup() 406 (void)outlen; in composite_classsetup() 419 ret = CLASS_SETUP(priv->device[i].dev, dev, ctrl, dataout, outlen); in composite_classsetup() 434 ret = CLASS_SETUP(devobj->dev, dev, ctrl, dataout, outlen); in composite_classsetup() 451 const struct usb_device_request *ctrl, uint8_t *dataout, size_t outlen) in usb_composite_setup() 550 ret = CLASS_SETUP(usb_cdev->device[i].dev, dev, ctrl, dataout, outlen); in usb_composite_setup() 582 value = composite_classsetup(usb_cdev, dev, ctrl, dataout, outlen); in usb_composite_setup() 615 (void)composite_classsetup(usb_cdev, dev, ctrl, dataout, outlen); in usb_composite_setup() 392 composite_classsetup(struct composite_dev_s *priv, struct usbdev_s *dev, const struct usb_device_request *ctrl, uint8_t *dataout, size_t outlen) composite_classsetup() argument 450 usb_composite_setup(struct usbdevclass_driver_s *driver, struct usbdev_s *dev, const struct usb_device_request *ctrl, uint8_t *dataout, size_t outlen) usb_composite_setup() argument
|
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/ |
H A D | hkdf.c | 250 * out buffer of size *outlen. 251 * If out is NULL then outlen is used to return the required buffer size. 253 static int setinfo_fromparams(const OSSL_PARAM *p, unsigned char *out, size_t *outlen) in setinfo_fromparams() argument 262 if (!WPACKET_init_static_len(&pkt, out, *outlen, 0)) in setinfo_fromparams() 274 if (!WPACKET_get_total_written(&pkt, outlen) in setinfo_fromparams() 582 * secret |outlen| bytes long and store it in the location pointed to be |out|. 590 unsigned char *out, size_t outlen) in prov_tls13_hkdf_expand() 603 || !WPACKET_put_bytes_u16(&pkt, outlen) in prov_tls13_hkdf_expand() 616 out, outlen); in prov_tls13_hkdf_expand() 629 unsigned char *out, size_t outlen) in prov_tls13_hkdf_generate_secret() 585 prov_tls13_hkdf_expand(const EVP_MD *md, const unsigned char *key, size_t keylen, const unsigned char *prefix, size_t prefixlen, const unsigned char *label, size_t labellen, const unsigned char *data, size_t datalen, unsigned char *out, size_t outlen) prov_tls13_hkdf_expand() argument 619 prov_tls13_hkdf_generate_secret(OSSL_LIB_CTX *libctx, const EVP_MD *md, const unsigned char *prevsecret, size_t prevsecretlen, const unsigned char *insecret, size_t insecretlen, const unsigned char *prefix, size_t prefixlen, const unsigned char *label, size_t labellen, unsigned char *out, size_t outlen) prov_tls13_hkdf_generate_secret() argument [all...] |
/third_party/openssl/providers/implementations/kdfs/ |
H A D | hkdf.c | 250 * out buffer of size *outlen. 251 * If out is NULL then outlen is used to return the required buffer size. 253 static int setinfo_fromparams(const OSSL_PARAM *p, unsigned char *out, size_t *outlen) in setinfo_fromparams() argument 262 if (!WPACKET_init_static_len(&pkt, out, *outlen, 0)) in setinfo_fromparams() 274 if (!WPACKET_get_total_written(&pkt, outlen) in setinfo_fromparams() 582 * secret |outlen| bytes long and store it in the location pointed to be |out|. 590 unsigned char *out, size_t outlen) in prov_tls13_hkdf_expand() 603 || !WPACKET_put_bytes_u16(&pkt, outlen) in prov_tls13_hkdf_expand() 616 out, outlen); in prov_tls13_hkdf_expand() 629 unsigned char *out, size_t outlen) in prov_tls13_hkdf_generate_secret() 585 prov_tls13_hkdf_expand(const EVP_MD *md, const unsigned char *key, size_t keylen, const unsigned char *prefix, size_t prefixlen, const unsigned char *label, size_t labellen, const unsigned char *data, size_t datalen, unsigned char *out, size_t outlen) prov_tls13_hkdf_expand() argument 619 prov_tls13_hkdf_generate_secret(OSSL_LIB_CTX *libctx, const EVP_MD *md, const unsigned char *prevsecret, size_t prevsecretlen, const unsigned char *insecret, size_t insecretlen, const unsigned char *prefix, size_t prefixlen, const unsigned char *label, size_t labellen, unsigned char *out, size_t outlen) prov_tls13_hkdf_generate_secret() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | mr.c | 71 int outlen) in mlx5_core_query_mkey() 75 memset(out, 0, outlen); in mlx5_core_query_mkey() 78 return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in mlx5_core_query_mkey() 70 mlx5_core_query_mkey(struct mlx5_core_dev *dev, u32 mkey, u32 *out, int outlen) mlx5_core_query_mkey() argument
|
/third_party/curl/lib/vauth/ |
H A D | spnego_gssapi.c | 205 * outlen [out] - The length of the output message. 210 char **outptr, size_t *outlen) in Curl_auth_create_spnego_message() 218 outptr, outlen); in Curl_auth_create_spnego_message() 228 if(!*outptr || !*outlen) { in Curl_auth_create_spnego_message() 209 Curl_auth_create_spnego_message(struct negotiatedata *nego, char **outptr, size_t *outlen) Curl_auth_create_spnego_message() argument
|
/third_party/openssl/test/ |
H A D | ssl_old_test.c | 114 static int cb_client_npn(SSL *s, unsigned char **out, unsigned char *outlen, in cb_client_npn() argument 124 *outlen = sizeof(NEXT_PROTO_STRING) - 2; in cb_client_npn() 250 * outlen: (output) set to the length of the resulting buffer on success. 255 static unsigned char *next_protos_parse(size_t *outlen, in next_protos_parse() argument 282 *outlen = len + 1; in next_protos_parse() 287 unsigned char *outlen, const unsigned char *in, in cb_server_alpn() 302 ((unsigned char **)out, outlen, protos, protos_len, in, in cb_server_alpn() 312 alpn_selected = OPENSSL_malloc(*outlen); in cb_server_alpn() 318 memcpy(alpn_selected, *out, *outlen); in cb_server_alpn() 444 size_t *outlen, in in custom_ext_0_cli_add_cb() 286 cb_server_alpn(SSL *s, const unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg) cb_server_alpn() argument 442 custom_ext_0_cli_add_cb(SSL *s, unsigned int ext_type, const unsigned char **out, size_t *outlen, int *al, void *arg) custom_ext_0_cli_add_cb() argument 458 custom_ext_1_cli_add_cb(SSL *s, unsigned int ext_type, const unsigned char **out, size_t *outlen, int *al, void *arg) custom_ext_1_cli_add_cb() argument 476 custom_ext_2_cli_add_cb(SSL *s, unsigned int ext_type, const unsigned char **out, size_t *outlen, int *al, void *arg) custom_ext_2_cli_add_cb() argument 498 custom_ext_3_cli_add_cb(SSL *s, unsigned int ext_type, const unsigned char **out, size_t *outlen, int *al, void *arg) custom_ext_3_cli_add_cb() argument 535 custom_ext_0_srv_add_cb(SSL *s, unsigned int ext_type, const unsigned char **out, size_t *outlen, int *al, void *arg) custom_ext_0_srv_add_cb() argument 558 custom_ext_1_srv_add_cb(SSL *s, unsigned int ext_type, const unsigned char **out, size_t *outlen, int *al, void *arg) custom_ext_1_srv_add_cb() argument 579 custom_ext_2_srv_add_cb(SSL *s, unsigned int ext_type, const unsigned char **out, size_t *outlen, int *al, void *arg) custom_ext_2_srv_add_cb() argument 602 custom_ext_3_srv_add_cb(SSL *s, unsigned int ext_type, const unsigned char **out, size_t *outlen, int *al, void *arg) custom_ext_3_srv_add_cb() argument [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/rands/ |
H A D | drbg.c | 189 unsigned char *out, size_t outlen) in ossl_drbg_clear_seed() 191 OPENSSL_secure_clear_free(out, outlen); in ossl_drbg_clear_seed() 248 static void cleanup_entropy(PROV_DRBG *drbg, unsigned char *out, size_t outlen) in cleanup_entropy() argument 252 ossl_crngt_cleanup_entropy(drbg, out, outlen); in cleanup_entropy() 254 ossl_prov_cleanup_entropy(drbg->provctx, out, outlen); in cleanup_entropy() 259 drbg->parent_clear_seed(drbg->parent, out, outlen); in cleanup_entropy() 606 * Generate |outlen| bytes into the buffer at |out|. Reseed if we need 615 int ossl_prov_drbg_generate(PROV_DRBG *drbg, unsigned char *out, size_t outlen, in ossl_prov_drbg_generate() argument 643 if (outlen > drbg->max_request) { in ossl_prov_drbg_generate() 683 if (!drbg->generate(drbg, out, outlen, adi in ossl_prov_drbg_generate() 188 ossl_drbg_clear_seed(ossl_unused void *vdrbg, unsigned char *out, size_t outlen) ossl_drbg_clear_seed() argument 765 ossl_rand_drbg_new(void *provctx, void *parent, const OSSL_DISPATCH *p_dispatch, int (*dnew)(PROV_DRBG *ctx), int (*instantiate)(PROV_DRBG *drbg, const unsigned char *entropy, size_t entropylen, const unsigned char *nonce, size_t noncelen, const unsigned char *pers, size_t perslen), int (*uninstantiate)(PROV_DRBG *ctx), int (*reseed)(PROV_DRBG *drbg, const unsigned char *ent, size_t ent_len, const unsigned char *adin, size_t adin_len), int (*generate)(PROV_DRBG *, unsigned char *out, size_t outlen, const unsigned char *adin, size_t adin_len)) ossl_rand_drbg_new() argument [all...] |
/third_party/openssl/providers/implementations/rands/ |
H A D | drbg.c | 189 unsigned char *out, size_t outlen) in ossl_drbg_clear_seed() 191 OPENSSL_secure_clear_free(out, outlen); in ossl_drbg_clear_seed() 248 static void cleanup_entropy(PROV_DRBG *drbg, unsigned char *out, size_t outlen) in cleanup_entropy() argument 252 ossl_crngt_cleanup_entropy(drbg, out, outlen); in cleanup_entropy() 254 ossl_prov_cleanup_entropy(drbg->provctx, out, outlen); in cleanup_entropy() 259 drbg->parent_clear_seed(drbg->parent, out, outlen); in cleanup_entropy() 606 * Generate |outlen| bytes into the buffer at |out|. Reseed if we need 615 int ossl_prov_drbg_generate(PROV_DRBG *drbg, unsigned char *out, size_t outlen, in ossl_prov_drbg_generate() argument 643 if (outlen > drbg->max_request) { in ossl_prov_drbg_generate() 683 if (!drbg->generate(drbg, out, outlen, adi in ossl_prov_drbg_generate() 188 ossl_drbg_clear_seed(ossl_unused void *vdrbg, unsigned char *out, size_t outlen) ossl_drbg_clear_seed() argument 765 ossl_rand_drbg_new(void *provctx, void *parent, const OSSL_DISPATCH *p_dispatch, int (*dnew)(PROV_DRBG *ctx), int (*instantiate)(PROV_DRBG *drbg, const unsigned char *entropy, size_t entropylen, const unsigned char *nonce, size_t noncelen, const unsigned char *pers, size_t perslen), int (*uninstantiate)(PROV_DRBG *ctx), int (*reseed)(PROV_DRBG *drbg, const unsigned char *ent, size_t ent_len, const unsigned char *adin, size_t adin_len), int (*generate)(PROV_DRBG *, unsigned char *out, size_t outlen, const unsigned char *adin, size_t adin_len)) ossl_rand_drbg_new() argument [all...] |
/kernel/linux/linux-5.10/drivers/crypto/nx/ |
H A D | nx-aes-xcbc.c | 94 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_empty() 122 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_empty() 210 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_update() 263 if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { in nx_xcbc_update() 342 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_final() 344 if (!nx_ctx->op.outlen) { in nx_xcbc_final()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | debugfs.c | 205 int outlen = MLX5_ST_SZ_BYTES(query_qp_out); in qp_read_field() local 213 out = kzalloc(outlen, GFP_KERNEL); in qp_read_field() 285 int outlen = MLX5_ST_SZ_BYTES(query_eq_out); in eq_read_field() local 292 out = kzalloc(outlen, GFP_KERNEL); in eq_read_field() 325 int outlen = MLX5_ST_SZ_BYTES(query_cq_out); in cq_read_field() local 331 out = kvzalloc(outlen, GFP_KERNEL); in cq_read_field()
|
/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | unicode.c | 349 u16 *dstr, outlen = 0; in hfsplus_asc2uni() local 354 while (outlen < max_unistr_len && len > 0) { in hfsplus_asc2uni() 362 if (outlen + dsize > max_unistr_len) in hfsplus_asc2uni() 365 ustr->unicode[outlen++] = cpu_to_be16(*dstr++); in hfsplus_asc2uni() 368 ustr->unicode[outlen++] = cpu_to_be16(c); in hfsplus_asc2uni() 373 ustr->length = cpu_to_be16(outlen); in hfsplus_asc2uni()
|
/kernel/linux/linux-6.6/fs/hfsplus/ |
H A D | unicode.c | 349 u16 *dstr, outlen = 0; in hfsplus_asc2uni() local 354 while (outlen < max_unistr_len && len > 0) { in hfsplus_asc2uni() 362 if (outlen + dsize > max_unistr_len) in hfsplus_asc2uni() 365 ustr->unicode[outlen++] = cpu_to_be16(*dstr++); in hfsplus_asc2uni() 368 ustr->unicode[outlen++] = cpu_to_be16(c); in hfsplus_asc2uni() 373 ustr->length = cpu_to_be16(outlen); in hfsplus_asc2uni()
|
/kernel/linux/linux-6.6/drivers/crypto/nx/ |
H A D | nx-aes-xcbc.c | 94 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_empty() 122 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_empty() 210 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_update() 263 if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { in nx_xcbc_update() 342 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_final() 344 if (!nx_ctx->op.outlen) { in nx_xcbc_final()
|