Home
last modified time | relevance | path

Searched refs:src_len (Results 1 - 25 of 218) sorted by relevance

123456789

/third_party/gn/src/base/strings/
H A Dutf_string_conversion_utils.cc15 int32_t src_len, in ReadUnicodeCharacter()
22 CBU8_NEXT(src, *char_index, src_len, code_point); in ReadUnicodeCharacter()
34 int32_t src_len, in ReadUnicodeCharacter()
39 *char_index + 1 >= src_len || !CBU16_IS_TRAIL(src[*char_index + 1])) { in ReadUnicodeCharacter()
95 size_t src_len, in PrepareForUTF8Output()
98 if (src_len == 0) in PrepareForUTF8Output()
102 output->reserve(src_len); in PrepareForUTF8Output()
105 output->reserve(src_len * 3); in PrepareForUTF8Output()
114 size_t src_len, in PrepareForUTF16Or32Output()
117 if (src_len in PrepareForUTF16Or32Output()
14 ReadUnicodeCharacter(const char* src, int32_t src_len, int32_t* char_index, uint32_t* code_point_out) ReadUnicodeCharacter() argument
33 ReadUnicodeCharacter(const char16_t* src, int32_t src_len, int32_t* char_index, uint32_t* code_point) ReadUnicodeCharacter() argument
94 PrepareForUTF8Output(const CHAR* src, size_t src_len, std::string* output) PrepareForUTF8Output() argument
113 PrepareForUTF16Or32Output(const char* src, size_t src_len, STRING* output) PrepareForUTF16Or32Output() argument
[all...]
H A Dutf_string_conversions.cc63 int32_t src_len, in DoUTFConversion()
68 for (int32_t i = 0; i < src_len;) { in DoUTFConversion()
70 CBU8_NEXT(src, i, src_len, code_point); in DoUTFConversion()
85 int32_t src_len, in DoUTFConversion()
102 while (i < src_len - 1) { in DoUTFConversion()
120 if (i < src_len) in DoUTFConversion()
159 bool UTF8ToUTF16(const char* src, size_t src_len, std::u16string* output) { in UTF8ToUTF16() argument
160 return UTFConversion(std::string_view(src, src_len), output); in UTF8ToUTF16()
171 bool UTF16ToUTF8(const char16_t* src, size_t src_len, std::string* output) { in UTF16ToUTF8() argument
172 return UTFConversion(std::u16string_view(src, src_len), outpu in UTF16ToUTF8()
62 DoUTFConversion(const char* src, int32_t src_len, DestChar* dest, int32_t* dest_len) DoUTFConversion() argument
84 DoUTFConversion(const char16_t* src, int32_t src_len, DestChar* dest, int32_t* dest_len) DoUTFConversion() argument
[all...]
H A Dutf_string_conversion_utils.h45 int32_t src_len,
51 int32_t src_len,
72 void PrepareForUTF8Output(const CHAR* src, size_t src_len, std::string* output);
77 void PrepareForUTF16Or32Output(const char* src, size_t src_len, STRING* output);
/kernel/linux/linux-5.10/lib/crypto/
H A Dchacha20poly1305.c57 __chacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len, in __chacha20poly1305_encrypt() argument
74 chacha20_crypt(chacha_state, dst, src, src_len); in __chacha20poly1305_encrypt()
76 poly1305_update(&poly1305_state, dst, src_len); in __chacha20poly1305_encrypt()
77 if (src_len & 0xf) in __chacha20poly1305_encrypt()
78 poly1305_update(&poly1305_state, pad0, 0x10 - (src_len & 0xf)); in __chacha20poly1305_encrypt()
81 b.lens[1] = cpu_to_le64(src_len); in __chacha20poly1305_encrypt()
84 poly1305_final(&poly1305_state, dst + src_len); in __chacha20poly1305_encrypt()
90 void chacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len, in chacha20poly1305_encrypt() argument
105 __chacha20poly1305_encrypt(dst, src, src_len, ad, ad_len, chacha_state); in chacha20poly1305_encrypt()
112 void xchacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len, in xchacha20poly1305_encrypt() argument
125 __chacha20poly1305_decrypt(u8 *dst, const u8 *src, const size_t src_len, const u8 *ad, const size_t ad_len, u32 *chacha_state) __chacha20poly1305_decrypt() argument
168 chacha20poly1305_decrypt(u8 *dst, const u8 *src, const size_t src_len, const u8 *ad, const size_t ad_len, const u64 nonce, const u8 key[CHACHA20POLY1305_KEY_SIZE]) chacha20poly1305_decrypt() argument
194 xchacha20poly1305_decrypt(u8 *dst, const u8 *src, const size_t src_len, const u8 *ad, const size_t ad_len, const u8 nonce[XCHACHA20POLY1305_NONCE_SIZE], const u8 key[CHACHA20POLY1305_KEY_SIZE]) xchacha20poly1305_decrypt() argument
208 chacha20poly1305_crypt_sg_inplace(struct scatterlist *src, const size_t src_len, const u8 *ad, const size_t ad_len, const u64 nonce, const u8 key[CHACHA20POLY1305_KEY_SIZE], int encrypt) chacha20poly1305_crypt_sg_inplace() argument
333 chacha20poly1305_encrypt_sg_inplace(struct scatterlist *src, size_t src_len, const u8 *ad, const size_t ad_len, const u64 nonce, const u8 key[CHACHA20POLY1305_KEY_SIZE]) chacha20poly1305_encrypt_sg_inplace() argument
343 chacha20poly1305_decrypt_sg_inplace(struct scatterlist *src, size_t src_len, const u8 *ad, const size_t ad_len, const u64 nonce, const u8 key[CHACHA20POLY1305_KEY_SIZE]) chacha20poly1305_decrypt_sg_inplace() argument
[all...]
/kernel/linux/linux-6.6/lib/crypto/
H A Dchacha20poly1305.c57 __chacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len, in __chacha20poly1305_encrypt() argument
74 chacha20_crypt(chacha_state, dst, src, src_len); in __chacha20poly1305_encrypt()
76 poly1305_update(&poly1305_state, dst, src_len); in __chacha20poly1305_encrypt()
77 if (src_len & 0xf) in __chacha20poly1305_encrypt()
78 poly1305_update(&poly1305_state, pad0, 0x10 - (src_len & 0xf)); in __chacha20poly1305_encrypt()
81 b.lens[1] = cpu_to_le64(src_len); in __chacha20poly1305_encrypt()
84 poly1305_final(&poly1305_state, dst + src_len); in __chacha20poly1305_encrypt()
90 void chacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len, in chacha20poly1305_encrypt() argument
105 __chacha20poly1305_encrypt(dst, src, src_len, ad, ad_len, chacha_state); in chacha20poly1305_encrypt()
112 void xchacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len, in xchacha20poly1305_encrypt() argument
125 __chacha20poly1305_decrypt(u8 *dst, const u8 *src, const size_t src_len, const u8 *ad, const size_t ad_len, u32 *chacha_state) __chacha20poly1305_decrypt() argument
168 chacha20poly1305_decrypt(u8 *dst, const u8 *src, const size_t src_len, const u8 *ad, const size_t ad_len, const u64 nonce, const u8 key[CHACHA20POLY1305_KEY_SIZE]) chacha20poly1305_decrypt() argument
194 xchacha20poly1305_decrypt(u8 *dst, const u8 *src, const size_t src_len, const u8 *ad, const size_t ad_len, const u8 nonce[XCHACHA20POLY1305_NONCE_SIZE], const u8 key[CHACHA20POLY1305_KEY_SIZE]) xchacha20poly1305_decrypt() argument
208 chacha20poly1305_crypt_sg_inplace(struct scatterlist *src, const size_t src_len, const u8 *ad, const size_t ad_len, const u64 nonce, const u8 key[CHACHA20POLY1305_KEY_SIZE], int encrypt) chacha20poly1305_crypt_sg_inplace() argument
333 chacha20poly1305_encrypt_sg_inplace(struct scatterlist *src, size_t src_len, const u8 *ad, const size_t ad_len, const u64 nonce, const u8 key[CHACHA20POLY1305_KEY_SIZE]) chacha20poly1305_encrypt_sg_inplace() argument
343 chacha20poly1305_decrypt_sg_inplace(struct scatterlist *src, size_t src_len, const u8 *ad, const size_t ad_len, const u64 nonce, const u8 key[CHACHA20POLY1305_KEY_SIZE]) chacha20poly1305_decrypt_sg_inplace() argument
[all...]
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dbase64.rs15 let src_len = src.len() as LenType; in encode_block()
17 let len = encoded_len(src_len).unwrap(); in encode_block()
25 let out_len = ffi::EVP_EncodeBlock(out.as_mut_ptr(), src.as_ptr(), src_len); in encode_block()
46 let src_len = src.len() as LenType; in decode_block()
48 let len = decoded_len(src_len).unwrap(); in decode_block()
60 src_len, in decode_block()
75 fn encoded_len(src_len: LenType) -> Option<LenType> { in encoded_len()
76 let mut len = (src_len / 3).checked_mul(4)?; in encoded_len()
78 if src_len % 3 != 0 { in encoded_len()
87 fn decoded_len(src_len
[all...]
/kernel/linux/linux-5.10/lib/
H A Ddecompress_unlzo.c106 u32 src_len, dst_len; in unlzo() local
208 src_len = get_unaligned_be32(in_buf); in unlzo()
212 if (src_len <= 0 || src_len > dst_len) { in unlzo()
218 if (fill && in_len < src_len) { in unlzo()
219 skip = fill(in_buf + in_len, src_len - in_len); in unlzo()
223 if (in_len < src_len) { in unlzo()
232 if (unlikely(dst_len == src_len)) in unlzo()
233 memcpy(out_buf, in_buf, src_len); in unlzo()
235 r = lzo1x_decompress_safe((u8 *) in_buf, src_len, in unlzo()
[all...]
/kernel/linux/linux-6.6/lib/
H A Ddecompress_unlzo.c105 u32 src_len, dst_len; in unlzo() local
207 src_len = get_unaligned_be32(in_buf); in unlzo()
211 if (src_len <= 0 || src_len > dst_len) { in unlzo()
217 if (fill && in_len < src_len) { in unlzo()
218 skip = fill(in_buf + in_len, src_len - in_len); in unlzo()
222 if (in_len < src_len) { in unlzo()
231 if (unlikely(dst_len == src_len)) in unlzo()
232 memcpy(out_buf, in_buf, src_len); in unlzo()
234 r = lzo1x_decompress_safe((u8 *) in_buf, src_len, in unlzo()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/string/
H A Dwcpncpy.c30 size_t src_len = 13; in wcpncpy_0100() local
31 wchar_t *result = wcpncpy(dst, src, src_len + 1); in wcpncpy_0100()
32 if (wcscmp(result, dst + src_len) != 0) { in wcpncpy_0100()
33 t_error("%s wcpncpy get result is %ls are not want %ls\n", __func__, result, dst + src_len); in wcpncpy_0100()
49 size_t src_len = 13; in wcpncpy_0200() local
68 size_t src_len = 13; in wcpncpy_0300() local
70 if (wcscmp(result, dst + src_len) != 0) { in wcpncpy_0300()
71 t_error("%s wcpncpy get result is %ls are not want %ls\n", __func__, result, dst + src_len); in wcpncpy_0300()
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dcpacf.h244 * @src_len: length of src operand in bytes
250 u8 *dest, const u8 *src, long src_len) in cpacf_km()
255 register unsigned long r3 asm("3") = (unsigned long) src_len; in cpacf_km()
265 return src_len - r3; in cpacf_km()
274 * @src_len: length of src operand in bytes
280 u8 *dest, const u8 *src, long src_len) in cpacf_kmc()
285 register unsigned long r3 asm("3") = (unsigned long) src_len; in cpacf_kmc()
295 return src_len - r3; in cpacf_kmc()
304 * @src_len: length of src operand in bytes
307 const u8 *src, long src_len) in cpacf_kimd()
249 cpacf_km(unsigned long func, void *param, u8 *dest, const u8 *src, long src_len) cpacf_km() argument
279 cpacf_kmc(unsigned long func, void *param, u8 *dest, const u8 *src, long src_len) cpacf_kmc() argument
306 cpacf_kimd(unsigned long func, void *param, const u8 *src, long src_len) cpacf_kimd() argument
329 cpacf_klmd(unsigned long func, void *param, const u8 *src, long src_len) cpacf_klmd() argument
355 cpacf_kmac(unsigned long func, void *param, const u8 *src, long src_len) cpacf_kmac() argument
385 cpacf_kmctr(unsigned long func, void *param, u8 *dest, const u8 *src, long src_len, u8 *counter) cpacf_kmctr() argument
511 cpacf_kma(unsigned long func, void *param, u8 *dest, const u8 *src, unsigned long src_len, const u8 *aad, unsigned long aad_len) cpacf_kma() argument
[all...]
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dcpacf.h248 * @src_len: length of src operand in bytes
254 u8 *dest, const u8 *src, long src_len) in cpacf_km()
260 s.odd = (unsigned long)src_len; in cpacf_km()
271 return src_len - s.odd; in cpacf_km()
280 * @src_len: length of src operand in bytes
286 u8 *dest, const u8 *src, long src_len) in cpacf_kmc()
292 s.odd = (unsigned long)src_len; in cpacf_kmc()
303 return src_len - s.odd; in cpacf_kmc()
312 * @src_len: length of src operand in bytes
315 const u8 *src, long src_len) in cpacf_kimd()
253 cpacf_km(unsigned long func, void *param, u8 *dest, const u8 *src, long src_len) cpacf_km() argument
285 cpacf_kmc(unsigned long func, void *param, u8 *dest, const u8 *src, long src_len) cpacf_kmc() argument
314 cpacf_kimd(unsigned long func, void *param, const u8 *src, long src_len) cpacf_kimd() argument
339 cpacf_klmd(unsigned long func, void *param, const u8 *src, long src_len) cpacf_klmd() argument
367 cpacf_kmac(unsigned long func, void *param, const u8 *src, long src_len) cpacf_kmac() argument
399 cpacf_kmctr(unsigned long func, void *param, u8 *dest, const u8 *src, long src_len, u8 *counter) cpacf_kmctr() argument
528 cpacf_kma(unsigned long func, void *param, u8 *dest, const u8 *src, unsigned long src_len, const u8 *aad, unsigned long aad_len) cpacf_kma() argument
[all...]
/third_party/curl/tests/server/
H A Dgetpart.c212 size_t src_len, /* source buffer length */ in appenddata()
217 if(!src_len) in appenddata()
220 need_alloc = src_len + *dst_len + 1; in appenddata()
223 if(src_buf[src_len - 1] == '\r') in appenddata()
224 src_len--; in appenddata()
226 if(src_buf[src_len - 1] == '\n') in appenddata()
227 src_len--; in appenddata()
242 memcpy(*dst_buf + *dst_len, src_buf, src_len); in appenddata()
243 *dst_len += src_len; in appenddata()
254 size_t src_len in decodedata() local
208 appenddata(char **dst_buf, size_t *dst_len, size_t *dst_alloc, char *src_buf, size_t src_len, int src_b64) appenddata() argument
[all...]
/kernel/linux/linux-5.10/include/crypto/
H A Dchacha20poly1305.h18 void chacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len,
24 chacha20poly1305_decrypt(u8 *dst, const u8 *src, const size_t src_len,
28 void xchacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len,
34 u8 *dst, const u8 *src, const size_t src_len, const u8 *ad,
38 bool chacha20poly1305_encrypt_sg_inplace(struct scatterlist *src, size_t src_len,
43 bool chacha20poly1305_decrypt_sg_inplace(struct scatterlist *src, size_t src_len,
H A Dakcipher.h18 * total size of @src is @src_len + @dst_len.
20 * @src_len: Size of the input buffer
37 unsigned int src_len; member
244 * @src_len: size of the src input scatter list to be processed
251 unsigned int src_len, in akcipher_request_set_crypt()
256 req->src_len = src_len; in akcipher_request_set_crypt()
292 unsigned int src_len = req->src_len; in crypto_akcipher_encrypt() local
297 crypto_stats_akcipher_encrypt(src_len, re in crypto_akcipher_encrypt()
248 akcipher_request_set_crypt(struct akcipher_request *req, struct scatterlist *src, struct scatterlist *dst, unsigned int src_len, unsigned int dst_len) akcipher_request_set_crypt() argument
316 unsigned int src_len = req->src_len; crypto_akcipher_decrypt() local
[all...]
/kernel/linux/linux-6.6/include/crypto/
H A Dchacha20poly1305.h18 void chacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len,
24 chacha20poly1305_decrypt(u8 *dst, const u8 *src, const size_t src_len,
28 void xchacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len,
34 u8 *dst, const u8 *src, const size_t src_len, const u8 *ad,
38 bool chacha20poly1305_encrypt_sg_inplace(struct scatterlist *src, size_t src_len,
43 bool chacha20poly1305_decrypt_sg_inplace(struct scatterlist *src, size_t src_len,
/kernel/linux/linux-5.10/net/smc/
H A Dsmc_tx.c308 size_t src_off, size_t src_len, in smcr_tx_rdma_writes()
316 int src_len_sum = src_len, dst_len_sum = dst_len; in smcr_tx_rdma_writes()
329 sge[srcchunk].length = src_len; in smcr_tx_rdma_writes()
332 src_off += src_len; in smcr_tx_rdma_writes()
339 src_len = dst_len - src_len; /* remainder */ in smcr_tx_rdma_writes()
340 src_len_sum += src_len; in smcr_tx_rdma_writes()
352 src_len = min_t(int, dst_len, conn->sndbuf_desc->len - in smcr_tx_rdma_writes()
354 src_len_sum = src_len; in smcr_tx_rdma_writes()
361 size_t src_off, size_t src_len, in smcd_tx_rdma_writes()
307 smcr_tx_rdma_writes(struct smc_connection *conn, size_t len, size_t src_off, size_t src_len, size_t dst_off, size_t dst_len, struct smc_rdma_wr *wr_rdma_buf) smcr_tx_rdma_writes() argument
360 smcd_tx_rdma_writes(struct smc_connection *conn, size_t len, size_t src_off, size_t src_len, size_t dst_off, size_t dst_len) smcd_tx_rdma_writes() argument
405 size_t len, src_len, dst_off, dst_len; /* current chunk values */ smc_tx_rdma_writes() local
[all...]
/kernel/linux/linux-6.6/net/smc/
H A Dsmc_tx.c357 size_t src_off, size_t src_len, in smcr_tx_rdma_writes()
366 int src_len_sum = src_len, dst_len_sum = dst_len; in smcr_tx_rdma_writes()
388 sge[srcchunk].length = src_len; in smcr_tx_rdma_writes()
394 src_off += src_len; in smcr_tx_rdma_writes()
401 src_len = dst_len - src_len; /* remainder */ in smcr_tx_rdma_writes()
402 src_len_sum += src_len; in smcr_tx_rdma_writes()
413 src_len = min_t(int, dst_len, conn->sndbuf_desc->len - in smcr_tx_rdma_writes()
415 src_len_sum = src_len; in smcr_tx_rdma_writes()
422 size_t src_off, size_t src_len, in smcd_tx_rdma_writes()
356 smcr_tx_rdma_writes(struct smc_connection *conn, size_t len, size_t src_off, size_t src_len, size_t dst_off, size_t dst_len, struct smc_rdma_wr *wr_rdma_buf) smcr_tx_rdma_writes() argument
421 smcd_tx_rdma_writes(struct smc_connection *conn, size_t len, size_t src_off, size_t src_len, size_t dst_off, size_t dst_len) smcd_tx_rdma_writes() argument
466 size_t len, src_len, dst_off, dst_len; /* current chunk values */ smc_tx_rdma_writes() local
[all...]
/third_party/FreeBSD/sys/arm/arm/
H A Din_cksum.c109 int src_len = strlen(src); in in_cksum_copy() local
111 if (src_len >= len) { in in_cksum_copy()
112 src_len = len; in in_cksum_copy()
114 if (memcpy_s(dst, len, src, src_len) != EOK) { in in_cksum_copy()
152 int src_len = strlen(src); in csum_partial_copy_nocheck() local
154 if (src_len >= len) { in csum_partial_copy_nocheck()
155 src_len = len; in csum_partial_copy_nocheck()
157 if (memcpy_s(dst, len, src, src_len) != EOK) { in csum_partial_copy_nocheck()
/kernel/linux/linux-5.10/net/ipv4/
H A Dfib_rules.c37 u8 src_len; member
52 if (r->dst_len || r->src_len || r->tos) in fib4_rule_matchall()
257 if (frh->src_len) in fib4_rule_configure()
274 rule4->src_len = frh->src_len; in fib4_rule_configure()
275 rule4->srcmask = inet_make_mask(rule4->src_len); in fib4_rule_configure()
315 if (frh->src_len && (rule4->src_len != frh->src_len)) in fib4_rule_compare()
329 if (frh->src_len in fib4_rule_compare()
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Dfib_rules.c38 u8 src_len; member
53 if (r->dst_len || r->src_len || r->dscp) in fib4_rule_matchall()
260 if (frh->src_len) in fib4_rule_configure()
277 rule4->src_len = frh->src_len; in fib4_rule_configure()
278 rule4->srcmask = inet_make_mask(rule4->src_len); in fib4_rule_configure()
317 if (frh->src_len && (rule4->src_len != frh->src_len)) in fib4_rule_compare()
331 if (frh->src_len in fib4_rule_compare()
[all...]
/kernel/linux/linux-5.10/drivers/base/regmap/
H A Dregcache-lzo.c21 size_t src_len; member
47 ret = lzo1x_1_compress(lzo_ctx->src, lzo_ctx->src_len, in regcache_lzo_compress()
61 ret = lzo1x_decompress_safe(lzo_ctx->src, lzo_ctx->src_len, in regcache_lzo_decompress()
181 lzo_blocks[i]->src_len = end - p; in regcache_lzo_init()
183 lzo_blocks[i]->src_len = blksize; in regcache_lzo_init()
189 lzo_blocks[i]->src_len; in regcache_lzo_init()
249 lzo_block->src_len = lzo_block->dst_len; in regcache_lzo_read()
286 lzo_block->src_len = lzo_block->dst_len; in regcache_lzo_write()
303 lzo_block->src_len = lzo_block->dst_len; in regcache_lzo_write()
/kernel/linux/linux-5.10/include/linux/
H A Dccp.h154 * @src_len: length in bytes of data used for this operation
160 * - type, mode, action, key, key_len, src, dst, src_len
182 u64 src_len; /* In bytes */ member
221 * @src_len: length in bytes of data used for this operation
225 * - action, unit_size, key, key_len, iv, iv_len, src, dst, src_len, final
242 u64 src_len; /* In bytes */ member
270 * @src_len: length in bytes of data used for this operation
278 * - type, ctx, ctx_len, src, src_len, final
291 u64 src_len; /* In bytes */ member
331 * @src_len
353 u64 src_len; /* In bytes */ global() member
381 u32 src_len; /* In bytes */ global() member
440 u64 src_len; /* In bytes */ global() member
469 u64 src_len; /* In bytes */ global() member
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dccp.h155 * @src_len: length in bytes of data used for this operation
161 * - type, mode, action, key, key_len, src, dst, src_len
183 u64 src_len; /* In bytes */ member
222 * @src_len: length in bytes of data used for this operation
226 * - action, unit_size, key, key_len, iv, iv_len, src, dst, src_len, final
243 u64 src_len; /* In bytes */ member
271 * @src_len: length in bytes of data used for this operation
279 * - type, ctx, ctx_len, src, src_len, final
292 u64 src_len; /* In bytes */ member
332 * @src_len
354 u64 src_len; /* In bytes */ global() member
382 u32 src_len; /* In bytes */ global() member
441 u64 src_len; /* In bytes */ global() member
470 u64 src_len; /* In bytes */ global() member
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/
H A Dosdep_service.c65 void rtw_buf_update(u8 **buf, u32 *buf_len, u8 *src, u32 src_len) in rtw_buf_update() argument
74 if (!src || !src_len) in rtw_buf_update()
78 dup = rtw_malloc(src_len); in rtw_buf_update()
80 dup_len = src_len; in rtw_buf_update()
/kernel/linux/linux-5.10/crypto/
H A Drsa-pkcs1pad.c238 if (req->src_len > ctx->key_size - 11) in pkcs1pad_encrypt()
246 req_ctx->in_buf = kmalloc(ctx->key_size - 1 - req->src_len, in pkcs1pad_encrypt()
251 ps_end = ctx->key_size - req->src_len - 2; in pkcs1pad_encrypt()
258 ctx->key_size - 1 - req->src_len, req->src); in pkcs1pad_encrypt()
350 if (!ctx->key_size || req->src_len != ctx->key_size) in pkcs1pad_decrypt()
366 req_ctx->out_sg, req->src_len, in pkcs1pad_decrypt()
393 if (req->src_len + digest_size > ctx->key_size - 11) in pkcs1pad_sign()
401 req_ctx->in_buf = kmalloc(ctx->key_size - 1 - req->src_len, in pkcs1pad_sign()
406 ps_end = ctx->key_size - digest_size - req->src_len - 2; in pkcs1pad_sign()
416 ctx->key_size - 1 - req->src_len, re in pkcs1pad_sign()
[all...]

Completed in 13 milliseconds

123456789