Home
last modified time | relevance | path

Searched refs:MBEDTLS_BYTE_0 (Results 1 – 16 of 16) sorted by relevance

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dcommon.h60 #define MBEDTLS_BYTE_0( x ) ( (uint8_t) ( ( x ) & 0xff ) ) macro
103 ( data )[( offset ) + 3] = MBEDTLS_BYTE_0( n ); \
138 ( data )[( offset ) ] = MBEDTLS_BYTE_0( n ); \
174 ( data )[( offset ) ] = MBEDTLS_BYTE_0( n ); \
209 ( data )[( offset ) + 1] = MBEDTLS_BYTE_0( n ); \
255 ( data )[( offset ) + 7] = MBEDTLS_BYTE_0( n ); \
294 ( data )[( offset ) ] = MBEDTLS_BYTE_0( n ); \
A Dssl_tls13_keys.c115 *p++ = MBEDTLS_BYTE_0( desired_length ); in ssl_tls1_3_hkdf_encode_label()
118 *p++ = MBEDTLS_BYTE_0( total_label_len ); in ssl_tls1_3_hkdf_encode_label()
125 *p++ = MBEDTLS_BYTE_0( clen ); in ssl_tls1_3_hkdf_encode_label()
A Daes.c389 x = MBEDTLS_BYTE_0( x ^ XTIME( x ) ); in aes_gen_tables()
398 x = MBEDTLS_BYTE_0( XTIME( x ) ); in aes_gen_tables()
427 y = MBEDTLS_BYTE_0( XTIME( x ) ); in aes_gen_tables()
428 z = MBEDTLS_BYTE_0( y ^ x ); in aes_gen_tables()
693 *RK++ = AES_RT0( FSb[ MBEDTLS_BYTE_0( *SK ) ] ) ^ in mbedtls_aes_setkey_dec()
792 (X0) = *RK++ ^ AES_FT0( MBEDTLS_BYTE_0( Y0 ) ) ^ \
797 (X1) = *RK++ ^ AES_FT0( MBEDTLS_BYTE_0( Y1 ) ) ^ \
802 (X2) = *RK++ ^ AES_FT0( MBEDTLS_BYTE_0( Y2 ) ) ^ \
807 (X3) = *RK++ ^ AES_FT0( MBEDTLS_BYTE_0( Y3 ) ) ^ \
816 (X0) = *RK++ ^ AES_RT0( MBEDTLS_BYTE_0( Y0 ) ) ^ \
[all …]
A Dblowfish.c59 d = MBEDTLS_BYTE_0( x ); in F()
61 c = MBEDTLS_BYTE_0( x ); in F()
63 b = MBEDTLS_BYTE_0( x ); in F()
65 a = MBEDTLS_BYTE_0( x ); in F()
A Dasn1write.c63 *--(*p) = MBEDTLS_BYTE_0( len ); in mbedtls_asn1_write_len()
74 *--(*p) = MBEDTLS_BYTE_0( len ); in mbedtls_asn1_write_len()
88 *--(*p) = MBEDTLS_BYTE_0( len ); in mbedtls_asn1_write_len()
A Dpkcs12.c374 salt_block[i - 1] = MBEDTLS_BYTE_0( j ); in mbedtls_pkcs12_derivation()
386 pwd_block[i - 1] = MBEDTLS_BYTE_0( j ); in mbedtls_pkcs12_derivation()
A Daria.c215 *a = ( (uint32_t) sa[ MBEDTLS_BYTE_0( *a ) ] ) ^ in aria_sl()
219 *b = ( (uint32_t) sa[ MBEDTLS_BYTE_0( *b ) ] ) ^ in aria_sl()
223 *c = ( (uint32_t) sa[ MBEDTLS_BYTE_0( *c ) ] ) ^ in aria_sl()
227 *d = ( (uint32_t) sa[ MBEDTLS_BYTE_0( *d ) ] ) ^ in aria_sl()
A Dbase64.c205 if( equals <= 0 ) *p++ = MBEDTLS_BYTE_0( x ); in mbedtls_base64_decode()
A Dcamellia.c284 ((uint32_t) SBOX4( MBEDTLS_BYTE_0( I0 )) ); in camellia_feistel()
288 ((uint32_t) SBOX1( MBEDTLS_BYTE_0( I1 )) ); in camellia_feistel()
A Dssl_cli.c153 *p++ = MBEDTLS_BYTE_0( MBEDTLS_TLS_EXT_SERVERNAME_HOSTNAME ); in ssl_write_hostname_ext()
195 *p++ = MBEDTLS_BYTE_0( ssl->verify_data_len + 1 ); in ssl_write_renegotiation_ext()
196 *p++ = MBEDTLS_BYTE_0( ssl->verify_data_len ); in ssl_write_renegotiation_ext()
365 elliptic_curve_list[elliptic_curve_len++] = MBEDTLS_BYTE_0( info->tls_id ); in ssl_write_supported_elliptic_curves_ext()
827 *p++ = MBEDTLS_BYTE_0( 2 * ssl->conf->dtls_srtp_profile_list_len ); in ssl_write_use_srtp_ext()
3966 ssl->out_msg[header_len++] = MBEDTLS_BYTE_0( content_len ); in ssl_write_client_key_exchange()
4024 ssl->out_msg[header_len++] = MBEDTLS_BYTE_0( content_len ); in ssl_write_client_key_exchange()
A Dccm.c203 b[15-i] = MBEDTLS_BYTE_0( len_left ); in ccm_auth_crypt()
A Dssl_tls.c2305 ssl->out_msg[i + 2] = MBEDTLS_BYTE_0( n ); in mbedtls_ssl_write_certificate()
2313 ssl->out_msg[6] = MBEDTLS_BYTE_0( i - 7 ); in mbedtls_ssl_write_certificate()
5384 MBEDTLS_BYTE_0( SSL_SERIALIZED_SESSION_CONFIG_BITFLAG ),
5486 *p++ = MBEDTLS_BYTE_0( session->compression ); in ssl_session_save()
5488 *p++ = MBEDTLS_BYTE_0( session->id_len ); in ssl_session_save()
5515 *p++ = MBEDTLS_BYTE_0( cert_len ); in ssl_session_save()
5558 *p++ = MBEDTLS_BYTE_0( session->ticket_len ); in ssl_session_save()
5592 *p++ = MBEDTLS_BYTE_0( session->encrypt_then_mac ); in ssl_session_save()
6248 MBEDTLS_BYTE_0( SSL_SERIALIZED_SESSION_CONFIG_BITFLAG ),
6251 MBEDTLS_BYTE_0( SSL_SERIALIZED_CONTEXT_CONFIG_BITFLAG ),
A Ddhm.c235 *p++ = MBEDTLS_BYTE_0( n ); \ in mbedtls_dhm_make_params()
A Dssl_srv.c2647 buf[6] = MBEDTLS_BYTE_0( *olen - 7 ); in ssl_write_alpn_ext()
2976 *p++ = MBEDTLS_BYTE_0( ssl->session_negotiate->compression ); in ssl_write_server_hello()
3768 ssl->out_msg[ssl->out_msglen++] = MBEDTLS_BYTE_0( signature_len ); in ssl_write_server_key_exchange()
3934 *p++ != MBEDTLS_BYTE_0( len ) ) in ssl_decrypt_encrypted_pms()
A Decjpake.c350 *(*p)++ = MBEDTLS_BYTE_0( len ); in ecjpake_zkp_write()
A Dssl_msg.c2404 ssl->out_msg[8] = MBEDTLS_BYTE_0( frag_off ); in mbedtls_ssl_flight_transmit()
2408 ssl->out_msg[11] = MBEDTLS_BYTE_0( cur_hs_frag_len ); in mbedtls_ssl_flight_transmit()
2607 ssl->out_msg[3] = MBEDTLS_BYTE_0( hs_len ); in mbedtls_ssl_write_handshake_msg()
3395 obuf[16] = obuf[24] = MBEDTLS_BYTE_0( *olen - 25 ); in mbedtls_ssl_check_dtls_clihlo_cookie()

Completed in 48 milliseconds