/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/tests/ |
test_strings.py | 21 encrypted = rsa.encrypt(message, self.pub) 22 print("\tEncrypted: %s" % encrypted) 24 decrypted = rsa.decrypt(encrypted, self.priv)
|
test_pkcs1.py | 20 encrypted = pkcs1.encrypt(message, self.pub) 21 print("\tEncrypted: %r" % encrypted) 23 decrypted = pkcs1.decrypt(encrypted, self.priv) 31 encrypted = pkcs1.encrypt(message, self.pub) 33 # Alter the encrypted stream 34 a = encrypted[5] 37 encrypted = encrypted[:5] + byte(a + 1) + encrypted[6:] 39 self.assertRaises(pkcs1.DecryptionError, pkcs1.decrypt, encrypted, [all...] |
test_integers.py | 17 encrypted = rsa.core.encrypt_int(message, self.pub.e, self.pub.n) 18 print("\tEncrypted: %d" % encrypted) 20 decrypted = rsa.core.decrypt_int(encrypted, self.priv.d, self.pub.n)
|
/external/toybox/lib/ |
pending.h | 6 int update_password(char *filename, char* username, char* encrypted);
|
/external/libvpx/libvpx/test/ |
vp8_decrypt_test.cc | 62 std::vector<uint8_t> encrypted(video.frame_size()); 63 encrypt_buffer(video.cxdata(), &encrypted[0], video.frame_size(), 0); 64 vpx_decrypt_init di = { test_decrypt_cb, &encrypted[0] }; 67 res = decoder.DecodeFrame(&encrypted[0], encrypted.size());
|
vp9_decrypt_test.cc | 62 std::vector<uint8_t> encrypted(video.frame_size()); 63 encrypt_buffer(video.cxdata(), &encrypted[0], video.frame_size(), 0); 64 vpx_decrypt_init di = { test_decrypt_cb, &encrypted[0] }; 67 res = decoder.DecodeFrame(&encrypted[0], encrypted.size());
|
/external/webrtc/webrtc/libjingle/xmpp/ |
saslhandler.h | 32 virtual std::string ChooseBestSaslMechanism(const std::vector<std::string> & mechanisms, bool encrypted) = 0;
|
plainsaslhandler.h | 31 virtual std::string ChooseBestSaslMechanism(const std::vector<std::string> & mechanisms, bool encrypted) { 33 if (!encrypted && !allow_plain_) {
|
xmppauth.h | 47 bool encrypted);
|
xmppauth.cc | 46 bool encrypted) {
|
/external/toybox/toys/lsb/ |
passwd.c | 109 char *name = NULL, *pass = NULL, *encrypted = NULL, *newp = NULL, local 164 encrypted = crypt(newp, salt); 170 encrypted = xmprintf("!%s",pass); 175 encrypted = xstrdup(&pass[1]); 178 encrypted = xstrdup(""); //1 = "", 2 = '\0' 183 ret = update_password("/etc/shadow", name, encrypted); 184 else ret = update_password("/etc/passwd", name, encrypted); 186 if ((toys.optflags & (FLAG_l | FLAG_u | FLAG_d))) free(encrypted);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
vp8_decrypt_test.cc | 63 std::vector<uint8_t> encrypted(video.frame_size()); 64 encrypt_buffer(video.cxdata(), &encrypted[0], video.frame_size(), 0); 65 vp8_decrypt_init di = { test_decrypt_cb, &encrypted[0] };
|
/external/autotest/server/site_tests/display_HDCPScreen/ |
display_HDCPScreen.py | 95 encrypted = chameleon_port.is_video_input_encrypted() 96 logging.info('Got Chameleon state: %r', encrypted) 97 if encrypted != expected_chameleon_state: 100 (expected_chameleon_state, encrypted)) 105 'enabled' if encrypted else 'disabled')
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/ |
blockdevicemapping.py | 42 encrypted=None): 54 self.encrypted = encrypted 81 elif lname == 'encrypted': 82 self.encrypted = (value == 'true') 157 # The encrypted flag (even if False) cannot be specified for the root EBS 159 if block_dev.encrypted is not None: 160 if block_dev.encrypted: 161 params['%s.Ebs.Encrypted' % pre] = 'true' 163 params['%s.Ebs.Encrypted' % pre] = 'false [all...] |
snapshot.py | 44 self.encrypted = None 69 elif name == 'encrypted': 70 self.encrypted = (value.lower() == 'true') 158 self.encrypted,
|
/external/lzma/CPP/7zip/UI/Common/ |
IFileExtractCallback.h | 32 STDMETHOD(SetOperationResult)(Int32 operationResult, bool encrypted) PURE;
38 virtual HRESULT OpenResult(const wchar_t *name, HRESULT result, bool encrypted) = 0;
64 STDMETHOD(SetOperationResult7)(Int32 resultEOperationResult, bool encrypted) x; \
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/ |
AbstractSampleEncryptionBox.java | 165 IsoTypeWriter.writeUInt32(byteBuffer, pair.encrypted); 216 public Pair createPair(int clear, long encrypted) { 217 return new Pair(clear, encrypted); 223 public long encrypted; field in class:AbstractSampleEncryptionBox.Entry.Pair 225 public Pair(int clear, long encrypted) { 227 this.encrypted = encrypted; 244 if (encrypted != pair.encrypted) { 254 result = 31 * result + (int) (encrypted ^ (encrypted >>> 32)) [all...] |
/system/security/keystore/ |
blob.cpp | 74 void Blob::setEncrypted(bool encrypted) { 75 if (encrypted) { 95 ALOGD("couldn't insert encrypted blob while not unlocked"); 109 // encrypted data includes the digest value 112 memmove(&mBlob.encrypted[encryptedLength], &mBlob.value[mBlob.length], mBlob.info); 123 AES_cbc_encrypt(mBlob.encrypted, mBlob.encrypted, encryptedLength, aes_key, vector, 127 size_t headerLength = (mBlob.encrypted - (uint8_t*)&mBlob); 175 size_t headerLength = (mBlob.encrypted - (uint8_t*)&mBlob); 191 AES_cbc_encrypt(mBlob.encrypted, mBlob.encrypted, encryptedLength, aes_key, mBlob.vector [all...] |
blob.h | 58 uint8_t encrypted[0]; // Marks offset to encrypted data. member in struct:blob 61 int32_t length; // in network byte order when encrypted 95 void setEncrypted(bool encrypted);
|
/libcore/support/src/test/java/tests/security/ |
CipherHelper.java | 45 byte[] encrypted = cipher.doFinal(plainData.getBytes()); 48 byte[] decrypted = cipher.doFinal(encrypted);
|
/external/lzma/CPP/7zip/UI/Console/ |
ExtractCallbackConsole.h | 43 STDMETHOD(SetOperationResult)(Int32 operationResult, bool encrypted);
46 HRESULT OpenResult(const wchar_t *name, HRESULT result, bool encrypted);
|
ExtractCallbackConsole.cpp | 44 static const char *kCrcFailedEncrypted = "CRC Failed in encrypted file. Wrong password?";
46 static const char *kDataErrorEncrypted = "Data Error in encrypted file. Wrong password?";
57 , "Headers Error in encrypted archive. Wrong password?"
131 STDMETHODIMP CExtractCallbackConsole::SetOperationResult(Int32 operationResult, bool encrypted)
149 s = (encrypted ? kCrcFailedEncrypted : kCrcFailed);
152 s = (encrypted ? kDataErrorEncrypted : kDataError);
215 HRESULT CExtractCallbackConsole::OpenResult(const wchar_t * /* name */, HRESULT result, bool encrypted)
223 (*OutStream) << (encrypted ?
224 "Can not open encrypted archive. Wrong password?" :
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/ |
CencSampleEncryptionInformationGroupEntry.java | 64 public void setEncrypted(int encrypted) { 65 isEncrypted = encrypted;
|
/bootable/recovery/uncrypt/ |
uncrypt.cpp | 22 // If the filesystem is using an encrypted block device, it will also 186 static const char* find_block_device(const char* path, bool* encryptable, bool* encrypted) { 188 // return its block device. Set encrypted if it's currently 189 // encrypted. 198 *encrypted = false; 204 strcmp(buffer, "encrypted") == 0) { 205 *encrypted = true; 235 bool encrypted, int socket) { 275 if (encrypted) { 288 if (encrypted) { 431 bool encrypted; local [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/ |
test_blockdevicemapping.py | 45 self.block_device_type.endElement("Encrypted", "true", None) 46 self.assertEqual(self.block_device_type.encrypted, True) 49 self.block_device_type.endElement("Encrypted", 'something else', None) 50 self.assertEqual(self.block_device_type.encrypted, False) 68 b1.encrypted == b2.encrypted]) 109 dev_sdg = BlockDeviceType(snapshot_id='snap-12346', delete_on_termination=True, encrypted=True) 132 'BlockDeviceMapping.2.Ebs.Encrypted': 'true',
|