Searched refs:kEncrypt (Results 1 – 4 of 4) 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 | 232 kEncrypt, in TestCipher() enumerator 239 operation = kEncrypt; in TestCipher() 259 if (operation != kEncrypt) { in TestCipher()
|
/external/python/cpython3/Doc/library/ |
D | hashlib.rst | 633 >>> enc_key = blake2s(key=orig_key, person=b'kEncrypt').digest()
|