mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-23 21:04:37 +04:00
28 lines
997 B
Diff
28 lines
997 B
Diff
--- a/test/srtp_driver.c
|
|
+++ b/test/srtp_driver.c
|
|
@@ -1198,7 +1198,6 @@ mips_estimate(int num_trials, int *ignor
|
|
* These packets were made with the default SRTP policy.
|
|
*/
|
|
|
|
-
|
|
err_status_t
|
|
srtp_validate() {
|
|
uint8_t srtp_plaintext_ref[28] = {
|
|
@@ -1207,14 +1206,14 @@ srtp_validate() {
|
|
0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab,
|
|
0xab, 0xab, 0xab, 0xab
|
|
};
|
|
- uint8_t srtp_plaintext[38] = {
|
|
+ uint8_t srtp_plaintext[38] __attribute__((aligned(4))) = {
|
|
0x80, 0x0f, 0x12, 0x34, 0xde, 0xca, 0xfb, 0xad,
|
|
0xca, 0xfe, 0xba, 0xbe, 0xab, 0xab, 0xab, 0xab,
|
|
0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab, 0xab,
|
|
0xab, 0xab, 0xab, 0xab, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
|
};
|
|
- uint8_t srtp_ciphertext[38] = {
|
|
+ uint8_t srtp_ciphertext[38] __attribute__((aligned(4))) = {
|
|
0x80, 0x0f, 0x12, 0x34, 0xde, 0xca, 0xfb, 0xad,
|
|
0xca, 0xfe, 0xba, 0xbe, 0x4e, 0x55, 0xdc, 0x4c,
|
|
0xe7, 0x99, 0x78, 0xd8, 0x8c, 0xa4, 0xd2, 0x15,
|