Codebase list android-platform-external-rappor / 89ab926
Remove JSR305 dependencies Katerina 4 years ago
2 changed file(s) with 25 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 Author: Katerina <ykaterina0319@gmail.com>
1 Last-Update: 2019-07-23
2 Description: Remove the JSR305 dependencies
3 JSR305 does not affect ABI and usability of the of the library so its
4 dependencies can be removed.
5 ---
6 --- a/client/java/com/google/android/rappor/HmacDrbg.java
7 +++ b/client/java/com/google/android/rappor/HmacDrbg.java
8 @@ -8,7 +8,6 @@
9
10 import java.security.SecureRandom;
11 import java.util.Arrays;
12 -import javax.annotation.concurrent.NotThreadSafe;
13 import javax.crypto.Mac;
14 import javax.crypto.spec.SecretKeySpec;
15
16 @@ -21,7 +20,6 @@
17 * Reseeding is not supported. Instead, construct a new DRBG when reseeding is required.
18 * See http://csrc.nist.gov/publications/nistpubs/800-90A/SP800-90A.pdf Section 8.6.8.
19 */
20 -@NotThreadSafe
21 public class HmacDrbg {
22 // "V" from the the spec.
23 private byte[] value;
00
1 remove-jsr305-depends.diff