Lines Matching refs:hash
692 struct crypto_hash *hash = NULL; in eap_pwd_perform_confirm_exchange() local
737 hash = eap_pwd_h_init(); in eap_pwd_perform_confirm_exchange()
738 if (hash == NULL) in eap_pwd_perform_confirm_exchange()
746 eap_pwd_h_update(hash, cruft, prime_len); in eap_pwd_perform_confirm_exchange()
755 eap_pwd_h_update(hash, cruft, prime_len * 2); in eap_pwd_perform_confirm_exchange()
759 eap_pwd_h_update(hash, cruft, order_len); in eap_pwd_perform_confirm_exchange()
768 eap_pwd_h_update(hash, cruft, prime_len * 2); in eap_pwd_perform_confirm_exchange()
772 eap_pwd_h_update(hash, cruft, order_len); in eap_pwd_perform_confirm_exchange()
775 eap_pwd_h_update(hash, (u8 *) &cs, sizeof(u32)); in eap_pwd_perform_confirm_exchange()
778 eap_pwd_h_final(hash, conf); in eap_pwd_perform_confirm_exchange()
779 hash = NULL; in eap_pwd_perform_confirm_exchange()
794 hash = eap_pwd_h_init(); in eap_pwd_perform_confirm_exchange()
795 if (hash == NULL) in eap_pwd_perform_confirm_exchange()
800 eap_pwd_h_update(hash, cruft, prime_len); in eap_pwd_perform_confirm_exchange()
809 eap_pwd_h_update(hash, cruft, prime_len * 2); in eap_pwd_perform_confirm_exchange()
813 eap_pwd_h_update(hash, cruft, order_len); in eap_pwd_perform_confirm_exchange()
822 eap_pwd_h_update(hash, cruft, prime_len * 2); in eap_pwd_perform_confirm_exchange()
826 eap_pwd_h_update(hash, cruft, order_len); in eap_pwd_perform_confirm_exchange()
829 eap_pwd_h_update(hash, (u8 *) &cs, sizeof(u32)); in eap_pwd_perform_confirm_exchange()
832 eap_pwd_h_final(hash, conf); in eap_pwd_perform_confirm_exchange()
833 hash = NULL; in eap_pwd_perform_confirm_exchange()
860 if (hash) in eap_pwd_perform_confirm_exchange()
861 eap_pwd_h_final(hash, conf); in eap_pwd_perform_confirm_exchange()