Home
last modified time | relevance | path

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

/mbedtls-development/library/
A Dcommon.h76 #define MBEDTLS_BYTE_0( x ) ( (uint8_t) ( ( x ) & 0xff ) ) macro
119 ( data )[( offset ) + 3] = MBEDTLS_BYTE_0( n ); \
154 ( data )[( offset ) ] = MBEDTLS_BYTE_0( n ); \
190 ( data )[( offset ) ] = MBEDTLS_BYTE_0( n ); \
225 ( data )[( offset ) + 1] = MBEDTLS_BYTE_0( n ); \
261 ( data )[( offset ) + 2] = MBEDTLS_BYTE_0( n ); \
295 ( data )[( offset ) ] = MBEDTLS_BYTE_0( n ); \
343 ( data )[( offset ) + 7] = MBEDTLS_BYTE_0( n ); \
382 ( data )[( offset ) ] = MBEDTLS_BYTE_0( n ); \
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 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.c289 salt_block[i - 1] = MBEDTLS_BYTE_0( j ); in mbedtls_pkcs12_derivation()
298 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.c269 if( equals <= 0 ) *p++ = MBEDTLS_BYTE_0( x ); in mbedtls_base64_decode()
A Dssl_tls13_keys.c118 *p++ = MBEDTLS_BYTE_0( desired_length ); in ssl_tls1_3_hkdf_encode_label()
121 *p++ = MBEDTLS_BYTE_0( total_label_len ); in ssl_tls1_3_hkdf_encode_label()
128 *p++ = MBEDTLS_BYTE_0( clen ); in ssl_tls1_3_hkdf_encode_label()
A Dssl_tls13_generic.c128 hs_hdr[0] = MBEDTLS_BYTE_0( hs_type ); in mbedtls_ssl_tls13_add_hs_hdr_to_checksum()
131 hs_hdr[3] = MBEDTLS_BYTE_0( total_hs_len ); in mbedtls_ssl_tls13_add_hs_hdr_to_checksum()
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.c148 *p++ = MBEDTLS_BYTE_0( MBEDTLS_TLS_EXT_SERVERNAME_HOSTNAME ); in mbedtls_ssl_write_hostname_ext()
189 *p++ = MBEDTLS_BYTE_0( ssl->verify_data_len + 1 ); in ssl_write_renegotiation_ext()
190 *p++ = MBEDTLS_BYTE_0( ssl->verify_data_len ); in ssl_write_renegotiation_ext()
769 *p++ = MBEDTLS_BYTE_0( 2 * ssl->conf->dtls_srtp_profile_list_len ); in ssl_write_use_srtp_ext()
3708 ssl->out_msg[header_len++] = MBEDTLS_BYTE_0( content_len ); in ssl_write_client_key_exchange()
3760 ssl->out_msg[header_len++] = MBEDTLS_BYTE_0( content_len ); in ssl_write_client_key_exchange()
A Dssl_tls.c1720 ssl->out_msg[i + 2] = MBEDTLS_BYTE_0( n ); in mbedtls_ssl_write_certificate()
1728 ssl->out_msg[6] = MBEDTLS_BYTE_0( i - 7 ); in mbedtls_ssl_write_certificate()
4629 MBEDTLS_BYTE_0( SSL_SERIALIZED_SESSION_CONFIG_BITFLAG ),
4730 *p++ = MBEDTLS_BYTE_0( session->compression ); in ssl_session_save_tls12()
4732 *p++ = MBEDTLS_BYTE_0( session->id_len ); in ssl_session_save_tls12()
4759 *p++ = MBEDTLS_BYTE_0( cert_len ); in ssl_session_save_tls12()
4802 *p++ = MBEDTLS_BYTE_0( session->ticket_len ); in ssl_session_save_tls12()
4829 *p++ = MBEDTLS_BYTE_0( session->encrypt_then_mac ); in ssl_session_save_tls12()
5632 MBEDTLS_BYTE_0( SSL_SERIALIZED_SESSION_CONFIG_BITFLAG ),
5635 MBEDTLS_BYTE_0( SSL_SERIALIZED_CONTEXT_CONFIG_BITFLAG ),
A Dccm.c185 ctx->y[15-i] = MBEDTLS_BYTE_0( len_left ); in ccm_calculate_first_block_if_ready()
A Ddhm.c274 *p++ = MBEDTLS_BYTE_0( n ); \ in mbedtls_dhm_make_params()
A Dssl_srv.c2247 buf[6] = MBEDTLS_BYTE_0( *olen - 7 ); in ssl_write_alpn_ext()
2573 *p++ = MBEDTLS_BYTE_0( ssl->session_negotiate->compression ); in ssl_write_server_hello()
3313 ssl->out_msg[ssl->out_msglen++] = MBEDTLS_BYTE_0( signature_len ); in ssl_write_server_key_exchange()
3471 *p++ != MBEDTLS_BYTE_0( len ) ) in ssl_decrypt_encrypted_pms()
A Dssl_msg.c2260 ssl->out_msg[8] = MBEDTLS_BYTE_0( frag_off ); in mbedtls_ssl_flight_transmit()
2264 ssl->out_msg[11] = MBEDTLS_BYTE_0( cur_hs_frag_len ); in mbedtls_ssl_flight_transmit()
2456 ssl->out_msg[3] = MBEDTLS_BYTE_0( hs_len ); in mbedtls_ssl_write_handshake_msg_ext()
3188 obuf[16] = obuf[24] = MBEDTLS_BYTE_0( *olen - 25 ); in ssl_check_dtls_clihlo_cookie()
A Decjpake.c364 *(*p)++ = MBEDTLS_BYTE_0( len ); in ecjpake_zkp_write()
A Dpsa_crypto.c5062 *cur++ = MBEDTLS_BYTE_0( data_length ); in psa_tls12_prf_psk_to_ms_set_key()

Completed in 59 milliseconds