Searched refs:hash_map (Results 1 – 2 of 2) sorted by relevance
52 static const int hash_map[QCRYPTO_HASH_ALGO__MAX] = { in qcrypto_pbkdf2() local73 if (hash >= G_N_ELEMENTS(hash_map) || in qcrypto_pbkdf2()74 hash_map[hash] == GCRY_MD_NONE) { in qcrypto_pbkdf2()82 hash_map[hash], in qcrypto_pbkdf2()
49 static const int hash_map[QCRYPTO_HASH_ALGO__MAX] = { in qcrypto_pbkdf2() local69 if (hash >= G_N_ELEMENTS(hash_map) || in qcrypto_pbkdf2()70 hash_map[hash] == GNUTLS_DIG_UNKNOWN) { in qcrypto_pbkdf2()77 ret = gnutls_pbkdf2(hash_map[hash], in qcrypto_pbkdf2()