HomeSort by relevance Sort by last modified time
    Searched refs:crypt (Results 1 - 25 of 108) sorted by null

1 2 3 4 5

  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_crypt.py 4 crypt = test_support.import_module('crypt') variable
9 c = crypt.crypt('mypassword', 'ab')
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_crypt.py 4 crypt = test_support.import_module('crypt') variable
9 c = crypt.crypt('mypassword', 'ab')
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_crypt.py 4 crypt = test_support.import_module('crypt') variable
9 c = crypt.crypt('mypassword', 'ab')
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_crypt.py 4 crypt = test_support.import_module('crypt') variable
9 c = crypt.crypt('mypassword', 'ab')
  /external/wpa_supplicant_8/src/crypto/
des_i.h 18 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt);
19 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain);
22 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt);
23 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain);
aes.h 15 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
18 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
crypto_internal-cipher.c 104 u8 *crypt, size_t len)
110 if (plain != crypt)
111 os_memcpy(crypt, plain, len);
113 ctx->u.rc4.used_bytes, crypt, len);
125 os_memcpy(crypt, ctx->u.aes.cbc, AES_BLOCK_SIZE);
127 crypt += AES_BLOCK_SIZE;
139 os_memcpy(crypt, ctx->u.des3.cbc, 8);
141 crypt += 8;
153 os_memcpy(crypt, ctx->u.des.cbc, 8);
155 crypt += 8
    [all...]
aes_wrap.h 54 u8 *crypt, u8 *tag);
57 const u8 *crypt, size_t crypt_len,
65 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth);
67 size_t M, const u8 *crypt, size_t crypt_len,
aes-gcm.c 230 const u8 *crypt, size_t crypt_len, u8 *S)
242 ghash(H, crypt, crypt_len, S);
256 const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag)
270 aes_gcm_gctr(aes, J0, plain, plain_len, crypt);
272 aes_gcm_ghash(H, aad, aad_len, crypt, plain_len, S);
289 const u8 *crypt, size_t crypt_len,
304 aes_gcm_gctr(aes, J0, crypt, crypt_len, plain);
306 aes_gcm_ghash(H, aad, aad_len, crypt, crypt_len, S);
crypto_gnutls.c 110 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt)
113 gcry_cipher_encrypt(hd, crypt, 16, plain, 16);
140 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain)
143 gcry_cipher_decrypt(hd, plain, 16, crypt, 16);
275 u8 *crypt, size_t len)
277 if (gcry_cipher_encrypt(ctx->enc, crypt, len, plain, len) !=
284 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt,
287 if (gcry_cipher_decrypt(ctx->dec, plain, len, crypt, len) !=
crypto_internal-rsa.c 112 const u8 *crypt, size_t crypt_len,
116 crypt, crypt_len, plain, plain_len);
crypto_libtomcrypt.c 99 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt)
102 aes_ecb_encrypt(plain, crypt, skey);
128 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain)
131 aes_ecb_encrypt(plain, (u8 *) crypt, skey);
351 u8 *crypt, size_t len)
356 if (plain != crypt)
357 os_memcpy(crypt, plain, len);
359 ctx->u.rc4.used_bytes, crypt, len);
364 res = cbc_encrypt(plain, crypt, len, &ctx->u.cbc);
374 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt,
    [all...]
crypto.h 124 * @crypt: Buffer for the encrypted data (16 bytes)
126 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
145 * @crypt: Encrypted data (16 bytes)
148 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
241 * @crypt: Resulting ciphertext
250 const u8 *plain, u8 *crypt, size_t len);
255 * @crypt: Ciphertext to decrypt
265 const u8 *crypt, u8 *plain, size_t len);
407 * @crypt: Encrypted signature data (using the private key)
414 struct crypto_public_key *key, const u8 *crypt, size_t crypt_len
    [all...]
des-internal.c 434 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt)
440 WPA_PUT_BE32(crypt, work[0]);
441 WPA_PUT_BE32(crypt + 4, work[1]);
445 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain)
448 work[0] = WPA_GET_BE32(crypt);
449 work[1] = WPA_GET_BE32(crypt + 4);
468 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt)
477 WPA_PUT_BE32(crypt, work[0]);
478 WPA_PUT_BE32(crypt + 4, work[1]);
482 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain
    [all...]
