Lines Matching refs:u8
19 u8 allzero[SHA256_MAC_LEN];
26 void eap_pwd_h_update(struct crypto_hash *hash, const u8 *data, size_t len)
32 void eap_pwd_h_final(struct crypto_hash *hash, u8 *digest)
40 static int eap_pwd_kdf(const u8 *key, size_t keylen, const u8 *label,
41 size_t labellen, u8 *result, size_t resultbitlen)
44 u8 digest[SHA256_MAC_LEN];
60 crypto_hash_update(hash, (u8 *) &i, sizeof(u16));
62 crypto_hash_update(hash, (u8 *) &L, sizeof(u16));
75 u8 mask = 0xff;
89 const u8 *password, size_t password_len,
90 const u8 *id_server, size_t id_server_len,
91 const u8 *id_peer, size_t id_peer_len,
92 const u8 *token)
193 (u8 *) "EAP-pwd Hunting And Pecking",
289 const u8 *confirm_peer, const u8 *confirm_server,
290 const u32 *ciphersuite, u8 *msk, u8 *emsk, u8 *session_id)
293 u8 mk[SHA256_MAC_LEN], *cruft;
294 u8 msk_emsk[EAP_MSK_LEN + EAP_EMSK_LEN];
310 eap_pwd_h_update(hash, (const u8 *) ciphersuite, sizeof(u32));