Home
last modified time | relevance | path

Searched full:blen (Results 1 – 25 of 182) sorted by relevance

12345678

/OK3568_Linux_fs/kernel/crypto/
H A Dtcrypt.h26 unsigned int blen; /* buffer length */ member
72 { .blen = 16, .plen = 16, },
73 { .blen = 64, .plen = 16, },
74 { .blen = 64, .plen = 64, },
75 { .blen = 256, .plen = 16, },
76 { .blen = 256, .plen = 64, },
77 { .blen = 256, .plen = 256, },
78 { .blen = 1024, .plen = 16, },
79 { .blen = 1024, .plen = 256, },
80 { .blen = 1024, .plen = 1024, },
[all …]
H A Dtcrypt.c184 int blen, int secs, u32 num_mb) in test_mb_aead_jiffies() argument
203 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_aead_jiffies()
211 int blen, u32 num_mb) in test_mb_aead_cycles() argument
244 (cycles + 4) / (8 * num_mb), blen); in test_mb_aead_cycles()
455 int blen, int secs) in test_aead_jiffies() argument
473 bcount, secs, (u64)bcount * blen); in test_aead_jiffies()
477 static int test_aead_cycles(struct aead_request *req, int enc, int blen) in test_aead_cycles() argument
514 (cycles + 4) / 8, blen); in test_aead_cycles()
744 static int test_mb_ahash_jiffies(struct test_mb_ahash_data *data, int blen, in test_mb_ahash_jiffies() argument
764 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_ahash_jiffies()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/
H A Dregression_2000.c29 size_t blen; member
57 handle->blen = op.params[2].tmpref.size; in socket_tcp_open()
87 handle->blen = op.params[2].tmpref.size; in socket_udp_open()
101 op.params[0].tmpref.size = handle->blen; in socket_send()
125 op.params[0].tmpref.size = handle->blen; in socket_recv()
148 op.params[0].tmpref.size = handle->blen; in socket_get_error()
166 op.params[0].tmpref.size = handle->blen; in socket_close()
182 op.params[0].tmpref.size = handle->blen; in socket_ioctl()
270 size_t blen = 0; in xtest_tee_test_2001() local
301 blen = sizeof(buf); in xtest_tee_test_2001()
[all …]
H A Dxtest_helpers.c128 uint8_t **buf, size_t *blen) in pack_attrs() argument
136 *blen = 0; in pack_attrs()
157 *blen = bl; in pack_attrs()
202 size_t blen = 0; in ta_crypt_cmd_populate_transient_object() local
204 res = pack_attrs(attrs, attr_count, &buf, &blen); in ta_crypt_cmd_populate_transient_object()
212 op.params[1].tmpref.size = blen; in ta_crypt_cmd_populate_transient_object()
290 size_t blen = 0; in ta_crypt_cmd_derive_key() local
292 res = pack_attrs(params, paramCount, &buf, &blen); in ta_crypt_cmd_derive_key()
304 op.params[1].tmpref.size = blen; in ta_crypt_cmd_derive_key()
325 void *buf, size_t *blen) in ta_crypt_cmd_get_object_buffer_attribute() argument
[all …]
/OK3568_Linux_fs/kernel/tools/perf/util/arm-spe-decoder/
H A Darm-spe-pkt-decoder.c287 size_t blen = buf_len; in arm_spe_pkt_desc() local
292 blen -= ret; in arm_spe_pkt_desc()
296 blen -= ret; in arm_spe_pkt_desc()
301 blen -= ret; in arm_spe_pkt_desc()
306 blen -= ret; in arm_spe_pkt_desc()
311 blen -= ret; in arm_spe_pkt_desc()
316 blen -= ret; in arm_spe_pkt_desc()
321 blen -= ret; in arm_spe_pkt_desc()
326 blen -= ret; in arm_spe_pkt_desc()
331 blen -= ret; in arm_spe_pkt_desc()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/dvb-usb/
H A Daz6027.c299 u16 value, u16 index, u8 *b, int blen) in az6027_usb_in_op() argument
312 blen, in az6027_usb_in_op()
322 debug_dump(b, blen, deb_xfer); in az6027_usb_in_op()
333 int blen) in az6027_usb_out_op() argument
338 debug_dump(b, blen, deb_xfer); in az6027_usb_out_op()
350 blen, in az6027_usb_out_op()
353 if (ret != blen) { in az6027_usb_out_op()
369 int blen; in az6027_streaming_ctrl() local
376 blen = 0; in az6027_streaming_ctrl()
378 ret = az6027_usb_out_op(adap->dev, req, value, index, NULL, blen); in az6027_streaming_ctrl()
[all …]
H A Dgp8psk.c30 u16 index, u8 *b, int blen) in gp8psk_usb_in_op() argument
35 if (blen > sizeof(st->data)) in gp8psk_usb_in_op()
41 while (ret >= 0 && ret != blen && try < 3) { in gp8psk_usb_in_op()
46 value, index, st->data, blen, in gp8psk_usb_in_op()
52 if (ret < 0 || ret != blen) { in gp8psk_usb_in_op()
57 memcpy(b, st->data, blen); in gp8psk_usb_in_op()
61 debug_dump(b,blen,deb_xfer); in gp8psk_usb_in_op()
69 u16 index, u8 *b, int blen) in gp8psk_usb_out_op() argument
75 debug_dump(b,blen,deb_xfer); in gp8psk_usb_out_op()
77 if (blen > sizeof(st->data)) in gp8psk_usb_out_op()
[all …]
H A Dvp702x.c31 u16 value, u16 index, u8 *b, int blen) in vp702x_usb_in_op_unlocked() argument
39 value, index, b, blen, in vp702x_usb_in_op_unlocked()
50 debug_dump(b,blen,deb_xfer); in vp702x_usb_in_op_unlocked()
56 u16 index, u8 *b, int blen) in vp702x_usb_in_op() argument
61 ret = vp702x_usb_in_op_unlocked(d, req, value, index, b, blen); in vp702x_usb_in_op()
68 u16 value, u16 index, u8 *b, int blen) in vp702x_usb_out_op_unlocked() argument
72 debug_dump(b,blen,deb_xfer); in vp702x_usb_out_op_unlocked()
78 value,index,b,blen, in vp702x_usb_out_op_unlocked()
79 2000)) != blen) { in vp702x_usb_out_op_unlocked()
87 u16 index, u8 *b, int blen) in vp702x_usb_out_op() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/dvb-usb-v2/
H A Daz6007.c101 u16 index, u8 *b, int blen) in __az6007_read() argument
109 value, index, b, blen, 5000); in __az6007_read()
119 DUMP_PREFIX_NONE, b, blen); in __az6007_read()
126 u16 index, u8 *b, int blen) in az6007_read() argument
134 ret = __az6007_read(d->udev, req, value, index, b, blen); in az6007_read()
142 u16 index, u8 *b, int blen) in __az6007_write() argument
150 DUMP_PREFIX_NONE, b, blen); in __az6007_write()
153 if (blen > 64) { in __az6007_write()
155 blen); in __az6007_write()
163 value, index, b, blen, 5000); in __az6007_write()
[all …]
/OK3568_Linux_fs/external/security/librkcrypto/third_party/optee_client/libteec/src/
H A Dteec_trace.c100 void dump_buffer(const char *bname, const uint8_t *buffer, size_t blen) in dump_buffer() argument
104 while (blen > 0) { in dump_buffer()
108 if (n < blen) in dump_buffer()
120 if (n < blen) { in dump_buffer()
130 blen -= MIN(blen, 16); in dump_buffer()
135 void dump_buffer(const char *bname, const uint8_t *buffer, size_t blen) in dump_buffer() argument
139 (void)blen; in dump_buffer()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/mbedtls/
H A Decdsa.h163 * buffer of length \p blen Bytes. It may be \c NULL if
164 * \p blen is zero.
165 * \param blen The length of \p buf in Bytes.
175 const mbedtls_mpi *d, const unsigned char *buf, size_t blen,
224 * buffer of length \p blen Bytes. It may be \c NULL if
225 * \p blen is zero.
226 * \param blen The length of \p buf in Bytes.
235 const unsigned char *buf, size_t blen,
266 * buffer of length \p blen Bytes. It may be \c NULL if
267 * \p blen is zero.
[all …]
H A Decdh.h273 * length \p blen Bytes.
274 * \param blen The length of the destination buffer \p buf in Bytes.
285 unsigned char *buf, size_t blen,
355 * of length \p blen Bytes.
356 * \param blen The size of the destination buffer \p buf in Bytes.
367 unsigned char *buf, size_t blen,
384 * be a readable buffer of length \p blen Bytes.
385 * \param blen The length of the input buffer \p buf in Bytes.
391 const unsigned char *buf, size_t blen );
411 * must be a writable buffer of size \p blen Bytes.
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/mbedtls/
H A Decdsa.h163 * buffer of length \p blen Bytes. It may be \c NULL if
164 * \p blen is zero.
165 * \param blen The length of \p buf in Bytes.
175 const mbedtls_mpi *d, const unsigned char *buf, size_t blen,
224 * buffer of length \p blen Bytes. It may be \c NULL if
225 * \p blen is zero.
226 * \param blen The length of \p buf in Bytes.
235 const unsigned char *buf, size_t blen,
266 * buffer of length \p blen Bytes. It may be \c NULL if
267 * \p blen is zero.
[all …]
H A Decdh.h273 * length \p blen Bytes.
274 * \param blen The length of the destination buffer \p buf in Bytes.
285 unsigned char *buf, size_t blen,
355 * of length \p blen Bytes.
356 * \param blen The size of the destination buffer \p buf in Bytes.
367 unsigned char *buf, size_t blen,
384 * be a readable buffer of length \p blen Bytes.
385 * \param blen The length of the input buffer \p buf in Bytes.
391 const unsigned char *buf, size_t blen );
411 * must be a writable buffer of size \p blen Bytes.
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/mbedtls/
H A Decdsa.h163 * buffer of length \p blen Bytes. It may be \c NULL if
164 * \p blen is zero.
165 * \param blen The length of \p buf in Bytes.
175 const mbedtls_mpi *d, const unsigned char *buf, size_t blen,
224 * buffer of length \p blen Bytes. It may be \c NULL if
225 * \p blen is zero.
226 * \param blen The length of \p buf in Bytes.
235 const unsigned char *buf, size_t blen,
266 * buffer of length \p blen Bytes. It may be \c NULL if
267 * \p blen is zero.
[all …]
H A Decdh.h273 * length \p blen Bytes.
274 * \param blen The length of the destination buffer \p buf in Bytes.
285 unsigned char *buf, size_t blen,
355 * of length \p blen Bytes.
356 * \param blen The size of the destination buffer \p buf in Bytes.
367 unsigned char *buf, size_t blen,
384 * be a readable buffer of length \p blen Bytes.
385 * \param blen The length of the input buffer \p buf in Bytes.
391 const unsigned char *buf, size_t blen );
411 * must be a writable buffer of size \p blen Bytes.
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/mbedtls/
H A Decdsa.h163 * buffer of length \p blen Bytes. It may be \c NULL if
164 * \p blen is zero.
165 * \param blen The length of \p buf in Bytes.
175 const mbedtls_mpi *d, const unsigned char *buf, size_t blen,
224 * buffer of length \p blen Bytes. It may be \c NULL if
225 * \p blen is zero.
226 * \param blen The length of \p buf in Bytes.
235 const unsigned char *buf, size_t blen,
266 * buffer of length \p blen Bytes. It may be \c NULL if
267 * \p blen is zero.
[all …]
H A Decdh.h273 * length \p blen Bytes.
274 * \param blen The length of the destination buffer \p buf in Bytes.
285 unsigned char *buf, size_t blen,
355 * of length \p blen Bytes.
356 * \param blen The size of the destination buffer \p buf in Bytes.
367 unsigned char *buf, size_t blen,
384 * be a readable buffer of length \p blen Bytes.
385 * \param blen The length of the input buffer \p buf in Bytes.
391 const unsigned char *buf, size_t blen );
411 * must be a writable buffer of size \p blen Bytes.
[all …]
/OK3568_Linux_fs/kernel/drivers/misc/rk628/
H A Dpanel.c15 dsi_panel_parse_cmds(const u8 *data, int blen, struct panel_cmds *pcmds) in dsi_panel_parse_cmds() argument
25 buf = kmemdup(data, blen, GFP_KERNEL); in dsi_panel_parse_cmds()
31 len = blen; in dsi_panel_parse_cmds()
49 pr_err("%s: dcs_cmd=%x len=%d error!", __func__, buf[0], blen); in dsi_panel_parse_cmds()
62 pcmds->blen = blen; in dsi_panel_parse_cmds()
65 len = blen; in dsi_panel_parse_cmds()
/OK3568_Linux_fs/buildroot/dl/unixbench/git/UnixBench/src/
H A Ddummy.c55 int blen; /* std input buffer length */ member
185 if (child[i].blen == 0)
198 if (cp->xmit >= cp->blen) continue;
201 if (cp->xmit + l > cp->blen)
202 l = cp->blen - cp->xmit;
207 fprintf(stderr, "child %d, %d processed, %d to go\n", i, cp->xmit, cp->blen - cp->xmit);
210 if (*p == '\n' || (p == &cp->bp[-1] && cp->xmit >= cp->blen)) {
238 if (cp->xmit >= cp->blen) {
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dtxring_overwrite.c41 static void build_packet(void *buffer, size_t blen, char payload_char) in build_packet() argument
48 memset(buffer, 0, blen); in build_packet()
61 iph->tot_len = htons(blen - off); in build_packet()
68 udph->len = htons(blen - off); in build_packet()
72 memset(buffer + off, payload_char, blen - off); in build_packet()
/OK3568_Linux_fs/external/security/librkcrypto/test/include/c_mode/
H A Decdsa.h68 * \param blen Length of buf
76 const mbedtls_mpi *d, const unsigned char *buf, size_t blen,
89 * \param blen Length of buf
96 const mbedtls_mpi *d, const unsigned char *buf, size_t blen,
105 * \param blen Length of buf
115 const unsigned char *buf, size_t blen,
/OK3568_Linux_fs/buildroot/dl/sox/git/test/
H A Dcorr.c36 #define BLEN 0x20000 macro
42 static short buff1[BLEN];
43 static short buff2[BLEN];
121 bs=len-x; if (bs>BLEN) bs=BLEN; /* number of shorts to read */ in main()
/OK3568_Linux_fs/external/security/librkcrypto/test/c_mode/
H A Decdsa.c49 const unsigned char *buf, size_t blen ) in derive_mpi() argument
53 size_t use_size = blen > n_size ? n_size : blen; in derive_mpi()
72 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in mbedtls_ecdsa_sign() argument
110 MBEDTLS_MPI_CHK( derive_mpi( grp, &e, buf, blen ) ); in mbedtls_ecdsa_sign()
161 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in mbedtls_ecdsa_sign_det() argument
179 MBEDTLS_MPI_CHK( derive_mpi( grp, &h, buf, blen ) ); in mbedtls_ecdsa_sign_det()
183 ret = mbedtls_ecdsa_sign( grp, r, s, d, buf, blen, in mbedtls_ecdsa_sign_det()
199 const unsigned char *buf, size_t blen, in mbedtls_ecdsa_verify() argument
231 MBEDTLS_MPI_CHK( derive_mpi( grp, &e, buf, blen ) ); in mbedtls_ecdsa_verify()
/OK3568_Linux_fs/kernel/fs/gfs2/
H A Dmeta_io.c369 * @blen: length of buffers to be removed
376 static void gfs2_ail1_wipe(struct gfs2_sbd *sdp, u64 bstart, u32 blen) in gfs2_ail1_wipe() argument
381 u64 end = bstart + blen; in gfs2_ail1_wipe()
430 * @blen: the number of buffers in the run
434 void gfs2_journal_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen) in gfs2_journal_wipe() argument
440 gfs2_ail1_wipe(sdp, bstart, blen); in gfs2_journal_wipe()
441 while (blen) { in gfs2_journal_wipe()
460 blen--; in gfs2_journal_wipe()

12345678