aes-ccm.c 98 /* crypt = msg XOR (S_1 | S_2 | ... | S_n) */
150 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth)
168 aes_ccm_encr(aes, L, plain, plain_len, crypt, a);
179 size_t M, const u8 *crypt, size_t crypt_len,
199 aes_ccm_encr(aes, L, crypt, crypt_len, plain, a);
  /external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
test_jwt.py 40 from oauth2client import crypt namespace
55 self.signer = crypt.OpenSSLSigner
56 self.verifier = crypt.OpenSSLVerifier
85 crypt.verify_signed_jwt_with_certs(jwt, certs, audience)
87 except crypt.AppIdentityError as e:
96 return crypt.make_signed_jwt(signer, {
109 contents = crypt.verify_signed_jwt_with_certs(jwt, certs, audience)
146 jwt = 'foo.%s.baz' % crypt._urlsafe_b64encode('{"a":"b"}')
153 jwt = crypt.make_signed_jwt(signer, {
160 jwt = crypt.make_signed_jwt(signer,
    [all...]
test_crypt.py 28 from oauth2client import crypt namespace
53 pem_contents = crypt.pkcs12_key_as_pem(credentials.private_key,
56 pkcs12_key_as_pem = crypt._parse_pem_key(pkcs12_key_as_pem)
72 reload(crypt)
73 self.assertRaises(NotImplementedError, crypt.pkcs12_key_as_pem,
79 reload(crypt)
84 self.assertRaises(crypto.Error, crypt.pkcs12_key_as_pem,
  /external/dhcpcd-6.8.2/test/
Makefile 6 SRCS+= test_hmac_md5.c ../crypt/hmac_md5.c
12 CPPFLAGS+= -I../crypt
15 T_MD5_SRC= ${MD5_SRC:crypt/%=../crypt/%}
  /external/wpa_supplicant_8/src/tls/
pkcs1.h 22 const u8 *crypt, size_t crypt_len,
  /external/dhcpcd-6.8.2/
Android.mk 39 crypt/md5.c \
40 crypt/hmac_md5.c \
57 LOCAL_SRC_FILES += crypt/sha256.c
58 LOCAL_C_INCLUDES += $(LOCAL_PATH)/crypt
71 # if-options.c, dhcp-common.c, and crypt/sha256.c.
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/
crypt.h 2 * UFC-crypt: ultra fast crypt(3) implementation
21 * @(#)crypt.h 1.5 12/20/96
33 extern char *crypt (__const char *__key, __const char *__salt)
75 #endif /* crypt.h */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/
crypt.h 2 * UFC-crypt: ultra fast crypt(3) implementation
21 * @(#)crypt.h 1.5 12/20/96
33 extern char *crypt (__const char *__key, __const char *__salt)
75 #endif /* crypt.h */
  /external/jetty/src/java/org/eclipse/jetty/util/security/
Credential.java 39 * This class includes an implementation for unix Crypt an MD5 digest.
65 * known Credential type (eg "CRYPT:" or "MD5:" ) then a Credential of that
73 if (credential.startsWith(Crypt.__TYPE)) return new Crypt(credential);
81 * Unix Crypt Credentials
83 public static class Crypt extends Credential
87 public static final String __TYPE = "CRYPT:";
91 Crypt(String cooked)
93 _cooked = cooked.startsWith(Crypt.__TYPE) ? cooked.substring(__TYPE.length()) : cooked;
102 LOG.warn("Can't check " + credentials.getClass() + " against CRYPT");
108 public static String crypt(String user, String pw) method in class:Credential.Crypt
    [all...]
  /external/toybox/toys/other/
mkpasswd.c 16 Crypt PASSWORD using crypt(3)
76 xprintf("%s\n",crypt(*toys.optargs ? *toys.optargs : toybuf, salt));
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
CipherPBEThread.java 35 public void crypt() throws Exception { method in class:CipherPBEThread

Completed in 1263 milliseconds

1 2 3 4 5