Searched refs:MBEDTLS_BYTE_1 (Results 1 – 15 of 15) sorted by relevance
109 #define MBEDTLS_BYTE_1(x) ((uint8_t) (((x) >> 8) & 0xff)) macro388 (data)[(offset) + 1] = MBEDTLS_BYTE_1(n); \420 (data)[(offset) + 1] = MBEDTLS_BYTE_1(n); \
602 ((uint32_t) FSb[MBEDTLS_BYTE_1(RK[3])]) ^ in mbedtls_aes_setkey_enc()617 ((uint32_t) FSb[MBEDTLS_BYTE_1(RK[5])]) ^ in mbedtls_aes_setkey_enc()634 ((uint32_t) FSb[MBEDTLS_BYTE_1(RK[7])]) ^ in mbedtls_aes_setkey_enc()645 ((uint32_t) FSb[MBEDTLS_BYTE_1(RK[11])] << 8) ^ in mbedtls_aes_setkey_enc()712 AES_RT1(FSb[MBEDTLS_BYTE_1(*SK)]) ^ in mbedtls_aes_setkey_dec()808 AES_FT1(MBEDTLS_BYTE_1(Y1)) ^ \813 AES_FT1(MBEDTLS_BYTE_1(Y2)) ^ \818 AES_FT1(MBEDTLS_BYTE_1(Y3)) ^ \823 AES_FT1(MBEDTLS_BYTE_1(Y0)) ^ \832 AES_RT1(MBEDTLS_BYTE_1(Y3)) ^ \[all …]
58 *--(*p) = MBEDTLS_BYTE_1(len); in mbedtls_asn1_write_len()69 *--(*p) = MBEDTLS_BYTE_1(len); in mbedtls_asn1_write_len()85 *--(*p) = MBEDTLS_BYTE_1(len); in mbedtls_asn1_write_len()
165 (((uint32_t) sb[MBEDTLS_BYTE_1(*a)]) << 8) ^ in aria_sl()169 (((uint32_t) sb[MBEDTLS_BYTE_1(*b)]) << 8) ^ in aria_sl()173 (((uint32_t) sb[MBEDTLS_BYTE_1(*c)]) << 8) ^ in aria_sl()177 (((uint32_t) sb[MBEDTLS_BYTE_1(*d)]) << 8) ^ in aria_sl()
427 c = MBEDTLS_BYTE_1(j); in mbedtls_pkcs12_derivation()437 c = MBEDTLS_BYTE_1(j); in mbedtls_pkcs12_derivation()
198 *p++ = MBEDTLS_BYTE_1(x); in mbedtls_base64_decode()
270 ((uint32_t) SBOX3(MBEDTLS_BYTE_1(I0)) << 8) | in camellia_feistel()274 ((uint32_t) SBOX4(MBEDTLS_BYTE_1(I1)) << 8) | in camellia_feistel()
258 *p++ = MBEDTLS_BYTE_1(n); \ in mbedtls_dhm_make_params()
812 hs_hdr[2] = MBEDTLS_BYTE_1(total_hs_len); in mbedtls_ssl_add_hs_hdr_to_checksum()3593 MBEDTLS_BYTE_1(SSL_SERIALIZED_SESSION_CONFIG_BITFLAG),4317 MBEDTLS_BYTE_1(SSL_SERIALIZED_SESSION_CONFIG_BITFLAG),4320 MBEDTLS_BYTE_1(SSL_SERIALIZED_CONTEXT_CONFIG_BITFLAG),7014 ssl->out_msg[i + 1] = MBEDTLS_BYTE_1(n); in mbedtls_ssl_write_certificate()7022 ssl->out_msg[5] = MBEDTLS_BYTE_1(i - 7); in mbedtls_ssl_write_certificate()9020 *p++ = MBEDTLS_BYTE_1(cert_len); in ssl_tls12_session_save()9056 *p++ = MBEDTLS_BYTE_1(session->ticket_len); in ssl_tls12_session_save()
2924 *p++ = MBEDTLS_BYTE_1(ssl->conf->psk_identity_len); in ssl_write_client_key_exchange()3038 ssl->out_msg[header_len++] = MBEDTLS_BYTE_1(content_len); in ssl_write_client_key_exchange()3073 ssl->out_msg[header_len++] = MBEDTLS_BYTE_1(content_len); in ssl_write_client_key_exchange()
2413 ssl->out_msg[7] = MBEDTLS_BYTE_1(frag_off); in mbedtls_ssl_flight_transmit()2417 ssl->out_msg[10] = MBEDTLS_BYTE_1(cur_hs_frag_len); in mbedtls_ssl_flight_transmit()2616 ssl->out_msg[2] = MBEDTLS_BYTE_1(hs_len); in mbedtls_ssl_write_handshake_msg_ext()3386 obuf[15] = obuf[23] = MBEDTLS_BYTE_1(*olen - 25); in mbedtls_ssl_check_dtls_clihlo_cookie()
2469 unsigned char hash = MBEDTLS_BYTE_1(*sig_alg); in ssl_write_certificate_request()3237 ssl->out_msg[ssl->out_msglen++] = MBEDTLS_BYTE_1(signature_len); in ssl_write_server_key_exchange()3397 if (*p++ != MBEDTLS_BYTE_1(len) || in ssl_decrypt_encrypted_pms()
2413 unsigned char hash = MBEDTLS_BYTE_1(sig_alg); in mbedtls_ssl_tls12_sig_alg_is_supported()
6269 *cur++ = MBEDTLS_BYTE_1(prf->other_secret_length); in psa_tls12_prf_psk_to_ms_set_key()6277 *cur++ = MBEDTLS_BYTE_1(data_length); in psa_tls12_prf_psk_to_ms_set_key()6283 *cur++ = MBEDTLS_BYTE_1(data_length); in psa_tls12_prf_psk_to_ms_set_key()
194 actual = MBEDTLS_BYTE_1(u64);227 actual = MBEDTLS_BYTE_1(u32);248 actual = MBEDTLS_BYTE_1(u16);