Home
last modified time | relevance | path

Searched refs:pc1m (Results 1 – 5 of 5) sorted by relevance

/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
DDES.java195 boolean[] pc1m = new boolean[56], pcr = new boolean[56]; in generateWorkingKey()
201 pc1m[j] = ((key[off + (l >>> 3)] & bytebit[l & 07]) != 0); in generateWorkingKey()
225 pcr[j] = pc1m[l]; in generateWorkingKey()
229 pcr[j] = pc1m[l - 28]; in generateWorkingKey()
238 pcr[j] = pc1m[l]; in generateWorkingKey()
242 pcr[j] = pc1m[l - 28]; in generateWorkingKey()
/external/qemu/
Dd3des.c70 unsigned char pc1m[56], pcr[56]; in deskey() local
76 pc1m[j] = (key[l >> 3] & bytebit[m]) ? 1 : 0; in deskey()
85 if( l < 28 ) pcr[j] = pc1m[l]; in deskey()
86 else pcr[j] = pc1m[l - 28]; in deskey()
90 if( l < 56 ) pcr[j] = pc1m[l]; in deskey()
91 else pcr[j] = pc1m[l - 28]; in deskey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DDESEngine.java311 boolean[] pc1m = new boolean[56], in generateWorkingKey()
318 pc1m[j] = ((key[l >>> 3] & bytebit[l & 07]) != 0); in generateWorkingKey()
342 pcr[j] = pc1m[l]; in generateWorkingKey()
346 pcr[j] = pc1m[l - 28]; in generateWorkingKey()
355 pcr[j] = pc1m[l]; in generateWorkingKey()
359 pcr[j] = pc1m[l - 28]; in generateWorkingKey()
/external/wpa_supplicant_8/src/crypto/
Ddes-internal.c276 u8 pc1m[56], pcr[56]; in deskey() local
281 pc1m[j] = (u8) in deskey()
295 pcr[j] = pc1m[l]; in deskey()
297 pcr[j] = pc1m[l - 28]; in deskey()
302 pcr[j] = pc1m[l]; in deskey()
304 pcr[j] = pc1m[l - 28]; in deskey()
/external/dropbear/libtomcrypt/src/ciphers/
Ddes.c1312 unsigned char pc1m[56], pcr[56]; in _deskey() local
1317 pc1m[j] = (unsigned char)((key[l >> 3U] & bytebit[m]) == bytebit[m] ? 1 : 0); in _deskey()
1331 pcr[j] = pc1m[l]; in _deskey()
1333 pcr[j] = pc1m[l - 28]; in _deskey()
1339 pcr[j] = pc1m[l]; in _deskey()
1341 pcr[j] = pc1m[l - 28]; in _deskey()