Searched refs:key_info (Results 1 - 12 of 12) sorted by relevance

/freebsd-11-stable/crypto/openssl/engines/ccgost/
H A Dgost94_keyx.c161 if (!ASN1_OCTET_STRING_set(gkt->key_info->imit, crypted_key + 40, 4)) {
165 (gkt->key_info->encrypted_key, crypted_key + 8, 32)) {
264 OPENSSL_assert(gkt->key_info->encrypted_key->length == 32);
265 memcpy(wrappedKey + 8, gkt->key_info->encrypted_key->data, 32);
266 OPENSSL_assert(gkt->key_info->imit->length == 4);
267 memcpy(wrappedKey + 40, gkt->key_info->imit->data, 4);
H A Dgost2001_keyx.c177 if (!ASN1_OCTET_STRING_set(gkt->key_info->imit, crypted_key + 40, 4)) {
181 (gkt->key_info->encrypted_key, crypted_key + 8, 32)) {
274 OPENSSL_assert(gkt->key_info->encrypted_key->length == 32);
275 memcpy(wrappedKey + 8, gkt->key_info->encrypted_key->data, 32);
276 OPENSSL_assert(gkt->key_info->imit->length == 4);
277 memcpy(wrappedKey + 40, gkt->key_info->imit->data, 4);
H A Dgost_asn1.c15 ASN1_SIMPLE(GOST_KEY_TRANSPORT, key_info, GOST_KEY_INFO),
H A Dgost_lcl.h78 GOST_KEY_INFO *key_info; member in struct:__anon6460
/freebsd-11-stable/contrib/wpa/src/rsn_supp/
H A Dwpa.c183 int key_info, ver; local
212 key_info = WPA_KEY_INFO_REQUEST | ver;
214 key_info |= WPA_KEY_INFO_SECURE;
216 key_info |= WPA_KEY_INFO_MIC;
218 key_info |= WPA_KEY_INFO_ERROR;
220 key_info |= WPA_KEY_INFO_KEY_TYPE;
221 WPA_PUT_BE16(reply->key_info, key_info);
229 if (!(key_info & WPA_KEY_INFO_MIC))
479 u16 key_info; local
1002 wpa_supplicant_pairwise_gtk(struct wpa_sm *sm, const struct wpa_eapol_key *key, const u8 *gtk, size_t gtk_len, int key_info) argument
1394 wpa_supplicant_send_4_of_4(struct wpa_sm *sm, const unsigned char *dst, const struct wpa_eapol_key *key, u16 ver, u16 key_info, struct wpa_ptk *ptk) argument
1441 u16 key_info, keylen; local
1599 wpa_supplicant_process_1_of_2_rsn(struct wpa_sm *sm, const u8 *keydata, size_t keydatalen, u16 key_info, struct wpa_gtk_data *gd) argument
1670 wpa_supplicant_process_1_of_2_wpa(struct wpa_sm *sm, const struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len, u16 key_info, u16 ver, struct wpa_gtk_data *gd) argument
1757 wpa_supplicant_send_2_of_2(struct wpa_sm *sm, const struct wpa_eapol_key *key, int ver, u16 key_info) argument
1830 u16 key_info; local
2085 u16 key_info = WPA_GET_BE16(key->key_info); local
2208 u16 key_info, ver; local
[all...]
H A Dwpa_i.h423 u16 ver, u16 key_info,
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dwpa_auth.c950 u16 key_info, key_data_length; local
973 key_info = WPA_GET_BE16(key->key_info);
977 " key_info=0x%x type=%u mic_len=%u key_data_length=%u",
978 MAC2STR(sm->addr), key_info, key->type,
1025 if (key_info & WPA_KEY_INFO_SMK_MESSAGE) {
1030 if (key_info & WPA_KEY_INFO_REQUEST) {
1033 } else if (!(key_info & WPA_KEY_INFO_KEY_TYPE)) {
1037 (mic_len == 0 && (key_info & WPA_KEY_INFO_ENCR_KEY_DATA) &&
1048 u16 ver = key_info
1429 __wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr, int force_version) argument
1645 wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr) argument
1687 u16 key_info; local
[all...]
H A Dwpa_auth_i.h277 struct wpa_state_machine *sm, int key_info,
/freebsd-11-stable/contrib/telnet/libtelnet/
H A Dencrypt.c170 static struct key_info { struct
181 static void encrypt_keyid(struct key_info *kp, unsigned char *keyid, int len);
714 encrypt_keyid(struct key_info *kp, unsigned char *keyid, int len)
765 struct key_info *kp = &ki[(dir == DIR_ENCRYPT) ? 0 : 1];
/freebsd-11-stable/crypto/heimdal/appl/telnet/libtelnet/
H A Dencrypt.c166 static struct key_info { struct
733 encrypt_keyid(struct key_info *kp, unsigned char *keyid, int len)
793 struct key_info *kp = &ki[(dir == DIR_ENCRYPT) ? 0 : 1];
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dibss_rsn.c719 u16 key_info; local
752 key_info = WPA_GET_BE16(key->key_info);
754 return !!(key_info & WPA_KEY_INFO_ACK);
/freebsd-11-stable/contrib/wpa/src/common/
H A Dwpa_common.h186 /* Note: key_info, key_length, and key_data_length are unaligned */
187 u8 key_info[2]; /* big endian */ member in struct:wpa_eapol_key

Completed in 125 milliseconds