Home
last modified time | relevance | path

Searched refs:PrintLine (Results 1 – 14 of 14) sorted by relevance

/external/boringssl/src/crypto/aes/
Daes_test.cc38 t->PrintLine("Plaintext or Ciphertext not a block size."); in TestRaw()
44 t->PrintLine("AES_set_encrypt_key failed."); in TestRaw()
53 t->PrintLine("AES_encrypt gave the wrong output."); in TestRaw()
62 t->PrintLine("In-place AES_encrypt gave the wrong output."); in TestRaw()
67 t->PrintLine("AES_set_decrypt_key failed."); in TestRaw()
75 t->PrintLine("AES_decrypt gave the wrong output."); in TestRaw()
84 t->PrintLine("In-place AES_decrypt gave the wrong output."); in TestRaw()
108 t->PrintLine("Invalid Plaintext and Ciphertext lengths."); in TestKeyWrap()
114 t->PrintLine("AES_set_encrypt_key failed."); in TestKeyWrap()
123 t->PrintLine("AES_wrap_key with implicit IV failed."); in TestKeyWrap()
[all …]
/external/boringssl/src/crypto/hmac/
Dhmac_test.cc95 t->PrintLine("Unknown digest '%s'", digest_str.c_str()); in TestHMAC()
114 t->PrintLine("One-shot API failed."); in TestHMAC()
125 t->PrintLine("HMAC_CTX failed."); in TestHMAC()
135 t->PrintLine("HMAC_CTX with reset failed."); in TestHMAC()
141 t->PrintLine("HMAC_CTX streaming failed."); in TestHMAC()
146 t->PrintLine("HMAC_CTX streaming failed."); in TestHMAC()
153 t->PrintLine("HMAC_CTX streaming failed."); in TestHMAC()
/external/boringssl/src/crypto/test/
Dfile_test.cc73 PrintLine("Unused attribute: %s", key.c_str()); in ReadNext()
130 void FileTest::PrintLine(const char *format, ...) { in PrintLine() function in FileTest
160 PrintLine("Missing attribute '%s'.", key.c_str()); in GetAttribute()
202 PrintLine("Error decoding value: %s", value.c_str()); in GetBytes()
210 PrintLine("Error decoding value: %s", value.c_str()); in GetBytes()
238 PrintLine("Expected: %s", expected_hex.c_str()); in ExpectBytesEqual()
239 PrintLine("Actual: %s", actual_hex.c_str()); in ExpectBytesEqual()
274 t.PrintLine("Operation unexpectedly succeeded."); in FileTestMain()
280 t.PrintLine("Unexpected error; wanted '%s', got '%s'.", in FileTestMain()
291 t.PrintLine("Test failed"); in FileTestMain()
Dfile_test.h85 void PrintLine(const char *format, ...) OPENSSL_PRINTF_FORMAT_FUNC(2, 3); in OPENSSL_MSVC_PRAGMA()
/external/boringssl/src/crypto/cipher/
Dcipher_test.cc141 t->PrintLine("Bad IV length."); in TestOperation()
154 t->PrintLine("Input/output size mismatch (%u vs %u).", (unsigned)in->size(), in TestOperation()
169 t->PrintLine("Operation failed."); in TestOperation()
182 t->PrintLine("Operation failed."); in TestOperation()
191 t->PrintLine("Operation failed."); in TestOperation()
196 t->PrintLine("Operation failed."); in TestOperation()
207 t->PrintLine("Bad tag length."); in TestOperation()
227 t->PrintLine("Unknown cipher: '%s'.", cipher_str.c_str()); in TestCipher()
260 t->PrintLine("Unknown operation: '%s'.", str.c_str()); in TestCipher()
Daead_test.cc64 t->PrintLine("Failed to init AEAD."); in TestAEAD()
74 t->PrintLine("Failed to run AEAD."); in TestAEAD()
80 t->PrintLine("Bad output length: %u vs %u.", (unsigned)out_len, in TestAEAD()
100 t->PrintLine("Failed to init AEAD."); in TestAEAD()
111 t->PrintLine("Decrypted bad data."); in TestAEAD()
119 t->PrintLine("Failed to decrypt."); in TestAEAD()
132 t->PrintLine("Failed to init AEAD."); in TestAEAD()
142 t->PrintLine("Decrypted bad data with trailing garbage."); in TestAEAD()
152 t->PrintLine("Failed to init AEAD."); in TestAEAD()
163 t->PrintLine("Decrypted bad data with corrupted byte."); in TestAEAD()
/external/boringssl/src/crypto/evp/
Devp_test.cc99 t->PrintLine("Unknown digest: '%s'", name.c_str()); in OPENSSL_MSVC_PRAGMA()
113 t->PrintLine("Unknown key type: '%s'", name.c_str()); in GetKeyType()
130 t->PrintLine("Unknown RSA padding mode: '%s'", name.c_str()); in GetRSAPadding()
156 t->PrintLine("Bad key type."); in ImportKey()
177 t->PrintLine("Re-encoding the key did not match."); in ImportKey()
184 t->PrintLine("Duplicate key '%s'.", key_name.c_str()); in ImportKey()
215 t->PrintLine("Unknown test '%s'", t->GetType().c_str()); in TestEVP()
222 t->PrintLine("Could not find key '%s'.", key_name.c_str()); in TestEVP()
/external/boringssl/src/crypto/poly1305/
Dpoly1305_test.cc68 t->PrintLine("SIMD pattern %u failed.", excess); in TestSIMD()
83 t->PrintLine("Invalid test"); in TestPoly1305()
95 t->PrintLine("Single-shot Poly1305 failed."); in TestPoly1305()
106 t->PrintLine("Streaming Poly1305 failed."); in TestPoly1305()
/external/boringssl/src/crypto/ec/
Dp256-x86_64_test.cc102 t->PrintLine("Invalid length: %s", name); in GetFieldElement()
134 t->PrintLine("%s", message); in ExpectFieldElementsEqual()
135 t->PrintLine("Expected: %s", FieldElementToString(expected).c_str()); in ExpectFieldElementsEqual()
136 t->PrintLine("Actual: %s", FieldElementToString(actual).c_str()); in ExpectFieldElementsEqual()
204 t->PrintLine("%s", message); in ExpectPointsEqual()
205 t->PrintLine("Could not convert to affine: (%s, %s, %s)", in ExpectPointsEqual()
213 t->PrintLine("%s", message); in ExpectPointsEqual()
214 t->PrintLine("Expected: (%s, %s)", in ExpectPointsEqual()
217 t->PrintLine("Actual: (%s, %s)", FieldElementToString(affine.X).c_str(), in ExpectPointsEqual()
496 t->PrintLine("Unknown test type: %s", t->GetParameter().c_str()); in main()
/external/boringssl/src/crypto/ecdsa/
Decdsa_verify_test.cc49 t->PrintLine("Unknown curve '%s'", curve_name.c_str()); in GetCurve()
90 t->PrintLine("Signature was incorrectly accepted."); in TestECDSASign()
94 t->PrintLine("Signature was incorrectly rejected."); in TestECDSASign()
Decdsa_sign_test.cc49 t->PrintLine("Unknown curve '%s'", curve_name.c_str()); in GetCurve()
104 t->PrintLine("Signature mismatch."); in TestECDSASign()
/external/boringssl/src/crypto/curve25519/
Ded25519_test.cc39 t->PrintLine("ED25519_sign failed"); in TestSignature()
50 t->PrintLine("ED25519_verify failed"); in TestSignature()
/external/boringssl/src/crypto/bn/
Dbn_test.cc114 t->PrintLine("Could not decode '%s'.", hex.c_str()); in GetBIGNUM()
147 t->PrintLine("Got %s =", operation); in ExpectBIGNUMsEqual()
148 t->PrintLine("\t%s", actual_str.get()); in ExpectBIGNUMsEqual()
149 t->PrintLine("wanted:"); in ExpectBIGNUMsEqual()
150 t->PrintLine("\t%s", expected_str.get()); in ExpectBIGNUMsEqual()
369 t->PrintLine("BN_sqrt succeeded on a negative number"); in TestSquare()
379 t->PrintLine("BN_sqrt succeeded on a non-square"); in TestSquare()
445 t->PrintLine("Got A %% B (word) = " BN_HEX_FMT1 ", wanted " BN_HEX_FMT1 in TestQuotient()
456 t->PrintLine("Got A %% B (word) = " BN_HEX_FMT1 ", wanted " BN_HEX_FMT1 in TestQuotient()
654 t->PrintLine("BN_mod_sqrt unexpectedly succeeded."); in TestNotModSquare()
[all …]
/external/boringssl/src/crypto/ecdh/
Decdh_test.cc49 t->PrintLine("Unknown curve '%s'", curve_name.c_str()); in GetCurve()