/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_common.data | 2 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 …]
|
D | test_suite_common.function | 16 void mbedtls_xor(int len) 30 mbedtls_xor(r2, a, b, n); 38 mbedtls_xor(r2, r2, b, n); 46 mbedtls_xor(r2, a, r2, n); 54 mbedtls_xor(r2, a, a, n); 62 mbedtls_xor(r2, r2, r2, n); 73 mbedtls_xor(r2 + r_off, a + a_off, b + b_off, n);
|
/openthread-latest/third_party/mbedtls/repo/library/ |
D | gcm.c | 420 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()
|
D | des.c | 642 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()
|
D | ccm.c | 143 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()
|
D | chacha20.c | 224 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()
|
D | cmac.c | 298 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()
|
D | common.h | 186 static inline void mbedtls_xor(unsigned char *r, in mbedtls_xor() function
|
D | camellia.c | 540 mbedtls_xor(output, output, iv, 16); in mbedtls_camellia_crypt_cbc() 550 mbedtls_xor(output, input, iv, 16); in mbedtls_camellia_crypt_cbc()
|
D | aria.c | 534 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()
|
D | ctr_drbg.c | 236 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()
|
D | md.c | 1000 mbedtls_xor(ipad, ipad, key, keylen); in mbedtls_md_hmac_starts() 1001 mbedtls_xor(opad, opad, key, keylen); in mbedtls_md_hmac_starts()
|
D | aes.c | 1235 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()
|
D | pkcs5.c | 333 mbedtls_xor(work, work, md1, md_size); in pkcs5_pbkdf2_hmac()
|
D | ssl_msg.c | 897 mbedtls_xor(dst_iv, dst_iv, dynamic_iv, dynamic_iv_len); in ssl_build_record_nonce()
|
D | psa_crypto.c | 5932 mbedtls_xor(U_accumulator, U_accumulator, U_i, prf_output_length); in psa_key_derivation_pbkdf2_generate_block()
|