Home
last modified time | relevance | path

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

/mbedtls-3.6.0/library/
Daes.c661 ((uint32_t) FSb[MBEDTLS_BYTE_0(RK[3])] << 24); in mbedtls_aes_setkey_enc()
677 ((uint32_t) FSb[MBEDTLS_BYTE_0(RK[5])] << 24); in mbedtls_aes_setkey_enc()
694 ((uint32_t) FSb[MBEDTLS_BYTE_0(RK[7])] << 24); in mbedtls_aes_setkey_enc()
701 ((uint32_t) FSb[MBEDTLS_BYTE_0(RK[11])]) ^ in mbedtls_aes_setkey_enc()
774 *RK++ = AES_RT0(FSb[MBEDTLS_BYTE_0(*SK)]) ^ in mbedtls_aes_setkey_dec()
870 (X0) = *RK++ ^ AES_FT0(MBEDTLS_BYTE_0(Y0)) ^ \
875 (X1) = *RK++ ^ AES_FT0(MBEDTLS_BYTE_0(Y1)) ^ \
880 (X2) = *RK++ ^ AES_FT0(MBEDTLS_BYTE_0(Y2)) ^ \
885 (X3) = *RK++ ^ AES_FT0(MBEDTLS_BYTE_0(Y3)) ^ \
894 (X0) = *RK++ ^ AES_RT0(MBEDTLS_BYTE_0(Y0)) ^ \
[all …]
Dalignment.h118 #define MBEDTLS_BYTE_0(x) ((uint8_t) ((x) & 0xff)) macro
402 (data)[(offset) + 2] = MBEDTLS_BYTE_0(n); \
432 (data)[(offset)] = MBEDTLS_BYTE_0(n); \
Daria.c152 *a = ((uint32_t) sa[MBEDTLS_BYTE_0(*a)]) ^ in aria_sl()
156 *b = ((uint32_t) sa[MBEDTLS_BYTE_0(*b)]) ^ in aria_sl()
160 *c = ((uint32_t) sa[MBEDTLS_BYTE_0(*c)]) ^ in aria_sl()
164 *d = ((uint32_t) sa[MBEDTLS_BYTE_0(*d)]) ^ in aria_sl()
Dpkcs12.c421 salt_block[i - 1] = MBEDTLS_BYTE_0(j); in mbedtls_pkcs12_derivation()
431 pwd_block[i - 1] = MBEDTLS_BYTE_0(j); in mbedtls_pkcs12_derivation()
Dbase64.c223 *p++ = MBEDTLS_BYTE_0(x); in mbedtls_base64_decode()
Dcamellia.c259 ((uint32_t) SBOX4(MBEDTLS_BYTE_0(I0))); in camellia_feistel()
263 ((uint32_t) SBOX1(MBEDTLS_BYTE_0(I1))); in camellia_feistel()
Dssl_tls12_client.c79 *p++ = MBEDTLS_BYTE_0(ssl->verify_data_len + 1); in ssl_write_renegotiation_ext()
80 *p++ = MBEDTLS_BYTE_0(ssl->verify_data_len); in ssl_write_renegotiation_ext()
460 *p++ = MBEDTLS_BYTE_0(2 * ssl->conf->dtls_srtp_profile_list_len); in ssl_write_use_srtp_ext()
2933 *p++ = MBEDTLS_BYTE_0(ssl->conf->psk_identity_len); in ssl_write_client_key_exchange()
3047 ssl->out_msg[header_len++] = MBEDTLS_BYTE_0(content_len); in ssl_write_client_key_exchange()
3082 ssl->out_msg[header_len++] = MBEDTLS_BYTE_0(content_len); in ssl_write_client_key_exchange()
Dssl_tls13_keys.c133 *p++ = MBEDTLS_BYTE_0(desired_length); in ssl_tls13_hkdf_encode_label()
136 *p++ = MBEDTLS_BYTE_0(total_label_len); in ssl_tls13_hkdf_encode_label()
143 *p++ = MBEDTLS_BYTE_0(ctx_len); in ssl_tls13_hkdf_encode_label()
Dssl_tls.c798 hs_hdr[0] = MBEDTLS_BYTE_0(hs_type); in mbedtls_ssl_add_hs_hdr_to_checksum()
801 hs_hdr[3] = MBEDTLS_BYTE_0(total_hs_len); in mbedtls_ssl_add_hs_hdr_to_checksum()
3573 MBEDTLS_BYTE_0(SSL_SERIALIZED_SESSION_CONFIG_BITFLAG),
3648 *p++ = MBEDTLS_BYTE_0(session->tls_version); in ssl_session_save()
4298 MBEDTLS_BYTE_0(SSL_SERIALIZED_SESSION_CONFIG_BITFLAG),
4301 MBEDTLS_BYTE_0(SSL_SERIALIZED_CONTEXT_CONFIG_BITFLAG),
6967 ssl->out_msg[i + 2] = MBEDTLS_BYTE_0(n); in mbedtls_ssl_write_certificate()
6975 ssl->out_msg[6] = MBEDTLS_BYTE_0(i - 7); in mbedtls_ssl_write_certificate()
8890 *p++ = MBEDTLS_BYTE_0(session->id_len); in ssl_tls12_session_save()
8917 *p++ = MBEDTLS_BYTE_0(cert_len); in ssl_tls12_session_save()
[all …]
Dasn1write.c44 *--(*p) = MBEDTLS_BYTE_0(len); in mbedtls_asn1_write_len()
Ddhm.c247 *p++ = MBEDTLS_BYTE_0(n); \ in mbedtls_dhm_make_params()
Dccm.c172 ctx->y[15-i] = MBEDTLS_BYTE_0(len_left); in ccm_calculate_first_block_if_ready()
Dssl_client.c83 *p++ = MBEDTLS_BYTE_0(MBEDTLS_TLS_EXT_SERVERNAME_HOSTNAME); in ssl_write_hostname_ext()
Dssl_tls12_server.c2312 *p++ = MBEDTLS_BYTE_0(MBEDTLS_SSL_COMPRESS_NULL); in ssl_write_server_hello()
3283 ssl->out_msg[ssl->out_msglen++] = MBEDTLS_BYTE_0(signature_len); in ssl_write_server_key_exchange()
3443 *p++ != MBEDTLS_BYTE_0(len)) { in ssl_decrypt_encrypted_pms()
Dssl_msg.c2637 ssl->out_msg[8] = MBEDTLS_BYTE_0(frag_off); in mbedtls_ssl_flight_transmit()
2641 ssl->out_msg[11] = MBEDTLS_BYTE_0(cur_hs_frag_len); in mbedtls_ssl_flight_transmit()
2840 ssl->out_msg[3] = MBEDTLS_BYTE_0(hs_len); in mbedtls_ssl_write_handshake_msg_ext()
3610 obuf[16] = obuf[24] = MBEDTLS_BYTE_0(*olen - 25); in mbedtls_ssl_check_dtls_clihlo_cookie()
Decjpake.c358 *(*p)++ = MBEDTLS_BYTE_0(len); in ecjpake_zkp_write()
Dssl_misc.h2430 unsigned char sig = MBEDTLS_BYTE_0(sig_alg); in mbedtls_ssl_tls12_sig_alg_is_supported()
Dpsa_crypto.c6448 *cur++ = MBEDTLS_BYTE_0(prf->other_secret_length);
6456 *cur++ = MBEDTLS_BYTE_0(data_length);
6462 *cur++ = MBEDTLS_BYTE_0(data_length);
/mbedtls-3.6.0/tests/suites/
Dtest_suite_alignment.function173 actual = MBEDTLS_BYTE_0(u64);
206 actual = MBEDTLS_BYTE_0(u32);
227 actual = MBEDTLS_BYTE_0(u16);
237 uint8_t actual = MBEDTLS_BYTE_0(u8);