Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dcommon.h61 #define MBEDTLS_BYTE_1( x ) ( (uint8_t) ( ( ( x ) >> 8 ) & 0xff ) ) macro
102 ( data )[( offset ) + 2] = MBEDTLS_BYTE_1( n ); \
139 ( data )[( offset ) + 1] = MBEDTLS_BYTE_1( n ); \
175 ( data )[( offset ) + 1] = MBEDTLS_BYTE_1( n ); \
208 ( data )[( offset ) ] = MBEDTLS_BYTE_1( n ); \
254 ( data )[( offset ) + 6] = MBEDTLS_BYTE_1( n ); \
295 ( data )[( offset ) + 1] = MBEDTLS_BYTE_1( n ); \
A Daes.c694 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 ) ) ^ \
822 AES_RT1( MBEDTLS_BYTE_1( Y0 ) ) ^ \
827 AES_RT1( MBEDTLS_BYTE_1( Y1 ) ) ^ \
832 AES_RT1( MBEDTLS_BYTE_1( Y2 ) ) ^ \
868 ( (uint32_t) FSb[ MBEDTLS_BYTE_1( t.Y[1] ) ] << 8 ) ^ in mbedtls_internal_aes_encrypt()
[all …]
A 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()
A Dpkcs12.c373 c = MBEDTLS_BYTE_1( j ); in mbedtls_pkcs12_derivation()
385 c = MBEDTLS_BYTE_1( j ); in mbedtls_pkcs12_derivation()
A 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()
A Dbase64.c204 if( equals <= 1 ) *p++ = MBEDTLS_BYTE_1( x ); in mbedtls_base64_decode()
A 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()
A Ddhm.c234 *p++ = MBEDTLS_BYTE_1( n ); \ in mbedtls_dhm_make_params()
A Dssl_tls.c2304 ssl->out_msg[i + 1] = MBEDTLS_BYTE_1( n ); in mbedtls_ssl_write_certificate()
2312 ssl->out_msg[5] = MBEDTLS_BYTE_1( i - 7 ); in mbedtls_ssl_write_certificate()
5383 MBEDTLS_BYTE_1( SSL_SERIALIZED_SESSION_CONFIG_BITFLAG ),
5514 *p++ = MBEDTLS_BYTE_1( cert_len ); in ssl_session_save()
5557 *p++ = MBEDTLS_BYTE_1( session->ticket_len ); in ssl_session_save()
6247 MBEDTLS_BYTE_1( SSL_SERIALIZED_SESSION_CONFIG_BITFLAG ),
6250 MBEDTLS_BYTE_1( SSL_SERIALIZED_CONTEXT_CONFIG_BITFLAG ),
A Dssl_msg.c2403 ssl->out_msg[7] = MBEDTLS_BYTE_1( frag_off ); in mbedtls_ssl_flight_transmit()
2407 ssl->out_msg[10] = MBEDTLS_BYTE_1( cur_hs_frag_len ); in mbedtls_ssl_flight_transmit()
2606 ssl->out_msg[2] = MBEDTLS_BYTE_1( hs_len ); in mbedtls_ssl_write_handshake_msg()
3394 obuf[15] = obuf[23] = MBEDTLS_BYTE_1( *olen - 25 ); in mbedtls_ssl_check_dtls_clihlo_cookie()
A Dssl_cli.c364 elliptic_curve_list[elliptic_curve_len++] = MBEDTLS_BYTE_1( info->tls_id ); in ssl_write_supported_elliptic_curves_ext()
3965 ssl->out_msg[header_len++] = MBEDTLS_BYTE_1( content_len ); in ssl_write_client_key_exchange()
4023 ssl->out_msg[header_len++] = MBEDTLS_BYTE_1( content_len ); in ssl_write_client_key_exchange()
A Dssl_srv.c3767 ssl->out_msg[ssl->out_msglen++] = MBEDTLS_BYTE_1( signature_len ); in ssl_write_server_key_exchange()
3933 if( *p++ != MBEDTLS_BYTE_1( len ) || in ssl_decrypt_encrypted_pms()

Completed in 58 milliseconds