Searched refs:K_bin (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/etc/uams/
H A Duams_dhx2_passwd.c354 unsigned char *K_bin = NULL; local
384 K_bin = calloc(1, PRIMEBITS/8);
385 if (K_bin == NULL) {
389 gcry_mpi_print(GCRYMPI_FMT_USG, K_bin, PRIMEBITS/8, &nwritten, K);
391 memmove(K_bin + PRIMEBITS/8 - nwritten, K_bin, nwritten);
392 memset(K_bin, 0, PRIMEBITS/8 - nwritten);
399 free(K_bin);
400 K_bin = NULL;
403 gcry_md_hash_buffer(GCRY_MD_MD5, K_MD5hash, K_bin, PRIMEBIT
[all...]
H A Duams_dhx2_pam.c402 unsigned char *K_bin = NULL; local
432 K_bin = calloc(1, PRIMEBITS/8);
433 if (K_bin == NULL) {
437 gcry_mpi_print(GCRYMPI_FMT_USG, K_bin, PRIMEBITS/8, &nwritten, K);
439 memmove(K_bin + PRIMEBITS/8 - nwritten, K_bin, nwritten);
440 memset(K_bin, 0, PRIMEBITS/8 - nwritten);
449 gcry_md_hash_buffer(GCRY_MD_MD5, K_MD5hash, K_bin, PRIMEBITS/8);
450 free(K_bin);
451 K_bin
[all...]

Completed in 112 milliseconds