Home
last modified time | relevance | path

Searched defs:plain (Results 1 – 25 of 38) sorted by relevance

12

/hostap/src/crypto/
Ddes-internal.c435 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt) in des_block_encrypt()
446 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain) in des_block_decrypt()
469 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt) in des3_encrypt()
483 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain) in des3_decrypt()
Dcrypto_internal-cipher.c103 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt()
167 u8 *plain, size_t len) in crypto_cipher_decrypt()
Dcrypto_libtomcrypt.c100 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt()
129 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt()
354 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt()
379 u8 *plain, size_t len) in crypto_cipher_decrypt()
617 u8 *plain, size_t *plain_len) in crypto_public_key_decrypt_pkcs1()
Daes-wrap.c26 int aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain, u8 *cipher) in aes_wrap()
Daes-unwrap.c27 u8 *plain) in aes_unwrap()
Dcrypto_nettle.c261 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt()
292 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt()
436 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt()
452 u8 *plain, size_t len) in crypto_cipher_decrypt()
Daes-ccm.c149 size_t M, const u8 *plain, size_t plain_len, in aes_ccm_ae()
180 const u8 *aad, size_t aad_len, const u8 *auth, u8 *plain) in aes_ccm_ad()
Dcrypto_linux.c503 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt()
523 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt()
785 u8 *plain) in aes_unwrap()
978 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt()
986 u8 *plain, size_t len) in crypto_cipher_decrypt()
Dcrypto_gnutls.c237 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt()
271 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt()
481 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt()
492 u8 *plain, size_t len) in crypto_cipher_decrypt()
Daes-gcm.c255 const u8 *plain, size_t plain_len, in aes_gcm_ae()
290 const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain) in aes_gcm_ad()
Daes-internal-enc.c119 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt()
Daes-internal-dec.c151 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt()
Dcrypto_internal-rsa.c113 u8 *plain, size_t *plain_len) in crypto_public_key_decrypt_pkcs1()
Dcrypto_wolfssl.c583 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt()
632 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt()
696 int aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain, u8 *cipher) in aes_wrap()
714 u8 *plain) in aes_unwrap()
838 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, in crypto_cipher_encrypt()
869 u8 *plain, size_t len) in crypto_cipher_decrypt()
/hostap/wlantest/
Dwep.c47 size_t data_len, u8 *plain) in try_wep()
74 u8 *plain; in wep_decrypt() local
Dtest_vectors.c46 u8 *enc, *plain; in test_vector_tkip() local
98 u8 *enc, *plain; in test_vector_ccmp() local
553 u8 *enc, *plain; in test_vector_ccmp_mgmt() local
723 u8 *enc, *plain; in run_gcmp() local
842 u8 *enc, *plain; in test_vector_gcmp_256() local
921 u8 *enc, *plain; in test_vector_ccmp_256() local
Dccmp.c161 u8 *plain; in ccmp_decrypt() local
305 u8 *plain; in ccmp_256_decrypt() local
Dgcmp.c85 u8 aad[30], nonce[12], *plain; in gcmp_decrypt() local
/hostap/src/eap_common/
Dikev2_common.c176 const u8 *plain, u8 *crypt, size_t len) in ikev2_encr_encrypt()
211 const u8 *crypt, u8 *plain, size_t len) in ikev2_encr_decrypt()
532 struct wpabuf *plain, u8 next_payload) in ikev2_build_encrypted()
/hostap/src/eap_server/
Deap_server_tls_common.c383 struct wpabuf *plain, *encr; in eap_server_tls_phase1() local
510 const struct wpabuf *plain) in eap_server_tls_encrypt()
/hostap/src/wps/
Dwps_enrollee.c210 struct wpabuf *msg, *plain; in wps_build_m5() local
349 static int wps_build_ap_settings(struct wps_data *wps, struct wpabuf *plain) in wps_build_ap_settings()
379 struct wpabuf *msg, *plain; in wps_build_m7() local
Dwps_registrar.c1850 struct wpabuf *msg, *plain; in wps_build_ap_cred() local
1925 struct wpabuf *plain = wpabuf_alloc(500); in wps_build_m2() local
1991 struct wpabuf *msg, *plain; in wps_build_m4() local
2030 struct wpabuf *msg, *plain; in wps_build_m6() local
2066 struct wpabuf *msg, *plain; in wps_build_m8() local
/hostap/src/eap_peer/
Dikev2.c1110 struct wpabuf *plain = wpabuf_alloc(data->IDr_len + 1000); in ikev2_build_sa_init() local
1143 struct wpabuf *msg, *plain; in ikev2_build_sa_auth() local
1186 struct wpabuf *plain = wpabuf_alloc(100); in ikev2_build_notify() local
/hostap/src/tls/
Dpkcs1.c136 u8 *plain, size_t *plain_len) in pkcs1_decrypt_public_key()
/hostap/src/ap/
Dwpa_auth_ft.c78 u8 **plain, size_t *plain_size) in wpa_ft_rrb_decrypt()
142 static int wpa_ft_rrb_get_tlv(const u8 *plain, size_t plain_len, in wpa_ft_rrb_get_tlv()
179 static void wpa_ft_rrb_dump(const u8 *plain, const size_t plain_len) in wpa_ft_rrb_dump()
228 static int wpa_ft_rrb_get_tlv_vlan(const u8 *plain, const size_t plain_len, in wpa_ft_rrb_get_tlv_vlan()
440 u8 **plain, size_t *plain_len) in wpa_ft_rrb_lin()
479 const u8 *plain, const size_t plain_len, in wpa_ft_rrb_encrypt()
531 u8 *plain = NULL, *auth = NULL, *pos, *tmp; in wpa_ft_rrb_build() local
3979 u8 *plain = NULL, *packet = NULL; in wpa_ft_rrb_rx_pull() local
4140 u8 *plain = NULL; in wpa_ft_rrb_rx_r1() local
4448 u8 *plain = NULL; in wpa_ft_rrb_rx_seq() local

12