Searched refs:fillByteArray (Results 1 – 3 of 3) sorted by relevance
| /external/tink/go/testutil/ |
| D | testutil_test.go | 95 func fillByteArray(b byte, length int) []byte { func 104 if err := testutil.ZTestUniformString(fillByteArray(0xaa, 32)); err != nil { 107 if err := testutil.ZTestUniformString(fillByteArray(0x00, 32)); err == nil { 116 if err := testutil.ZTestCrosscorrelationUniformStrings(fillByteArray(0xaa, 32), 117 fillByteArray(0x99, 32)); err != nil { 120 if err := testutil.ZTestCrosscorrelationUniformStrings(fillByteArray(0xaa, 32), 121 fillByteArray(0xaa, 32)); err == nil { 131 if err := testutil.ZTestAutocorrelationUniformString(fillByteArray(0xaa, 32)); err == nil {
|
| /external/guava/android/guava-tests/test/com/google/common/hash/ |
| D | MacHashFunctionTest.java | 284 byte[] key = fillByteArray(20, 0x0b); in testRfc2202_hmacSha1_case1() 298 byte[] key = fillByteArray(20, 0xaa); in testRfc2202_hmacSha1_case3() 299 byte[] data = fillByteArray(50, 0xdd); in testRfc2202_hmacSha1_case3() 306 byte[] data = fillByteArray(50, 0xcd); in testRfc2202_hmacSha1_case4() 312 byte[] key = fillByteArray(20, 0x0c); in testRfc2202_hmacSha1_case5() 319 byte[] key = fillByteArray(80, 0xaa); in testRfc2202_hmacSha1_case6() 326 byte[] key = fillByteArray(80, 0xaa); in testRfc2202_hmacSha1_case7() 333 byte[] key = fillByteArray(16, 0x0b); in testRfc2202_hmacMd5_case1() 347 byte[] key = fillByteArray(16, 0xaa); in testRfc2202_hmacMd5_case3() 348 byte[] data = fillByteArray(50, 0xdd); in testRfc2202_hmacMd5_case3() [all …]
|
| /external/guava/guava-tests/test/com/google/common/hash/ |
| D | MacHashFunctionTest.java | 284 byte[] key = fillByteArray(20, 0x0b); in testRfc2202_hmacSha1_case1() 298 byte[] key = fillByteArray(20, 0xaa); in testRfc2202_hmacSha1_case3() 299 byte[] data = fillByteArray(50, 0xdd); in testRfc2202_hmacSha1_case3() 306 byte[] data = fillByteArray(50, 0xcd); in testRfc2202_hmacSha1_case4() 312 byte[] key = fillByteArray(20, 0x0c); in testRfc2202_hmacSha1_case5() 319 byte[] key = fillByteArray(80, 0xaa); in testRfc2202_hmacSha1_case6() 326 byte[] key = fillByteArray(80, 0xaa); in testRfc2202_hmacSha1_case7() 333 byte[] key = fillByteArray(16, 0x0b); in testRfc2202_hmacMd5_case1() 347 byte[] key = fillByteArray(16, 0xaa); in testRfc2202_hmacMd5_case3() 348 byte[] data = fillByteArray(50, 0xdd); in testRfc2202_hmacMd5_case3() [all …]
|