/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
CBCBlockCipher.java | 21 private boolean encrypting; field in class:CBCBlockCipher 53 * @param encrypting if true the cipher is initialised for 60 boolean encrypting, 64 boolean oldEncrypting = this.encrypting; 66 this.encrypting = encrypting; 85 cipher.init(encrypting, ivParam.getParameters()); 87 else if (oldEncrypting != encrypting) 89 throw new IllegalArgumentException("cannot change encrypting state without providing key."); 99 cipher.init(encrypting, params) [all...] |
CFBBlockCipher.java | 23 private boolean encrypting; field in class:CFBBlockCipher 53 * @param encrypting if true the cipher is initialised for 60 boolean encrypting, 64 this.encrypting = encrypting; 119 return (encrypting) ? encryptByte(in) : decryptByte(in);
|
OFBBlockCipher.java | 49 * @param encrypting if true the cipher is initialised for 56 boolean encrypting, //ignored by this OFB mode
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
DESedeEngine.java | 32 * @param encrypting whether or not we are for encryption. 38 boolean encrypting, 53 this.forEncryption = encrypting; 57 workingKey1 = generateWorkingKey(encrypting, key1); 61 workingKey2 = generateWorkingKey(!encrypting, key2); 67 workingKey3 = generateWorkingKey(encrypting, key3);
|
RC2Engine.java | 59 private boolean encrypting; field in class:RC2Engine 115 * @param encrypting whether or not we are for encryption. 121 boolean encrypting, 124 this.encrypting = encrypting; 181 if (encrypting)
|
DESEngine.java | 29 * @param encrypting whether or not we are for encryption. 35 boolean encrypting, 45 workingKey = generateWorkingKey(encrypting, 308 boolean encrypting, 326 if (encrypting)
|
BlowfishEngine.java | 307 private boolean encrypting = false; field in class:BlowfishEngine 323 * @param encrypting whether or not we are for encryption. 329 boolean encrypting, 334 this.encrypting = encrypting; 370 if (encrypting)
|
TwofishEngine.java | 207 private boolean encrypting = false; field in class:TwofishEngine 262 * @param encrypting whether or not we are for encryption. 268 boolean encrypting, 273 this.encrypting = encrypting; 310 if (encrypting)
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLCipherRSA.java | 67 * Current cipher mode: encrypting or decrypting. 69 boolean encrypting; field in class:OpenSSLCipherRSA 123 if (encrypting) { 131 if (encrypting) { 176 encrypting = true; 178 encrypting = false; 316 if (!encrypting && resultSize != output.length) { 389 if (encrypting) { 533 pkeyCtx = new NativeRef.EVP_PKEY_CTX(encrypting 594 if (encrypting) { [all...] |
OpenSSLCipher.java | 107 * Current cipher mode: encrypting or decrypting. 109 private boolean encrypting; field in class:OpenSSLCipher 454 encrypting = true; 456 encrypting = false; 475 return encrypting; 520 final boolean encrypting = isEncrypting(); 524 if (!encrypting) { 545 NativeCrypto.EVP_CipherInit_ex(cipherCtx, cipherType, null, null, encrypting); 549 NativeCrypto.EVP_CipherInit_ex(cipherCtx, cipherType, encodedKey, iv, encrypting); 628 // In case it's encrypting and there are no remainder bytes, add an extra bloc [all...] |
/prebuilts/go/darwin-x86/src/crypto/cipher/ |
ctr.go | 8 // repeatedly encrypting an incrementing counter and
|
ofb_test.go | 84 t.Errorf("%s/%d: encrypting\ninput % x\nhave % x\nwant % x", test, len(plaintext), plaintext, ciphertext, tt.out)
|
example_test.go | 107 // size, padding would have to be added when encrypting, which would be 365 // Copy the input file to the output file, encrypting as we go.
|
/prebuilts/go/linux-x86/src/crypto/cipher/ |
ctr.go | 8 // repeatedly encrypting an incrementing counter and
|
ofb_test.go | 84 t.Errorf("%s/%d: encrypting\ninput % x\nhave % x\nwant % x", test, len(plaintext), plaintext, ciphertext, tt.out)
|
example_test.go | 107 // size, padding would have to be added when encrypting, which would be 365 // Copy the input file to the output file, encrypting as we go.
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
PerformAdbBackupTask.java | 120 Slog.w(TAG, "Encrypting backup with passphrase=" + mEncryptPassword); 316 boolean encrypting = (mEncryptPassword != null && mEncryptPassword.length() > 0); 319 if (backupManagerService.deviceIsEncrypted() && !encrypting) { 368 if (encrypting) {
|
/external/boringssl/src/ssl/test/runner/ |
ticket.go | 171 return nil, errors.New("tls: failed to create cipher while encrypting ticket: " + err.Error())
|
/prebuilts/go/darwin-x86/src/crypto/tls/ |
ticket.go | 146 return nil, errors.New("tls: failed to create cipher while encrypting ticket: " + err.Error())
|
/prebuilts/go/linux-x86/src/crypto/tls/ |
ticket.go | 146 return nil, errors.New("tls: failed to create cipher while encrypting ticket: " + err.Error())
|
/prebuilts/go/darwin-x86/src/crypto/rsa/ |
rsa.go | 17 // interface isn't necessary, there are functions for encrypting/decrypting 51 // used when encrypting. 361 // encrypting the same message twice doesn't result in the same ciphertext. 582 // function ? the random data need not match that used when encrypting. 584 // The label parameter must match the value given when encrypting. See
|
example_test.go | 24 // Before encrypting, data is ?padded? by embedding it in a known
|
pkcs1v15_test.go | 88 t.Errorf("error encrypting: %s", err)
|
/prebuilts/go/linux-x86/src/crypto/rsa/ |
rsa.go | 17 // interface isn't necessary, there are functions for encrypting/decrypting 51 // used when encrypting. 361 // encrypting the same message twice doesn't result in the same ciphertext. 582 // function ? the random data need not match that used when encrypting. 584 // The label parameter must match the value given when encrypting. See
|
/prebuilts/go/darwin-x86/src/crypto/x509/ |
pem_decrypt.go | 202 // We could save this copy by encrypting all the whole blocks in
|