Home
last modified time | relevance | path

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

/openthread-3.6.0/third_party/mbedtls/repo/library/
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 ); \
Daes.c389 x = MBEDTLS_BYTE_0( x ^ XTIME( x ) ); in aes_gen_tables()
398 x = MBEDTLS_BYTE_0( XTIME( x ) ); in aes_gen_tables()
411 y = x; y = MBEDTLS_BYTE_0( ( y << 1 ) | ( y >> 7 ) ); in aes_gen_tables()
412 x ^= y; y = MBEDTLS_BYTE_0( ( y << 1 ) | ( y >> 7 ) ); in aes_gen_tables()
413 x ^= y; y = MBEDTLS_BYTE_0( ( y << 1 ) | ( y >> 7 ) ); in aes_gen_tables()
414 x ^= y; y = MBEDTLS_BYTE_0( ( y << 1 ) | ( y >> 7 ) ); 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()
583 ( (uint32_t) FSb[ MBEDTLS_BYTE_0( RK[3] ) ] << 24 ); in mbedtls_aes_setkey_enc()
599 ( (uint32_t) FSb[ MBEDTLS_BYTE_0( RK[5] ) ] << 24 ); in mbedtls_aes_setkey_enc()
[all …]
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()
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()
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()
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()
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()
Dbase64.c205 if( equals <= 0 ) *p++ = MBEDTLS_BYTE_0( x ); in mbedtls_base64_decode()
Dcamellia.c284 ((uint32_t) SBOX4( MBEDTLS_BYTE_0( I0 )) ); in camellia_feistel()
288 ((uint32_t) SBOX1( MBEDTLS_BYTE_0( I1 )) ); in camellia_feistel()
Dssl_cli.c150 *p++ = MBEDTLS_BYTE_0( MBEDTLS_TLS_EXT_SERVERNAME_HOSTNAME ); in ssl_write_hostname_ext()
191 *p++ = MBEDTLS_BYTE_0( ssl->verify_data_len + 1 ); in ssl_write_renegotiation_ext()
192 *p++ = MBEDTLS_BYTE_0( ssl->verify_data_len ); in ssl_write_renegotiation_ext()
359 elliptic_curve_list[elliptic_curve_len++] = MBEDTLS_BYTE_0( info->tls_id ); in ssl_write_supported_elliptic_curves_ext()
811 *p++ = MBEDTLS_BYTE_0( 2 * ssl->conf->dtls_srtp_profile_list_len ); in ssl_write_use_srtp_ext()
3901 ssl->out_msg[header_len++] = MBEDTLS_BYTE_0( content_len ); in ssl_write_client_key_exchange()
3953 ssl->out_msg[header_len++] = MBEDTLS_BYTE_0( content_len ); in ssl_write_client_key_exchange()
Dccm.c203 b[15-i] = MBEDTLS_BYTE_0( len_left ); in ccm_auth_crypt()
Dssl_tls.c2292 ssl->out_msg[i + 2] = MBEDTLS_BYTE_0( n ); in mbedtls_ssl_write_certificate()
2300 ssl->out_msg[6] = MBEDTLS_BYTE_0( i - 7 ); in mbedtls_ssl_write_certificate()
5350 MBEDTLS_BYTE_0( SSL_SERIALIZED_SESSION_CONFIG_BITFLAG ),
5451 *p++ = MBEDTLS_BYTE_0( session->compression ); in ssl_session_save()
5453 *p++ = MBEDTLS_BYTE_0( session->id_len ); in ssl_session_save()
5480 *p++ = MBEDTLS_BYTE_0( cert_len ); in ssl_session_save()
5523 *p++ = MBEDTLS_BYTE_0( session->ticket_len ); in ssl_session_save()
5557 *p++ = MBEDTLS_BYTE_0( session->encrypt_then_mac ); in ssl_session_save()
6211 MBEDTLS_BYTE_0( SSL_SERIALIZED_SESSION_CONFIG_BITFLAG ),
6214 MBEDTLS_BYTE_0( SSL_SERIALIZED_CONTEXT_CONFIG_BITFLAG ),
Ddhm.c235 *p++ = MBEDTLS_BYTE_0( n ); \ in mbedtls_dhm_make_params()
Dssl_srv.c2612 buf[6] = MBEDTLS_BYTE_0( *olen - 7 ); in ssl_write_alpn_ext()
2939 *p++ = MBEDTLS_BYTE_0( ssl->session_negotiate->compression ); in ssl_write_server_hello()
3716 ssl->out_msg[ssl->out_msglen++] = MBEDTLS_BYTE_0( signature_len ); in ssl_write_server_key_exchange()
3878 *p++ != MBEDTLS_BYTE_0( len ) ) in ssl_decrypt_encrypted_pms()
Decjpake.c350 *(*p)++ = MBEDTLS_BYTE_0( len ); in ecjpake_zkp_write()
Dssl_msg.c2387 ssl->out_msg[8] = MBEDTLS_BYTE_0( frag_off ); in mbedtls_ssl_flight_transmit()
2391 ssl->out_msg[11] = MBEDTLS_BYTE_0( cur_hs_frag_len ); in mbedtls_ssl_flight_transmit()
2590 ssl->out_msg[3] = MBEDTLS_BYTE_0( hs_len ); in mbedtls_ssl_write_handshake_msg()
3346 obuf[16] = obuf[24] = MBEDTLS_BYTE_0( *olen - 25 ); in ssl_check_dtls_clihlo_cookie()
Dpsa_crypto.c4619 *cur++ = MBEDTLS_BYTE_0( data_length ); in psa_tls12_prf_psk_to_ms_set_key()