Home
last modified time | relevance | path

Searched refs:MBEDTLS_BYTE_2 (Results 1 – 10 of 10) sorted by relevance

/third_party/mbedtls/library/
Dcommon.h78 #define MBEDTLS_BYTE_2( x ) ( (uint8_t) ( ( ( x ) >> 16 ) & 0xff ) ) macro
117 ( data )[( offset ) + 1] = MBEDTLS_BYTE_2( n ); \
156 ( data )[( offset ) + 2] = MBEDTLS_BYTE_2( n ); \
259 ( data )[( offset ) ] = MBEDTLS_BYTE_2( n ); \
297 ( data )[( offset ) + 2] = MBEDTLS_BYTE_2( n ); \
341 ( data )[( offset ) + 5] = MBEDTLS_BYTE_2( n ); \
384 ( data )[( offset ) + 2] = MBEDTLS_BYTE_2( n ); \
Daes.c581 ( (uint32_t) FSb[ MBEDTLS_BYTE_2( RK[3] ) ] << 8 ) ^ in mbedtls_aes_setkey_enc()
597 ( (uint32_t) FSb[ MBEDTLS_BYTE_2( RK[5] ) ] << 8 ) ^ in mbedtls_aes_setkey_enc()
615 ( (uint32_t) FSb[ MBEDTLS_BYTE_2( RK[7] ) ] << 8 ) ^ in mbedtls_aes_setkey_enc()
626 ( (uint32_t) FSb[ MBEDTLS_BYTE_2( RK[11] ) ] << 16 ) ^ in mbedtls_aes_setkey_enc()
695 AES_RT2( FSb[ MBEDTLS_BYTE_2( *SK ) ] ) ^ in mbedtls_aes_setkey_dec()
794 AES_FT2( MBEDTLS_BYTE_2( Y2 ) ) ^ \
799 AES_FT2( MBEDTLS_BYTE_2( Y3 ) ) ^ \
804 AES_FT2( MBEDTLS_BYTE_2( Y0 ) ) ^ \
809 AES_FT2( MBEDTLS_BYTE_2( Y1 ) ) ^ \
818 AES_RT2( MBEDTLS_BYTE_2( Y2 ) ) ^ \
[all …]
Daria.c217 (((uint32_t) sc[ MBEDTLS_BYTE_2( *a ) ]) << 16) ^ in aria_sl()
221 (((uint32_t) sc[ MBEDTLS_BYTE_2( *b ) ]) << 16) ^ in aria_sl()
225 (((uint32_t) sc[ MBEDTLS_BYTE_2( *c ) ]) << 16) ^ in aria_sl()
229 (((uint32_t) sc[ MBEDTLS_BYTE_2( *d ) ]) << 16) ^ in aria_sl()
Dasn1write.c76 *--(*p) = MBEDTLS_BYTE_2( len ); in mbedtls_asn1_write_len()
90 *--(*p) = MBEDTLS_BYTE_2( len ); in mbedtls_asn1_write_len()
Dbase64.c203 *p++ = MBEDTLS_BYTE_2( x ); in mbedtls_base64_decode()
Dcamellia.c282 ((uint32_t) SBOX2( MBEDTLS_BYTE_2( I0 )) << 16) | in camellia_feistel()
286 ((uint32_t) SBOX3( MBEDTLS_BYTE_2( I1 )) << 16) | in camellia_feistel()
Dssl_tls13_generic.c131 hs_hdr[1] = MBEDTLS_BYTE_2( total_hs_len ); in mbedtls_ssl_tls13_add_hs_hdr_to_checksum()
Dssl_msg.c2077 ssl->out_msg[6] = MBEDTLS_BYTE_2( frag_off ); in mbedtls_ssl_flight_transmit()
2081 ssl->out_msg[ 9] = MBEDTLS_BYTE_2( cur_hs_frag_len ); in mbedtls_ssl_flight_transmit()
2273 ssl->out_msg[1] = MBEDTLS_BYTE_2( hs_len ); in mbedtls_ssl_write_handshake_msg_ext()
3005 obuf[14] = obuf[22] = MBEDTLS_BYTE_2( *olen - 25 ); in ssl_check_dtls_clihlo_cookie()
Dssl_tls.c1745 ssl->out_msg[i ] = MBEDTLS_BYTE_2( n ); in mbedtls_ssl_write_certificate()
1753 ssl->out_msg[4] = MBEDTLS_BYTE_2( i - 7 ); in mbedtls_ssl_write_certificate()
4788 *p++ = MBEDTLS_BYTE_2( cert_len ); in ssl_session_save_tls12()
4831 *p++ = MBEDTLS_BYTE_2( session->ticket_len ); in ssl_session_save_tls12()
5664 MBEDTLS_BYTE_2( SSL_SERIALIZED_CONTEXT_CONFIG_BITFLAG ),
/third_party/mbedtls/docs/architecture/
Dtls13-support.md306 hs_hdr[1] = MBEDTLS_BYTE_2( total_hs_len );