Home
last modified time | relevance | path

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

/optee_os-3.20.0/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-3.20.0/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-3.20.0/lib/libmbedtls/mbedtls/library/
A Dssl_ticket.c204 size_t *tlen, in mbedtls_ssl_ticket_write() argument
216 *tlen = 0; in mbedtls_ssl_ticket_write()
269 *tlen = TICKET_MIN_LEN + ciph_len - TICKET_AUTH_TAG_BYTES; in mbedtls_ssl_ticket_write()
A Dssl_cli.c670 size_t tlen = ssl->session_negotiate->ticket_len; in ssl_write_session_ticket_ext() local
681 MBEDTLS_SSL_CHK_BUF_PTR( p, end, 4 + tlen ); in ssl_write_session_ticket_ext()
686 MBEDTLS_PUT_UINT16_BE( tlen, p, 0 ); in ssl_write_session_ticket_ext()
691 if( ssl->session_negotiate->ticket == NULL || tlen == 0 ) in ssl_write_session_ticket_ext()
695 ( "sending session ticket of length %" MBEDTLS_PRINTF_SIZET, tlen ) ); in ssl_write_session_ticket_ext()
697 memcpy( p, ssl->session_negotiate->ticket, tlen ); in ssl_write_session_ticket_ext()
699 *olen += tlen; in ssl_write_session_ticket_ext()
A Dssl_srv.c4674 size_t tlen; in ssl_write_new_session_ticket() local
4697 &tlen, &lifetime ) ) != 0 ) in ssl_write_new_session_ticket()
4700 tlen = 0; in ssl_write_new_session_ticket()
4704 MBEDTLS_PUT_UINT16_BE( tlen, ssl->out_msg, 8 ); in ssl_write_new_session_ticket()
4705 ssl->out_msglen = 10 + tlen; in ssl_write_new_session_ticket()
/optee_os-3.20.0/core/lib/libtomcrypt/src/prngs/
A Dfortuna.c370 unsigned long tlen = 0; in fortuna_read() local
393 tlen = outlen; in fortuna_read()
419 tlen = 0; in fortuna_read()
427 return tlen; in fortuna_read()
/optee_os-3.20.0/core/tee/
A Dtee_svc_cryp.c3844 size_t tlen = 0; in syscall_authenc_enc_final() local
3891 res = get_user_u64_as_size_t(&tlen, tag_len); in syscall_authenc_enc_final()
3899 (uaddr_t)tag, tlen); in syscall_authenc_enc_final()
3904 &dlen, tag, &tlen); in syscall_authenc_enc_final()
3916 res2 = put_user_u64(tag_len, tlen); in syscall_authenc_enc_final()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dssl.h2033 size_t *tlen,

Completed in 43 milliseconds