Home
last modified time | relevance | path

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

/mbedtls-latest/tests/suites/
Dtest_suite_common.data2 mbedtls_xor:0
5 mbedtls_xor:1
8 mbedtls_xor:3
11 mbedtls_xor:4
14 mbedtls_xor:7
17 mbedtls_xor:8
20 mbedtls_xor:16
23 mbedtls_xor:64
26 mbedtls_xor:256
29 mbedtls_xor:257
[all …]
Dtest_suite_common.function20 void mbedtls_xor(int len)
34 mbedtls_xor(r2, a, b, n);
42 mbedtls_xor(r2, r2, b, n);
50 mbedtls_xor(r2, a, r2, n);
58 mbedtls_xor(r2, a, a, n);
66 mbedtls_xor(r2, r2, r2, n);
77 mbedtls_xor(r2 + r_off, a + a_off, b + b_off, n);
/mbedtls-latest/library/
Dgcm.c420 mbedtls_xor(ctx->y, ctx->y, p, use_len); in mbedtls_gcm_starts()
432 mbedtls_xor(ctx->y, ctx->y, work_buf, 16); in mbedtls_gcm_starts()
495 mbedtls_xor(ctx->buf + offset, ctx->buf + offset, p, use_len); in mbedtls_gcm_update_ad()
509 mbedtls_xor(ctx->buf, ctx->buf, p, 16); in mbedtls_gcm_update_ad()
518 mbedtls_xor(ctx->buf, ctx->buf, p, add_len); in mbedtls_gcm_update_ad()
554 mbedtls_xor(ctx->buf + offset, ctx->buf + offset, input, use_len); in gcm_mask()
556 mbedtls_xor(output, ectr + offset, input, use_len); in gcm_mask()
558 mbedtls_xor(ctx->buf + offset, ctx->buf + offset, output, use_len); in gcm_mask()
693 mbedtls_xor(ctx->buf, ctx->buf, work_buf, 16); in mbedtls_gcm_finish()
697 mbedtls_xor(tag, tag, ctx->buf, tag_len); in mbedtls_gcm_finish()
Dccm.c143 mbedtls_xor(output, input, tmp_buf + offset, use_len); in mbedtls_ccm_crypt()
330 mbedtls_xor(ctx->y + offset, ctx->y + offset, add, use_len); in mbedtls_ccm_update_ad()
403 mbedtls_xor(ctx->y + offset, ctx->y + offset, input, use_len); in mbedtls_ccm_update()
436 mbedtls_xor(ctx->y + offset, ctx->y + offset, local_output, use_len); in mbedtls_ccm_update()
Ddes.c642 mbedtls_xor(output, input, iv, 8); in mbedtls_des_crypt_cbc()
662 mbedtls_xor(output, output, iv, 8); in mbedtls_des_crypt_cbc()
740 mbedtls_xor(output, input, iv, 8); in mbedtls_des3_crypt_cbc()
760 mbedtls_xor(output, output, iv, 8); in mbedtls_des3_crypt_cbc()
Dcmac.c298 mbedtls_xor(M_last, M_last, K2, block_size); in mbedtls_cipher_cmac_finish()
301 mbedtls_xor(M_last, last_block, K1, block_size); in mbedtls_cipher_cmac_finish()
305 mbedtls_xor(state, M_last, state, block_size); in mbedtls_cipher_cmac_finish()
Dchacha20.c224 mbedtls_xor(output + offset, input + offset, ctx->keystream8, 64U); in mbedtls_chacha20_update()
236 mbedtls_xor(output + offset, input + offset, ctx->keystream8, size); in mbedtls_chacha20_update()
Dcamellia.c540 mbedtls_xor(output, output, iv, 16); in mbedtls_camellia_crypt_cbc()
550 mbedtls_xor(output, input, iv, 16); in mbedtls_camellia_crypt_cbc()
Daes.c1235 mbedtls_xor(tmp, input, tweak, 16); in mbedtls_aes_crypt_xts()
1242 mbedtls_xor(output, tmp, tweak, 16); in mbedtls_aes_crypt_xts()
1268 mbedtls_xor(tmp, input, t, leftover); in mbedtls_aes_crypt_xts()
1272 mbedtls_xor(tmp + i, prev_output + i, t + i, 16 - i); in mbedtls_aes_crypt_xts()
1281 mbedtls_xor(prev_output, tmp, t, 16); in mbedtls_aes_crypt_xts()
1468 mbedtls_xor(&output[i], &input[i], &stream_block[offset], n); in mbedtls_aes_crypt_ctr()
Dctr_drbg.c236 mbedtls_xor(chain, chain, p, MBEDTLS_CTR_DRBG_BLOCKSIZE); in block_cipher_df()
372 mbedtls_xor(tmp, tmp, data, MBEDTLS_CTR_DRBG_SEEDLEN); in ctr_drbg_update_internal()
Daria.c534 mbedtls_xor(output, output, iv, MBEDTLS_ARIA_BLOCKSIZE); in mbedtls_aria_crypt_cbc()
544 mbedtls_xor(output, input, iv, MBEDTLS_ARIA_BLOCKSIZE); in mbedtls_aria_crypt_cbc()
Dcommon.h186 static inline void mbedtls_xor(unsigned char *r, in mbedtls_xor() function
Dmd.c1000 mbedtls_xor(ipad, ipad, key, keylen); in mbedtls_md_hmac_starts()
1001 mbedtls_xor(opad, opad, key, keylen); in mbedtls_md_hmac_starts()
Dpkcs5.c333 mbedtls_xor(work, work, md1, md_size); in pkcs5_pbkdf2_hmac()
Dssl_msg.c897 mbedtls_xor(dst_iv, dst_iv, dynamic_iv, dynamic_iv_len); in ssl_build_record_nonce()
Dpsa_crypto.c5990 mbedtls_xor(U_accumulator, U_accumulator, U_i, prf_output_length);