HomeSort by relevance Sort by last modified time
    Searched defs:cruft (Results 1 - 3 of 3) sorted by null

  /external/wpa_supplicant_8/src/eap_common/
eap_pwd_common.c 313 u8 mk[SHA256_MAC_LEN], *cruft; local
317 if ((cruft = os_malloc(BN_num_bytes(grp->prime))) == NULL)
327 os_free(cruft);
332 os_memset(cruft, 0, BN_num_bytes(grp->prime));
333 BN_bn2bin(peer_scalar, cruft + offset);
334 eap_pwd_h_update(hash, cruft, BN_num_bytes(grp->order));
336 os_memset(cruft, 0, BN_num_bytes(grp->prime));
337 BN_bn2bin(server_scalar, cruft + offset);
338 eap_pwd_h_update(hash, cruft, BN_num_bytes(grp->order));
344 os_free(cruft);
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
eap_pwd.c 578 u8 conf[SHA256_MAC_LEN], *cruft = NULL, *ptr; local
605 /* each component of the cruft will be at most as big as the prime */
606 if (((cruft = os_malloc(BN_num_bytes(data->grp->prime))) == NULL) ||
625 os_memset(cruft, 0, BN_num_bytes(data->grp->prime));
627 BN_bn2bin(data->k, cruft + offset);
628 eap_pwd_h_update(hash, cruft, BN_num_bytes(data->grp->prime));
638 os_memset(cruft, 0, BN_num_bytes(data->grp->prime));
640 BN_bn2bin(x, cruft + offset);
641 eap_pwd_h_update(hash, cruft, BN_num_bytes(data->grp->prime));
642 os_memset(cruft, 0, BN_num_bytes(data->grp->prime))
    [all...]
  /external/wpa_supplicant_8/src/eap_server/
eap_server_pwd.c 310 u8 conf[SHA256_MAC_LEN], *cruft = NULL, *ptr; local
322 /* Each component of the cruft will be at most as big as the prime */
323 if (((cruft = os_malloc(BN_num_bytes(data->grp->prime))) == NULL) ||
344 os_memset(cruft, 0, BN_num_bytes(data->grp->prime));
346 BN_bn2bin(data->k, cruft + offset);
347 eap_pwd_h_update(hash, cruft, BN_num_bytes(data->grp->prime));
358 os_memset(cruft, 0, BN_num_bytes(data->grp->prime));
360 BN_bn2bin(x, cruft + offset);
361 eap_pwd_h_update(hash, cruft, BN_num_bytes(data->grp->prime));
362 os_memset(cruft, 0, BN_num_bytes(data->grp->prime))
791 u8 conf[SHA256_MAC_LEN], *cruft = NULL, *ptr; local
    [all...]

Completed in 198 milliseconds