@@ -1837,7 +1837,7 @@ srtp_err_status_t srtp_validate(void)
1837
1837
debug_print (mod_driver , "ciphertext reference:\n %s" ,
1838
1838
octet_string_hex_string (srtp_ciphertext , len ));
1839
1839
1840
- if (srtp_octet_string_is_eq (srtp_plaintext , srtp_ciphertext , len )) {
1840
+ if (! srtp_octet_string_equal (srtp_plaintext , srtp_ciphertext , len )) {
1841
1841
return srtp_err_status_fail ;
1842
1842
}
1843
1843
@@ -1855,7 +1855,7 @@ srtp_err_status_t srtp_validate(void)
1855
1855
debug_print (mod_driver , "srtcp ciphertext reference:\n %s" ,
1856
1856
octet_string_hex_string (srtcp_ciphertext , len ));
1857
1857
1858
- if (srtp_octet_string_is_eq (rtcp_plaintext , srtcp_ciphertext , len )) {
1858
+ if (! srtp_octet_string_equal (rtcp_plaintext , srtcp_ciphertext , len )) {
1859
1859
return srtp_err_status_fail ;
1860
1860
}
1861
1861
@@ -1877,7 +1877,7 @@ srtp_err_status_t srtp_validate(void)
1877
1877
return status ;
1878
1878
}
1879
1879
1880
- if (srtp_octet_string_is_eq (srtp_ciphertext , srtp_plaintext_ref , len )) {
1880
+ if (! srtp_octet_string_equal (srtp_ciphertext , srtp_plaintext_ref , len )) {
1881
1881
return srtp_err_status_fail ;
1882
1882
}
1883
1883
@@ -1890,7 +1890,7 @@ srtp_err_status_t srtp_validate(void)
1890
1890
return status ;
1891
1891
}
1892
1892
1893
- if (srtp_octet_string_is_eq (srtcp_ciphertext , rtcp_plaintext_ref , len )) {
1893
+ if (! srtp_octet_string_equal (srtcp_ciphertext , rtcp_plaintext_ref , len )) {
1894
1894
return srtp_err_status_fail ;
1895
1895
}
1896
1896
@@ -1996,7 +1996,7 @@ srtp_err_status_t srtp_validate_null(void)
1996
1996
debug_print (mod_driver , "ciphertext reference:\n %s" ,
1997
1997
octet_string_hex_string (srtp_ciphertext , len ));
1998
1998
1999
- if (srtp_octet_string_is_eq (srtp_plaintext , srtp_ciphertext , len )) {
1999
+ if (! srtp_octet_string_equal (srtp_plaintext , srtp_ciphertext , len )) {
2000
2000
return srtp_err_status_fail ;
2001
2001
}
2002
2002
@@ -2014,7 +2014,7 @@ srtp_err_status_t srtp_validate_null(void)
2014
2014
debug_print (mod_driver , "srtcp ciphertext reference:\n %s" ,
2015
2015
octet_string_hex_string (srtcp_ciphertext , len ));
2016
2016
2017
- if (srtp_octet_string_is_eq (rtcp_plaintext , srtcp_ciphertext , len )) {
2017
+ if (! srtp_octet_string_equal (rtcp_plaintext , srtcp_ciphertext , len )) {
2018
2018
return srtp_err_status_fail ;
2019
2019
}
2020
2020
@@ -2036,7 +2036,7 @@ srtp_err_status_t srtp_validate_null(void)
2036
2036
return status ;
2037
2037
}
2038
2038
2039
- if (srtp_octet_string_is_eq (srtp_ciphertext , srtp_plaintext_ref , len )) {
2039
+ if (! srtp_octet_string_equal (srtp_ciphertext , srtp_plaintext_ref , len )) {
2040
2040
return srtp_err_status_fail ;
2041
2041
}
2042
2042
@@ -2049,7 +2049,7 @@ srtp_err_status_t srtp_validate_null(void)
2049
2049
return status ;
2050
2050
}
2051
2051
2052
- if (srtp_octet_string_is_eq (srtcp_ciphertext , rtcp_plaintext_ref , len )) {
2052
+ if (! srtp_octet_string_equal (srtcp_ciphertext , rtcp_plaintext_ref , len )) {
2053
2053
return srtp_err_status_fail ;
2054
2054
}
2055
2055
@@ -2157,7 +2157,7 @@ srtp_err_status_t srtp_validate_gcm(void)
2157
2157
debug_print (mod_driver , "srtp ciphertext reference:\n %s" ,
2158
2158
octet_string_hex_string (srtp_ciphertext , len ));
2159
2159
2160
- if (srtp_octet_string_is_eq (rtp_plaintext , srtp_ciphertext , len )) {
2160
+ if (! srtp_octet_string_equal (rtp_plaintext , srtp_ciphertext , len )) {
2161
2161
return srtp_err_status_fail ;
2162
2162
}
2163
2163
@@ -2175,7 +2175,7 @@ srtp_err_status_t srtp_validate_gcm(void)
2175
2175
debug_print (mod_driver , "srtcp ciphertext reference:\n %s" ,
2176
2176
octet_string_hex_string (srtcp_ciphertext , len ));
2177
2177
2178
- if (srtp_octet_string_is_eq (rtcp_plaintext , srtcp_ciphertext , len )) {
2178
+ if (! srtp_octet_string_equal (rtcp_plaintext , srtcp_ciphertext , len )) {
2179
2179
return srtp_err_status_fail ;
2180
2180
}
2181
2181
@@ -2198,7 +2198,7 @@ srtp_err_status_t srtp_validate_gcm(void)
2198
2198
return status ;
2199
2199
}
2200
2200
2201
- if (srtp_octet_string_is_eq (srtp_ciphertext , rtp_plaintext_ref , len )) {
2201
+ if (! srtp_octet_string_equal (srtp_ciphertext , rtp_plaintext_ref , len )) {
2202
2202
return srtp_err_status_fail ;
2203
2203
}
2204
2204
@@ -2217,7 +2217,7 @@ srtp_err_status_t srtp_validate_gcm(void)
2217
2217
octet_string_hex_string (rtcp_plaintext_ref ,
2218
2218
sizeof (rtcp_plaintext_ref )));
2219
2219
2220
- if (srtp_octet_string_is_eq (srtcp_ciphertext , rtcp_plaintext_ref , len )) {
2220
+ if (! srtp_octet_string_equal (srtcp_ciphertext , rtcp_plaintext_ref , len )) {
2221
2221
return srtp_err_status_fail ;
2222
2222
}
2223
2223
@@ -2321,7 +2321,7 @@ srtp_err_status_t srtp_validate_encrypted_extensions_headers(void)
2321
2321
debug_print (mod_driver , "ciphertext reference:\n %s" ,
2322
2322
srtp_octet_string_hex_string (srtp_ciphertext , len ));
2323
2323
2324
- if (srtp_octet_string_is_eq (srtp_plaintext , srtp_ciphertext , len )) {
2324
+ if (! srtp_octet_string_equal (srtp_plaintext , srtp_ciphertext , len )) {
2325
2325
return srtp_err_status_fail ;
2326
2326
}
2327
2327
@@ -2345,7 +2345,7 @@ srtp_err_status_t srtp_validate_encrypted_extensions_headers(void)
2345
2345
return srtp_err_status_fail ;
2346
2346
}
2347
2347
2348
- if (srtp_octet_string_is_eq (srtp_ciphertext , srtp_plaintext_ref , len )) {
2348
+ if (! srtp_octet_string_equal (srtp_ciphertext , srtp_plaintext_ref , len )) {
2349
2349
return srtp_err_status_fail ;
2350
2350
}
2351
2351
@@ -2450,7 +2450,7 @@ srtp_err_status_t srtp_validate_encrypted_extensions_headers_gcm(void)
2450
2450
debug_print (mod_driver , " ? ciphertext reference:\n %s" ,
2451
2451
srtp_octet_string_hex_string (srtp_ciphertext , len ));
2452
2452
2453
- if (srtp_octet_string_is_eq (srtp_plaintext , srtp_ciphertext , len )) {
2453
+ if (! srtp_octet_string_equal (srtp_plaintext , srtp_ciphertext , len )) {
2454
2454
return srtp_err_status_fail ;
2455
2455
}
2456
2456
@@ -2474,7 +2474,7 @@ srtp_err_status_t srtp_validate_encrypted_extensions_headers_gcm(void)
2474
2474
return srtp_err_status_fail ;
2475
2475
}
2476
2476
2477
- if (srtp_octet_string_is_eq (srtp_ciphertext , srtp_plaintext_ref , len )) {
2477
+ if (! srtp_octet_string_equal (srtp_ciphertext , srtp_plaintext_ref , len )) {
2478
2478
return srtp_err_status_fail ;
2479
2479
}
2480
2480
@@ -2570,7 +2570,7 @@ srtp_err_status_t srtp_validate_aes_256(void)
2570
2570
debug_print (mod_driver , "ciphertext reference:\n %s" ,
2571
2571
octet_string_hex_string (srtp_ciphertext , len ));
2572
2572
2573
- if (srtp_octet_string_is_eq (srtp_plaintext , srtp_ciphertext , len )) {
2573
+ if (! srtp_octet_string_equal (srtp_plaintext , srtp_ciphertext , len )) {
2574
2574
return srtp_err_status_fail ;
2575
2575
}
2576
2576
@@ -2592,7 +2592,7 @@ srtp_err_status_t srtp_validate_aes_256(void)
2592
2592
return status ;
2593
2593
}
2594
2594
2595
- if (srtp_octet_string_is_eq (srtp_ciphertext , srtp_plaintext_ref , len )) {
2595
+ if (! srtp_octet_string_equal (srtp_ciphertext , srtp_plaintext_ref , len )) {
2596
2596
return srtp_err_status_fail ;
2597
2597
}
2598
2598
0 commit comments