Home
last modified time | relevance | path

Searched refs:encrypting (Results 1 – 25 of 34) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DCBCBlockCipher.java21 private boolean encrypting; field in CBCBlockCipher
60 boolean encrypting, in init() argument
64 boolean oldEncrypting = this.encrypting; in init()
66 this.encrypting = encrypting; in init()
85 cipher.init(encrypting, ivParam.getParameters()); in init()
87 else if (oldEncrypting != encrypting) in init()
99 cipher.init(encrypting, params); in init()
101 else if (oldEncrypting != encrypting) in init()
148 … return (encrypting) ? encryptBlock(in, inOff, out, outOff) : decryptBlock(in, inOff, out, outOff); in processBlock()
DCFBBlockCipher.java23 private boolean encrypting; field in CFBBlockCipher
60 boolean encrypting, in init() argument
64 this.encrypting = encrypting; in init()
119 return (encrypting) ? encryptByte(in) : decryptByte(in); in calculateByte()
DOFBBlockCipher.java56 boolean encrypting, //ignored by this OFB mode in init() argument
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/modes/
DCBCBlockCipher.java23 private boolean encrypting; field in CBCBlockCipher
62 boolean encrypting, in init() argument
66 boolean oldEncrypting = this.encrypting; in init()
68 this.encrypting = encrypting; in init()
87 cipher.init(encrypting, ivParam.getParameters()); in init()
89 else if (oldEncrypting != encrypting) in init()
101 cipher.init(encrypting, params); in init()
103 else if (oldEncrypting != encrypting) in init()
150 … return (encrypting) ? encryptBlock(in, inOff, out, outOff) : decryptBlock(in, inOff, out, outOff); in processBlock()
DCFBBlockCipher.java25 private boolean encrypting; field in CFBBlockCipher
62 boolean encrypting, in init() argument
66 this.encrypting = encrypting; in init()
121 return (encrypting) ? encryptByte(in) : decryptByte(in); in calculateByte()
DOFBBlockCipher.java58 boolean encrypting, //ignored by this OFB mode in init() argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DDESedeEngine.java38 boolean encrypting, in init() argument
53 this.forEncryption = encrypting; in init()
57 workingKey1 = generateWorkingKey(encrypting, key1); in init()
61 workingKey2 = generateWorkingKey(!encrypting, key2); in init()
67 workingKey3 = generateWorkingKey(encrypting, key3); in init()
DBlowfishEngine.java307 private boolean encrypting = false; field in BlowfishEngine
329 boolean encrypting, in init() argument
334 this.encrypting = encrypting; in init()
370 if (encrypting) in processBlock()
DRC2Engine.java59 private boolean encrypting; field in RC2Engine
121 boolean encrypting, in init() argument
124 this.encrypting = encrypting; in init()
181 if (encrypting) in processBlock()
DDESEngine.java36 boolean encrypting, in init() argument
46 workingKey = generateWorkingKey(encrypting, in init()
309 boolean encrypting, in generateWorkingKey() argument
327 if (encrypting) in generateWorkingKey()
DTwofishEngine.java207 private boolean encrypting = false; field in TwofishEngine
268 boolean encrypting, in init() argument
273 this.encrypting = encrypting; in init()
310 if (encrypting) in processBlock()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/
DDESedeEngine.java40 boolean encrypting, in init() argument
55 this.forEncryption = encrypting; in init()
59 workingKey1 = generateWorkingKey(encrypting, key1); in init()
63 workingKey2 = generateWorkingKey(!encrypting, key2); in init()
69 workingKey3 = generateWorkingKey(encrypting, key3); in init()
DBlowfishEngine.java309 private boolean encrypting = false; field in BlowfishEngine
331 boolean encrypting, in init() argument
336 this.encrypting = encrypting; in init()
372 if (encrypting) in processBlock()
DRC2Engine.java61 private boolean encrypting; field in RC2Engine
123 boolean encrypting, in init() argument
126 this.encrypting = encrypting; in init()
183 if (encrypting) in processBlock()
DDESEngine.java38 boolean encrypting, in init() argument
48 workingKey = generateWorkingKey(encrypting, in init()
311 boolean encrypting, in generateWorkingKey() argument
329 if (encrypting) in generateWorkingKey()
DTwofishEngine.java209 private boolean encrypting = false; field in TwofishEngine
270 boolean encrypting, in init() argument
275 this.encrypting = encrypting; in init()
312 if (encrypting) in processBlock()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLCipherRSA.java66 boolean encrypting; field in OpenSSLCipherRSA
120 if (encrypting) { in engineGetBlockSize()
128 if (encrypting) { in engineGetOutputSize()
173 encrypting = true; in engineInitInternal()
175 encrypting = false; in engineInitInternal()
313 if (!encrypting && resultSize != output.length) { in engineDoFinal()
386 if (encrypting) { in doCryptoOperation()
530 pkeyCtx = new NativeRef.EVP_PKEY_CTX(encrypting in doCryptoInit()
591 if (encrypting) { in doCryptoOperation()
DOpenSSLCipher.java108 private boolean encrypting; field in OpenSSLCipher
453 encrypting = true; in checkAndSetEncodedKey()
455 encrypting = false; in checkAndSetEncodedKey()
474 return encrypting; in isEncrypting()
519 final boolean encrypting = isEncrypting(); in engineInitInternal()
523 if (!encrypting) { in engineInitInternal()
544 NativeCrypto.EVP_CipherInit_ex(cipherCtx, cipherType, null, null, encrypting); in engineInitInternal()
548 NativeCrypto.EVP_CipherInit_ex(cipherCtx, cipherType, encodedKey, iv, encrypting); in engineInitInternal()
1128 final boolean encrypting = isEncrypting(); in engineInitInternal()
1134 if (!encrypting) { in engineInitInternal()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLCipherRSA.java68 boolean encrypting; field in OpenSSLCipherRSA
122 if (encrypting) { in engineGetBlockSize()
130 if (encrypting) { in engineGetOutputSize()
175 encrypting = true; in engineInitInternal()
177 encrypting = false; in engineInitInternal()
315 if (!encrypting && resultSize != output.length) { in engineDoFinal()
391 if (encrypting) { in doCryptoOperation()
546 pkeyCtx = new NativeRef.EVP_PKEY_CTX(encrypting in doCryptoInit()
607 if (encrypting) { in doCryptoOperation()
DOpenSSLCipher.java111 private boolean encrypting; field in OpenSSLCipher
456 encrypting = true; in checkAndSetEncodedKey()
458 encrypting = false; in checkAndSetEncodedKey()
477 return encrypting; in isEncrypting()
526 final boolean encrypting = isEncrypting(); in engineInitInternal()
530 if (!encrypting) { in engineInitInternal()
551 NativeCrypto.EVP_CipherInit_ex(cipherCtx, cipherType, null, null, encrypting); in engineInitInternal()
555 NativeCrypto.EVP_CipherInit_ex(cipherCtx, cipherType, encodedKey, iv, encrypting); in engineInitInternal()
1269 final boolean encrypting = isEncrypting(); in engineInitInternal()
1275 if (!encrypting) { in engineInitInternal()
/external/libese/tools/ese_ls_provision/
DREADME.md9 of compiling, encrypting and signing these scripts with the `ls-cgt.jar` tool is a file containing
/external/openssh/
Dscp.045 Selects the cipher to use for encrypting the data transfer. This
Dsftp.072 Selects the cipher to use for encrypting the data transfers.
/external/curl/lib/vtls/
Dopenssl.c423 static int passwd_callback(char *buf, int num, int encrypting, in passwd_callback() argument
426 DEBUGASSERT(0 == encrypting); in passwd_callback()
428 if(!encrypting) { in passwd_callback()
/external/python/rsa/doc/
Dusage.rst16 The public key is used for encrypting a message such that it can only

12