Searched refs:kEncrypt (Results 1 – 3 of 3) sorted by relevance
/external/boringssl/src/fipstools/ |
D | cavp_tdes_test.cc | 50 kEncrypt, in TestKAT() enumerator 52 } operation = t->HasInstruction("ENCRYPT") ? kEncrypt : kDecrypt; in TestKAT() 63 std::string header = operation == kEncrypt ? "[ENCRYPT]" : "[DECRYPT]"; in TestKAT() 91 operation == kEncrypt ? "PLAINTEXT" : "CIPHERTEXT"; in TestKAT() 117 if (!CipherOperation(ctx->cipher, &result, operation == kEncrypt, key, iv, in TestKAT() 127 std::string header = operation == kEncrypt ? "[ENCRYPT]" : "[DECRYPT]"; in TestKAT() 131 operation == kEncrypt ? "CIPHERTEXT" : "PLAINTEXT"; in TestKAT() 178 kEncrypt, in TestMCT() enumerator 180 } operation = t->HasInstruction("ENCRYPT") ? kEncrypt : kDecrypt; in TestMCT() 214 operation == kEncrypt ? "PLAINTEXT" : "CIPHERTEXT"; in TestMCT() [all …]
|
D | cavp_aes_test.cc | 138 kEncrypt, in TestCipher() enumerator 140 } operation = t->HasInstruction("ENCRYPT") ? kEncrypt : kDecrypt; in TestCipher() 151 if (operation == kEncrypt) { in TestCipher() 162 if (!CipherOperation(cipher, &result, operation == kEncrypt, key, iv, in)) { in TestCipher() 166 operation == kEncrypt ? "CIPHERTEXT" : "PLAINTEXT"; in TestCipher() 171 operation == kEncrypt ? "[ENCRYPT]" : "[DECRYPT]"; in TestCipher() 173 if (!MonteCarlo(ctx, t, cipher, &result, operation == kEncrypt, key, iv, in TestCipher() 177 if (operation == kEncrypt) { in TestCipher()
|
/external/boringssl/src/crypto/cipher_extra/ |
D | cipher_test.cc | 212 kEncrypt, in TestCipher() enumerator 219 operation = kEncrypt; in TestCipher() 239 if (operation != kEncrypt) { in TestCipher()
|