For context, see cl/578224540
This CL is produced via
- Do the removal
- `$ /google/src/head/depot/google3/devtools/scripts/csearch_apply --includefile 'video/widevine/export/common/oemcrypto_core_message/' --search='Copyright \d{4} Google LLC. All rights reserved.' --apply='s,\ All rights reserved\.,,g'`
- Manually deleted a few periods. I.e., for cases where the comment is ONLY "Copyright <year> Google LLC.", I removed the period at the end.
PiperOrigin-RevId: 580020267
Change-Id: I4b2f647d6e3bbb34868e1822591bc953a94cca42
25 lines
622 B
C
25 lines
622 B
C
// Copyright 2019 Google LLC. This file and proprietary
|
|
// source code may only be used and distributed under the Widevine
|
|
// License Agreement.
|
|
|
|
#ifndef WIDEVINE_ODK_SRC_ODK_OVERFLOW_H_
|
|
#define WIDEVINE_ODK_SRC_ODK_OVERFLOW_H_
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int odk_sub_overflow_u64(uint64_t a, uint64_t b, uint64_t* c);
|
|
int odk_add_overflow_u64(uint64_t a, uint64_t b, uint64_t* c);
|
|
int odk_add_overflow_ux(size_t a, size_t b, size_t* c);
|
|
int odk_mul_overflow_ux(size_t a, size_t b, size_t* c);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // WIDEVINE_ODK_SRC_ODK_OVERFLOW_H_
|