Home
last modified time | relevance | path

Searched refs:aes_wrap (Results 1 - 20 of 20) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Daes-wrap.c14 #include "aes_wrap.h"
17 * aes_wrap - Wrap keys with AES Key Wrap Algorithm (RFC3394)
26 int aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain, u8 *cipher) in aes_wrap() function
H A Daes_wrap.h21 int __must_check aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain,
H A Dcrypto_module_tests.c14 #include "crypto/aes_wrap.h"
617 if (aes_wrap(kek41, sizeof(kek41), sizeof(plain41) / 8, plain41, in test_key_wrap()
638 if (aes_wrap(kek42, sizeof(kek42), sizeof(plain42) / 8, plain42, in test_key_wrap()
659 if (aes_wrap(kek43, sizeof(kek43), sizeof(plain43) / 8, plain43, in test_key_wrap()
680 if (aes_wrap(kek44, sizeof(kek44), sizeof(plain44) / 8, plain44, in test_key_wrap()
701 if (aes_wrap(kek45, sizeof(kek45), sizeof(plain45) / 8, plain45, in test_key_wrap()
721 if (aes_wrap(kek46, sizeof(kek46), sizeof(plain46) / 8, plain46, in test_key_wrap()
H A Dcrypto_openssl.c35 #include "aes_wrap.h"
431 int aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain, u8 *cipher) in aes_wrap() function
H A Dcrypto_wolfssl.c412 int aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain, u8 *cipher) in aes_wrap() function
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Daes-wrap.c14 #include "aes_wrap.h"
17 * aes_wrap - Wrap keys with AES Key Wrap Algorithm (RFC3394)
26 int aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain, u8 *cipher) in aes_wrap() function
H A Daes_wrap.h21 int __must_check aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain,
H A Dcrypto_module_tests.c14 #include "crypto/aes_wrap.h"
617 if (aes_wrap(kek41, sizeof(kek41), sizeof(plain41) / 8, plain41, in test_key_wrap()
638 if (aes_wrap(kek42, sizeof(kek42), sizeof(plain42) / 8, plain42, in test_key_wrap()
659 if (aes_wrap(kek43, sizeof(kek43), sizeof(plain43) / 8, plain43, in test_key_wrap()
680 if (aes_wrap(kek44, sizeof(kek44), sizeof(plain44) / 8, plain44, in test_key_wrap()
701 if (aes_wrap(kek45, sizeof(kek45), sizeof(plain45) / 8, plain45, in test_key_wrap()
721 if (aes_wrap(kek46, sizeof(kek46), sizeof(plain46) / 8, plain46, in test_key_wrap()
H A Dcrypto_wolfssl.c412 int aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain, u8 *cipher) in aes_wrap() function
H A Dcrypto_openssl.c40 #include "aes_wrap.h"
504 int aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain, u8 *cipher) in aes_wrap() function
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
H A Deap_server_fast.c12 #include "crypto/aes_wrap.h"
738 if (aes_wrap(data->pac_opaque_encr, sizeof(data->pac_opaque_encr), in eap_fast_build_pac()
H A Deap_server_teap.c12 #include "crypto/aes_wrap.h"
711 if (aes_wrap(data->pac_opaque_encr, sizeof(data->pac_opaque_encr), in eap_teap_build_pac()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
H A Deap_server_fast.c12 #include "crypto/aes_wrap.h"
740 if (aes_wrap(data->pac_opaque_encr, sizeof(data->pac_opaque_encr), in eap_fast_build_pac()
H A Deap_server_teap.c12 #include "crypto/aes_wrap.h"
773 if (aes_wrap(data->pac_opaque_encr, sizeof(data->pac_opaque_encr), in eap_teap_build_pac()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dwpa_auth_ft.c21 #include "crypto/aes_wrap.h"
2239 if (aes_wrap(kek, kek_len, key_len / 8, key, subelem + 13)) { in wpa_ft_gtk_subelem()
2301 if (aes_wrap(kek, kek_len, igtk_len / 8, igtk, pos)) { in wpa_ft_igtk_subelem()
2361 if (aes_wrap(kek, kek_len, bigtk_len / 8, bigtk, pos)) { in wpa_ft_bigtk_subelem()
H A Dwpa_auth.c20 #include "crypto/aes_wrap.h"
1665 if (aes_wrap(sm->PTK.kek, sm->PTK.kek_len, in __wpa_send_eapol()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dwpa_auth_ft.c20 #include "crypto/aes_wrap.h"
2221 if (aes_wrap(kek, kek_len, key_len / 8, key, subelem + 13)) { in wpa_ft_gtk_subelem()
2270 if (aes_wrap(kek, kek_len, igtk_len / 8, in wpa_ft_igtk_subelem()
H A Dwpa_auth.c18 #include "crypto/aes_wrap.h"
1586 if (aes_wrap(sm->PTK.kek, sm->PTK.kek_len, in __wpa_send_eapol()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/pae/
H A Dieee802_1x_kay.c18 #include "crypto/aes_wrap.h"
1611 if (aes_wrap(participant->kek.key, participant->kek.len, in ieee802_1x_mka_encode_dist_sak_body()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/pae/
H A Dieee802_1x_kay.c18 #include "crypto/aes_wrap.h"
1648 if (aes_wrap(participant->kek.key, participant->kek.len, in ieee802_1x_mka_encode_dist_sak_body()

Completed in 55 milliseconds