Searched refs:crypt (Results 1 - 25 of 93) sorted by relevance

1234

/external/wpa_supplicant_8/hostapd/src/crypto/
H A Ddes_i.h18 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);
H A Daes.h15 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
18 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
H A Dcrypto_internal-cipher.c104 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
103 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
166 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
[all...]
H A Daes_wrap.h54 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,
H A Daes-gcm.c230 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);
229 aes_gcm_ghash(const u8 *H, const u8 *aad, size_t aad_len, const u8 *crypt, size_t crypt_len, u8 *S) argument
254 aes_gcm_ae(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *plain, size_t plain_len, const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag) argument
288 aes_gcm_ad(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *crypt, size_t crypt_len, const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain) argument
H A Dcrypto_gnutls.c110 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
113 gcry_cipher_encrypt(hd, crypt, 16, plain, 16);
140 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
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, argument
287 if (gcry_cipher_decrypt(ctx->dec, plain, len, crypt, len) !=
274 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
H A Dcrypto_internal-rsa.c112 const u8 *crypt, size_t crypt_len,
116 crypt, crypt_len, plain, plain_len);
111 crypto_public_key_decrypt_pkcs1(struct crypto_public_key *key, const u8 *crypt, size_t crypt_len, u8 *plain, size_t *plain_len) argument
/external/wpa_supplicant_8/src/crypto/
H A Ddes_i.h18 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);
H A Daes.h15 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
18 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
H A Dcrypto_internal-cipher.c104 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
103 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
166 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
[all...]
H A Daes_wrap.h54 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,
H A Daes-gcm.c230 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);
229 aes_gcm_ghash(const u8 *H, const u8 *aad, size_t aad_len, const u8 *crypt, size_t crypt_len, u8 *S) argument
254 aes_gcm_ae(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *plain, size_t plain_len, const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag) argument
288 aes_gcm_ad(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *crypt, size_t crypt_len, const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain) argument
H A Dcrypto_gnutls.c110 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
113 gcry_cipher_encrypt(hd, crypt, 16, plain, 16);
140 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
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, argument
287 if (gcry_cipher_decrypt(ctx->dec, plain, len, crypt, len) !=
274 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
H A Dcrypto_internal-rsa.c112 const u8 *crypt, size_t crypt_len,
116 crypt, crypt_len, plain, plain_len);
111 crypto_public_key_decrypt_pkcs1(struct crypto_public_key *key, const u8 *crypt, size_t crypt_len, u8 *plain, size_t *plain_len) argument
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Ddes_i.h18 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);
H A Daes.h15 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
18 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
H A Dcrypto_internal-cipher.c104 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
103 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
166 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
[all...]
H A Daes_wrap.h54 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,
H A Daes-gcm.c230 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);
229 aes_gcm_ghash(const u8 *H, const u8 *aad, size_t aad_len, const u8 *crypt, size_t crypt_len, u8 *S) argument
254 aes_gcm_ae(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *plain, size_t plain_len, const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag) argument
288 aes_gcm_ad(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *crypt, size_t crypt_len, const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain) argument
H A Dcrypto_gnutls.c110 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
113 gcry_cipher_encrypt(hd, crypt, 16, plain, 16);
140 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
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, argument
287 if (gcry_cipher_decrypt(ctx->dec, plain, len, crypt, len) !=
274 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
H A Dcrypto_internal-rsa.c112 const u8 *crypt, size_t crypt_len,
116 crypt, crypt_len, plain, plain_len);
111 crypto_public_key_decrypt_pkcs1(struct crypto_public_key *key, const u8 *crypt, size_t crypt_len, u8 *plain, size_t *plain_len) argument
/external/openssh/openbsd-compat/
H A Dxcrypt.c32 # include <crypt.h>
62 # define crypt DES_crypt macro
74 crypted = crypt(password, salt);
79 crypted = crypt(password, salt);
83 crypted = crypt(password, salt);
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dpkcs1.h22 const u8 *crypt, size_t crypt_len,
/external/wpa_supplicant_8/src/tls/
H A Dpkcs1.h22 const u8 *crypt, size_t crypt_len,
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dpkcs1.h22 const u8 *crypt, size_t crypt_len,

Completed in 264 milliseconds

1234