Home
last modified time | relevance | path

Searched refs:tlen (Results 1 – 12 of 12) sorted by relevance

/optee_os/core/crypto/
A Dsm2-kdf.c20 TEE_Result sm2_kdf(const uint8_t *Z, size_t Z_len, uint8_t *t, size_t tlen) in sm2_kdf() argument
23 size_t remain = tlen; in sm2_kdf()
/optee_os/core/include/crypto/
A Dsm2-kdf.h12 TEE_Result sm2_kdf(const uint8_t *Z, size_t Z_len, uint8_t *t, size_t tlen);
/optee_os/lib/libmbedtls/mbedtls/library/
A Dssl_ticket.c202 size_t *tlen, in mbedtls_ssl_ticket_write() argument
214 *tlen = 0; in mbedtls_ssl_ticket_write()
268 *tlen = TICKET_MIN_LEN + ciph_len - TICKET_AUTH_TAG_BYTES; in mbedtls_ssl_ticket_write()
A Dssl_cli.c663 size_t tlen = ssl->session_negotiate->ticket_len; in ssl_write_session_ticket_ext() local
674 MBEDTLS_SSL_CHK_BUF_PTR( p, end, 4 + tlen ); in ssl_write_session_ticket_ext()
679 *p++ = (unsigned char)( ( tlen >> 8 ) & 0xFF ); in ssl_write_session_ticket_ext()
680 *p++ = (unsigned char)( ( tlen ) & 0xFF ); in ssl_write_session_ticket_ext()
684 if( ssl->session_negotiate->ticket == NULL || tlen == 0 ) in ssl_write_session_ticket_ext()
688 ( "sending session ticket of length %" MBEDTLS_PRINTF_SIZET, tlen ) ); in ssl_write_session_ticket_ext()
690 memcpy( p, ssl->session_negotiate->ticket, tlen ); in ssl_write_session_ticket_ext()
692 *olen += tlen; in ssl_write_session_ticket_ext()
A Dssl_srv.c4621 size_t tlen; in ssl_write_new_session_ticket() local
4644 &tlen, &lifetime ) ) != 0 ) in ssl_write_new_session_ticket()
4647 tlen = 0; in ssl_write_new_session_ticket()
4655 ssl->out_msg[8] = (unsigned char)( ( tlen >> 8 ) & 0xFF ); in ssl_write_new_session_ticket()
4656 ssl->out_msg[9] = (unsigned char)( ( tlen ) & 0xFF ); in ssl_write_new_session_ticket()
4658 ssl->out_msglen = 10 + tlen; in ssl_write_new_session_ticket()
/optee_os/core/lib/libtomcrypt/src/prngs/
A Dfortuna.c377 unsigned long tlen = 0; in fortuna_read() local
400 tlen = outlen; in fortuna_read()
426 tlen = 0; in fortuna_read()
434 return tlen; in fortuna_read()
/optee_os/core/tee/
A Dtee_svc_cryp.c3354 size_t tlen = 0; in syscall_authenc_enc_final() local
3397 res = get_user_u64_as_size_t(&tlen, tag_len); in syscall_authenc_enc_final()
3405 (uaddr_t)tag, tlen); in syscall_authenc_enc_final()
3410 &dlen, tag, &tlen); in syscall_authenc_enc_final()
3422 res2 = put_user_u64(tag_len, tlen); in syscall_authenc_enc_final()
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/
A Dssl.h1962 size_t *tlen,
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
A Dssl.h1962 size_t *tlen,
/optee_os/out/arm/export-ta_arm64/include/mbedtls/
A Dssl.h1962 size_t *tlen,
/optee_os/out/arm/export-ta_arm32/include/mbedtls/
A Dssl.h1962 size_t *tlen,
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/
A Dssl.h1962 size_t *tlen,

Completed in 63 milliseconds