Home
last modified time | relevance | path

Searched refs:slen (Results 1 – 25 of 39) sorted by relevance

12

/optee_os/lib/libmbedtls/mbedtls/library/
A Dbase64.c165 const unsigned char *src, size_t slen ) in mbedtls_base64_encode() argument
171 if( slen == 0 ) in mbedtls_base64_encode()
177 n = slen / 3 + ( slen % 3 != 0 ); in mbedtls_base64_encode()
193 n = ( slen / 3 ) * 3; in mbedtls_base64_encode()
214 if( i < slen ) in mbedtls_base64_encode()
217 C2 = ( ( i + 1 ) < slen ) ? *src++ : 0; in mbedtls_base64_encode()
225 if( ( i + 1 ) < slen ) in mbedtls_base64_encode()
251 for( i = n = j = 0; i < slen; i++ ) in mbedtls_base64_decode()
255 while( i < slen && src[i] == ' ' ) in mbedtls_base64_decode()
262 if( i == slen ) in mbedtls_base64_decode()
[all …]
A Dssl_tls13_keys.c135 const unsigned char *secret, size_t slen, in mbedtls_ssl_tls1_3_hkdf_expand_label() argument
175 secret, slen, in mbedtls_ssl_tls1_3_hkdf_expand_label()
200 size_t slen, size_t key_len, size_t iv_len, in mbedtls_ssl_tls1_3_make_traffic_keys() argument
206 client_secret, slen, in mbedtls_ssl_tls1_3_make_traffic_keys()
214 server_secret, slen, in mbedtls_ssl_tls1_3_make_traffic_keys()
222 client_secret, slen, in mbedtls_ssl_tls1_3_make_traffic_keys()
230 server_secret, slen, in mbedtls_ssl_tls1_3_make_traffic_keys()
245 const unsigned char *secret, size_t slen, in mbedtls_ssl_tls1_3_derive_secret() argument
281 secret, slen, in mbedtls_ssl_tls1_3_derive_secret()
A Dssl_tls13_keys.h111 const unsigned char *secret, size_t slen,
149 size_t slen, size_t key_len, size_t iv_len,
195 const unsigned char *secret, size_t slen,
A Decdsa.c741 *slen = len; in ecdsa_signature_to_asn1()
752 unsigned char *sig, size_t *slen, in mbedtls_ecdsa_write_signature_restartable() argument
762 ECDSA_VALIDATE_RET( slen != NULL ); in mbedtls_ecdsa_write_signature_restartable()
802 unsigned char *sig, size_t *slen, in mbedtls_ecdsa_write_signature() argument
809 ECDSA_VALIDATE_RET( slen != NULL ); in mbedtls_ecdsa_write_signature()
818 unsigned char *sig, size_t *slen, in mbedtls_ecdsa_write_signature_det() argument
824 ECDSA_VALIDATE_RET( slen != NULL ); in mbedtls_ecdsa_write_signature_det()
835 const unsigned char *sig, size_t slen ) in mbedtls_ecdsa_read_signature() argument
841 ctx, hash, hlen, sig, slen, NULL ) ); in mbedtls_ecdsa_read_signature()
849 const unsigned char *sig, size_t slen, in mbedtls_ecdsa_read_signature_restartable() argument
[all …]
A Dbignum.c623 size_t i, j, slen, n; in mbedtls_mpi_read_string() local
647 slen = strlen( s ); in mbedtls_mpi_read_string()
820 size_t slen; in mbedtls_mpi_read_file() local
838 slen = strlen( s ); in mbedtls_mpi_read_file()
842 if( slen > 0 && s[slen - 1] == '\n' ) { slen--; s[slen] = '\0'; } in mbedtls_mpi_read_file()
843 if( slen > 0 && s[slen - 1] == '\r' ) { slen--; s[slen] = '\0'; } in mbedtls_mpi_read_file()
845 p = s + slen; in mbedtls_mpi_read_file()
877 slen = strlen( s ); in mbedtls_mpi_write_file()
878 s[slen++] = '\r'; in mbedtls_mpi_write_file()
879 s[slen++] = '\n'; in mbedtls_mpi_write_file()
[all …]
/optee_os/lib/libutils/isoc/
A Dsprintf.c23 int __sprintf_chk(char *str, int flag __unused, size_t slen, in __sprintf_chk() argument
29 if (slen == 0) in __sprintf_chk()
33 retval = __vsnprintf(str, slen, fmt, ap, false); in __sprintf_chk()
36 if (retval > 0 && (size_t)retval >= slen) in __sprintf_chk()
/optee_os/out/arm/export-ta_arm64/include/mbedtls/
A Decdsa.h373 unsigned char *sig, size_t *slen,
419 unsigned char *sig, size_t *slen,
476 unsigned char *sig, size_t *slen,
511 const unsigned char *sig, size_t slen );
546 const unsigned char *sig, size_t slen,
A Dbase64.h60 const unsigned char *src, size_t slen );
80 const unsigned char *src, size_t slen );
A Dpkcs5.h88 size_t plen, const unsigned char *salt, size_t slen,
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/
A Decdsa.h373 unsigned char *sig, size_t *slen,
419 unsigned char *sig, size_t *slen,
476 unsigned char *sig, size_t *slen,
511 const unsigned char *sig, size_t slen );
546 const unsigned char *sig, size_t slen,
A Dbase64.h60 const unsigned char *src, size_t slen );
80 const unsigned char *src, size_t slen );
A Dpkcs5.h88 size_t plen, const unsigned char *salt, size_t slen,
/optee_os/out/arm/export-ta_arm32/include/mbedtls/
A Decdsa.h373 unsigned char *sig, size_t *slen,
419 unsigned char *sig, size_t *slen,
476 unsigned char *sig, size_t *slen,
511 const unsigned char *sig, size_t slen );
546 const unsigned char *sig, size_t slen,
A Dbase64.h60 const unsigned char *src, size_t slen );
80 const unsigned char *src, size_t slen );
A Dpkcs5.h88 size_t plen, const unsigned char *salt, size_t slen,
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/
A Decdsa.h373 unsigned char *sig, size_t *slen,
419 unsigned char *sig, size_t *slen,
476 unsigned char *sig, size_t *slen,
511 const unsigned char *sig, size_t slen );
546 const unsigned char *sig, size_t slen,
A Dbase64.h60 const unsigned char *src, size_t slen );
80 const unsigned char *src, size_t slen );
A Dpkcs5.h88 size_t plen, const unsigned char *salt, size_t slen,
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
A Decdsa.h373 unsigned char *sig, size_t *slen,
419 unsigned char *sig, size_t *slen,
476 unsigned char *sig, size_t *slen,
511 const unsigned char *sig, size_t slen );
546 const unsigned char *sig, size_t slen,
A Dbase64.h60 const unsigned char *src, size_t slen );
80 const unsigned char *src, size_t slen );
A Dpkcs5.h88 size_t plen, const unsigned char *salt, size_t slen,
/optee_os/lib/libutee/
A Dtee_api_operations.c873 size_t slen, void *dst, uint64_t *dlen), in tee_buffer_update() argument
879 size_t slen = src_len; in tee_buffer_update() local
889 if (slen) in tee_buffer_update()
905 l = MIN(slen, op->block_size - op->buffer_offs); in tee_buffer_update()
907 l = MIN(slen, buffer_size - op->buffer_offs); in tee_buffer_update()
911 slen -= l; in tee_buffer_update()
936 op->buffer_offs += slen; in tee_buffer_update()
941 if (slen >= (buffer_size + buffer_left)) { in tee_buffer_update()
953 slen -= l; in tee_buffer_update()
960 memcpy(op->buffer + op->buffer_offs, src, slen); in tee_buffer_update()
[all …]
/optee_os/lib/libutils/isoc/include/
A Dstdio.h23 int __sprintf_chk(char *str, int flag, size_t slen, const char *fmt, ...)
/optee_os/out/arm/export-ta_arm32/include/
A Dstdio.h23 int __sprintf_chk(char *str, int flag, size_t slen, const char *fmt, ...)
/optee_os/out/arm/export-ta_arm64/include/
A Dstdio.h23 int __sprintf_chk(char *str, int flag, size_t slen, const char *fmt, ...)

Completed in 40 milliseconds

12