Home
last modified time | relevance | path

Searched refs:MBEDTLS_BYTE_1 (Results 1 – 14 of 14) sorted by relevance

/third_party/mbedtls/library/
Dcommon.h77 #define MBEDTLS_BYTE_1( x ) ( (uint8_t) ( ( ( x ) >> 8 ) & 0xff ) ) macro
118 ( data )[( offset ) + 2] = MBEDTLS_BYTE_1( n ); \
155 ( data )[( offset ) + 1] = MBEDTLS_BYTE_1( n ); \
191 ( data )[( offset ) + 1] = MBEDTLS_BYTE_1( n ); \
224 ( data )[( offset ) ] = MBEDTLS_BYTE_1( n ); \
260 ( data )[( offset ) + 1] = MBEDTLS_BYTE_1( n ); \
296 ( data )[( offset ) + 1] = MBEDTLS_BYTE_1( n ); \
342 ( data )[( offset ) + 6] = MBEDTLS_BYTE_1( n ); \
383 ( data )[( offset ) + 1] = MBEDTLS_BYTE_1( n ); \
Daes.c580 ( (uint32_t) FSb[ MBEDTLS_BYTE_1( RK[3] ) ] ) ^ in mbedtls_aes_setkey_enc()
596 ( (uint32_t) FSb[ MBEDTLS_BYTE_1( RK[5] ) ] ) ^ in mbedtls_aes_setkey_enc()
614 ( (uint32_t) FSb[ MBEDTLS_BYTE_1( RK[7] ) ] ) ^ in mbedtls_aes_setkey_enc()
625 ( (uint32_t) FSb[ MBEDTLS_BYTE_1( RK[11] ) ] << 8 ) ^ in mbedtls_aes_setkey_enc()
694 AES_RT1( FSb[ MBEDTLS_BYTE_1( *SK ) ] ) ^ in mbedtls_aes_setkey_dec()
793 AES_FT1( MBEDTLS_BYTE_1( Y1 ) ) ^ \
798 AES_FT1( MBEDTLS_BYTE_1( Y2 ) ) ^ \
803 AES_FT1( MBEDTLS_BYTE_1( Y3 ) ) ^ \
808 AES_FT1( MBEDTLS_BYTE_1( Y0 ) ) ^ \
817 AES_RT1( MBEDTLS_BYTE_1( Y3 ) ) ^ \
[all …]
Dasn1write.c64 *--(*p) = MBEDTLS_BYTE_1( len ); in mbedtls_asn1_write_len()
75 *--(*p) = MBEDTLS_BYTE_1( len ); in mbedtls_asn1_write_len()
89 *--(*p) = MBEDTLS_BYTE_1( len ); in mbedtls_asn1_write_len()
Daria.c216 (((uint32_t) sb[ MBEDTLS_BYTE_1( *a ) ]) << 8) ^ in aria_sl()
220 (((uint32_t) sb[ MBEDTLS_BYTE_1( *b ) ]) << 8) ^ in aria_sl()
224 (((uint32_t) sb[ MBEDTLS_BYTE_1( *c ) ]) << 8) ^ in aria_sl()
228 (((uint32_t) sb[ MBEDTLS_BYTE_1( *d ) ]) << 8) ^ in aria_sl()
Dpkcs12.c328 c = MBEDTLS_BYTE_1( j ); in mbedtls_pkcs12_derivation()
340 c = MBEDTLS_BYTE_1( j ); in mbedtls_pkcs12_derivation()
Dbase64.c204 if( equals <= 1 ) *p++ = MBEDTLS_BYTE_1( x ); in mbedtls_base64_decode()
Dcamellia.c283 ((uint32_t) SBOX3( MBEDTLS_BYTE_1( I0 )) << 8) | in camellia_feistel()
287 ((uint32_t) SBOX4( MBEDTLS_BYTE_1( I1 )) << 8) | in camellia_feistel()
Ddhm.c273 *p++ = MBEDTLS_BYTE_1( n ); \ in mbedtls_dhm_make_params()
Dssl_tls.c1746 ssl->out_msg[i + 1] = MBEDTLS_BYTE_1( n ); in mbedtls_ssl_write_certificate()
1754 ssl->out_msg[5] = MBEDTLS_BYTE_1( i - 7 ); in mbedtls_ssl_write_certificate()
4659 MBEDTLS_BYTE_1( SSL_SERIALIZED_SESSION_CONFIG_BITFLAG ),
4789 *p++ = MBEDTLS_BYTE_1( cert_len ); in ssl_session_save_tls12()
4832 *p++ = MBEDTLS_BYTE_1( session->ticket_len ); in ssl_session_save_tls12()
5662 MBEDTLS_BYTE_1( SSL_SERIALIZED_SESSION_CONFIG_BITFLAG ),
5665 MBEDTLS_BYTE_1( SSL_SERIALIZED_CONTEXT_CONFIG_BITFLAG ),
Dssl_tls13_generic.c132 hs_hdr[2] = MBEDTLS_BYTE_1( total_hs_len ); in mbedtls_ssl_tls13_add_hs_hdr_to_checksum()
Dssl_msg.c2078 ssl->out_msg[7] = MBEDTLS_BYTE_1( frag_off ); in mbedtls_ssl_flight_transmit()
2082 ssl->out_msg[10] = MBEDTLS_BYTE_1( cur_hs_frag_len ); in mbedtls_ssl_flight_transmit()
2274 ssl->out_msg[2] = MBEDTLS_BYTE_1( hs_len ); in mbedtls_ssl_write_handshake_msg_ext()
3006 obuf[15] = obuf[23] = MBEDTLS_BYTE_1( *olen - 25 ); in ssl_check_dtls_clihlo_cookie()
Dssl_cli.c3713 ssl->out_msg[header_len++] = MBEDTLS_BYTE_1( content_len ); in ssl_write_client_key_exchange()
3765 ssl->out_msg[header_len++] = MBEDTLS_BYTE_1( content_len ); in ssl_write_client_key_exchange()
Dssl_srv.c3318 ssl->out_msg[ssl->out_msglen++] = MBEDTLS_BYTE_1( signature_len ); in ssl_write_server_key_exchange()
3476 if( *p++ != MBEDTLS_BYTE_1( len ) || in ssl_decrypt_encrypted_pms()
Dpsa_crypto.c5133 *cur++ = MBEDTLS_BYTE_1( data_length ); in psa_tls12_prf_psk_to_ms_set_key()