@@ -1837,7 +1837,7 @@ srtp_err_status_t srtp_validate(void)
18371837 debug_print (mod_driver , "ciphertext reference:\n %s" ,
18381838 octet_string_hex_string (srtp_ciphertext , len ));
18391839
1840- if (srtp_octet_string_is_eq (srtp_plaintext , srtp_ciphertext , len )) {
1840+ if (! srtp_octet_string_equal (srtp_plaintext , srtp_ciphertext , len )) {
18411841 return srtp_err_status_fail ;
18421842 }
18431843
@@ -1855,7 +1855,7 @@ srtp_err_status_t srtp_validate(void)
18551855 debug_print (mod_driver , "srtcp ciphertext reference:\n %s" ,
18561856 octet_string_hex_string (srtcp_ciphertext , len ));
18571857
1858- if (srtp_octet_string_is_eq (rtcp_plaintext , srtcp_ciphertext , len )) {
1858+ if (! srtp_octet_string_equal (rtcp_plaintext , srtcp_ciphertext , len )) {
18591859 return srtp_err_status_fail ;
18601860 }
18611861
@@ -1877,7 +1877,7 @@ srtp_err_status_t srtp_validate(void)
18771877 return status ;
18781878 }
18791879
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 )) {
18811881 return srtp_err_status_fail ;
18821882 }
18831883
@@ -1890,7 +1890,7 @@ srtp_err_status_t srtp_validate(void)
18901890 return status ;
18911891 }
18921892
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 )) {
18941894 return srtp_err_status_fail ;
18951895 }
18961896
@@ -1996,7 +1996,7 @@ srtp_err_status_t srtp_validate_null(void)
19961996 debug_print (mod_driver , "ciphertext reference:\n %s" ,
19971997 octet_string_hex_string (srtp_ciphertext , len ));
19981998
1999- if (srtp_octet_string_is_eq (srtp_plaintext , srtp_ciphertext , len )) {
1999+ if (! srtp_octet_string_equal (srtp_plaintext , srtp_ciphertext , len )) {
20002000 return srtp_err_status_fail ;
20012001 }
20022002
@@ -2014,7 +2014,7 @@ srtp_err_status_t srtp_validate_null(void)
20142014 debug_print (mod_driver , "srtcp ciphertext reference:\n %s" ,
20152015 octet_string_hex_string (srtcp_ciphertext , len ));
20162016
2017- if (srtp_octet_string_is_eq (rtcp_plaintext , srtcp_ciphertext , len )) {
2017+ if (! srtp_octet_string_equal (rtcp_plaintext , srtcp_ciphertext , len )) {
20182018 return srtp_err_status_fail ;
20192019 }
20202020
@@ -2036,7 +2036,7 @@ srtp_err_status_t srtp_validate_null(void)
20362036 return status ;
20372037 }
20382038
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 )) {
20402040 return srtp_err_status_fail ;
20412041 }
20422042
@@ -2049,7 +2049,7 @@ srtp_err_status_t srtp_validate_null(void)
20492049 return status ;
20502050 }
20512051
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 )) {
20532053 return srtp_err_status_fail ;
20542054 }
20552055
@@ -2157,7 +2157,7 @@ srtp_err_status_t srtp_validate_gcm(void)
21572157 debug_print (mod_driver , "srtp ciphertext reference:\n %s" ,
21582158 octet_string_hex_string (srtp_ciphertext , len ));
21592159
2160- if (srtp_octet_string_is_eq (rtp_plaintext , srtp_ciphertext , len )) {
2160+ if (! srtp_octet_string_equal (rtp_plaintext , srtp_ciphertext , len )) {
21612161 return srtp_err_status_fail ;
21622162 }
21632163
@@ -2175,7 +2175,7 @@ srtp_err_status_t srtp_validate_gcm(void)
21752175 debug_print (mod_driver , "srtcp ciphertext reference:\n %s" ,
21762176 octet_string_hex_string (srtcp_ciphertext , len ));
21772177
2178- if (srtp_octet_string_is_eq (rtcp_plaintext , srtcp_ciphertext , len )) {
2178+ if (! srtp_octet_string_equal (rtcp_plaintext , srtcp_ciphertext , len )) {
21792179 return srtp_err_status_fail ;
21802180 }
21812181
@@ -2198,7 +2198,7 @@ srtp_err_status_t srtp_validate_gcm(void)
21982198 return status ;
21992199 }
22002200
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 )) {
22022202 return srtp_err_status_fail ;
22032203 }
22042204
@@ -2217,7 +2217,7 @@ srtp_err_status_t srtp_validate_gcm(void)
22172217 octet_string_hex_string (rtcp_plaintext_ref ,
22182218 sizeof (rtcp_plaintext_ref )));
22192219
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 )) {
22212221 return srtp_err_status_fail ;
22222222 }
22232223
@@ -2321,7 +2321,7 @@ srtp_err_status_t srtp_validate_encrypted_extensions_headers(void)
23212321 debug_print (mod_driver , "ciphertext reference:\n %s" ,
23222322 srtp_octet_string_hex_string (srtp_ciphertext , len ));
23232323
2324- if (srtp_octet_string_is_eq (srtp_plaintext , srtp_ciphertext , len )) {
2324+ if (! srtp_octet_string_equal (srtp_plaintext , srtp_ciphertext , len )) {
23252325 return srtp_err_status_fail ;
23262326 }
23272327
@@ -2345,7 +2345,7 @@ srtp_err_status_t srtp_validate_encrypted_extensions_headers(void)
23452345 return srtp_err_status_fail ;
23462346 }
23472347
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 )) {
23492349 return srtp_err_status_fail ;
23502350 }
23512351
@@ -2450,7 +2450,7 @@ srtp_err_status_t srtp_validate_encrypted_extensions_headers_gcm(void)
24502450 debug_print (mod_driver , " ? ciphertext reference:\n %s" ,
24512451 srtp_octet_string_hex_string (srtp_ciphertext , len ));
24522452
2453- if (srtp_octet_string_is_eq (srtp_plaintext , srtp_ciphertext , len )) {
2453+ if (! srtp_octet_string_equal (srtp_plaintext , srtp_ciphertext , len )) {
24542454 return srtp_err_status_fail ;
24552455 }
24562456
@@ -2474,7 +2474,7 @@ srtp_err_status_t srtp_validate_encrypted_extensions_headers_gcm(void)
24742474 return srtp_err_status_fail ;
24752475 }
24762476
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 )) {
24782478 return srtp_err_status_fail ;
24792479 }
24802480
@@ -2570,7 +2570,7 @@ srtp_err_status_t srtp_validate_aes_256(void)
25702570 debug_print (mod_driver , "ciphertext reference:\n %s" ,
25712571 octet_string_hex_string (srtp_ciphertext , len ));
25722572
2573- if (srtp_octet_string_is_eq (srtp_plaintext , srtp_ciphertext , len )) {
2573+ if (! srtp_octet_string_equal (srtp_plaintext , srtp_ciphertext , len )) {
25742574 return srtp_err_status_fail ;
25752575 }
25762576
@@ -2592,7 +2592,7 @@ srtp_err_status_t srtp_validate_aes_256(void)
25922592 return status ;
25932593 }
25942594
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 )) {
25962596 return srtp_err_status_fail ;
25972597 }
25982598
0 commit comments