Home
last modified time | relevance | path

Searched refs:id_len (Results 1 – 13 of 13) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/custom_type/
A Dder_length_custom_type.c35 unsigned long size, x, y, i, inlen, id_len; in der_length_custom_type() local
42 if ((err = der_length_asn1_identifier(root, &id_len)) != CRYPT_OK) { in der_length_custom_type()
45 y = id_len; in der_length_custom_type()
191 *payloadlen = y - id_len; in der_length_custom_type()
195 if ((err = der_length_asn1_length(y - id_len, &x)) != CRYPT_OK) { in der_length_custom_type()
199 *payloadlen = y - id_len; in der_length_custom_type()
A Dder_encode_custom_type.c37 unsigned long size, x, y, z, i, inlen, id_len; in der_encode_custom_type() local
56 if ((err = der_length_asn1_identifier(root, &id_len)) != CRYPT_OK) return CRYPT_INVALID_ARG; in der_encode_custom_type()
57 x = id_len; in der_encode_custom_type()
226 if ((err = der_encode_asn1_identifier(root, out, &id_len)) != CRYPT_OK) { in der_encode_custom_type()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/sequence/
A Dder_decode_sequence_flexi.c48 unsigned long err, identifier, len, totlen, data_offset, id_len, len_len; in der_decode_sequence_flexi() local
72 id_len = *inlen; in der_decode_sequence_flexi()
73 if ((err = der_decode_asn1_identifier(in, &id_len, l)) != CRYPT_OK) { in der_decode_sequence_flexi()
81 len_len = *inlen - id_len; in der_decode_sequence_flexi()
86 if ((err = der_decode_asn1_length(&in[id_len], &len_len, &len)) != CRYPT_OK) { in der_decode_sequence_flexi()
91 } else if (len > (*inlen - id_len - len_len)) { in der_decode_sequence_flexi()
98 data_offset = id_len + len_len; in der_decode_sequence_flexi()
/optee_os/lib/libmbedtls/mbedtls/library/
A Dssl_cache.c81 if( session->id_len != entry->session.id_len || in mbedtls_ssl_cache_get()
83 entry->session.id_len ) != 0 ) in mbedtls_ssl_cache_get()
170 if( memcmp( session->id, cur->session.id, cur->session.id_len ) == 0 ) in mbedtls_ssl_cache_set()
A Decjpake.c201 const size_t id_len = strlen( id ); in ecjpake_hash() local
212 *p++ = (unsigned char)( ( id_len >> 24 ) & 0xFF ); in ecjpake_hash()
213 *p++ = (unsigned char)( ( id_len >> 16 ) & 0xFF ); in ecjpake_hash()
214 *p++ = (unsigned char)( ( id_len >> 8 ) & 0xFF ); in ecjpake_hash()
215 *p++ = (unsigned char)( ( id_len ) & 0xFF ); in ecjpake_hash()
217 if( end < p || (size_t)( end - p ) < id_len ) in ecjpake_hash()
220 memcpy( p, id, id_len ); in ecjpake_hash()
221 p += id_len; in ecjpake_hash()
A Dssl_srv.c671 session.id_len = ssl->session_negotiate->id_len; in ssl_parse_session_ticket_ext()
1288 ssl->session_negotiate->id_len = sess_len; in ssl_parse_client_hello_v2()
1745 ssl->session_negotiate->id_len = sess_len; in ssl_parse_client_hello()
1749 ssl->session_negotiate->id_len ); in ssl_parse_client_hello()
2778 if( session->id_len == 0 ) in ssl_handle_id_based_session_resumption()
2789 session_tmp.id_len = session->id_len; in ssl_handle_id_based_session_resumption()
2904 ssl->session_negotiate->id_len = n = 0; in ssl_write_server_hello()
2910 ssl->session_negotiate->id_len = n = 32; in ssl_write_server_hello()
2921 n = ssl->session_negotiate->id_len; in ssl_write_server_hello()
2939 *p++ = (unsigned char) ssl->session_negotiate->id_len; in ssl_write_server_hello()
[all …]
A Dssl_cli.c1073 n = ssl->session_negotiate->id_len; in ssl_write_client_hello()
1102 ssl->session_negotiate->id_len = n = 32; in ssl_write_client_hello()
2277 ssl->session_negotiate->id_len != n || in ssl_parse_server_hello()
2287 ssl->session_negotiate->id_len = n; in ssl_parse_server_hello()
4401 ssl->session_negotiate->id_len = 0; in ssl_parse_new_session_ticket()
A Dssl_tls.c3416 ssl->session->id_len != 0 && in mbedtls_ssl_handshake_wrapup()
5391 *p++ = (unsigned char)( session->id_len & 0xFF ); in ssl_session_save()
5592 session->id_len = *p++; in ssl_session_load()
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/
A Dssl.h917 size_t id_len; /*!< session id length */ member
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
A Dssl.h917 size_t id_len; /*!< session id length */ member
/optee_os/out/arm/export-ta_arm64/include/mbedtls/
A Dssl.h917 size_t id_len; /*!< session id length */ member
/optee_os/out/arm/export-ta_arm32/include/mbedtls/
A Dssl.h917 size_t id_len; /*!< session id length */ member
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/
A Dssl.h917 size_t id_len; /*!< session id length */ member

Completed in 69 milliseconds