Home
last modified time | relevance | path

Searched refs:hash_map (Results 1 – 2 of 2) sorted by relevance

/qemu/crypto/
H A Dpbkdf-gcrypt.c52 static const int hash_map[QCRYPTO_HASH_ALGO__MAX] = { in qcrypto_pbkdf2() local
73 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()
H A Dpbkdf-gnutls.c49 static const int hash_map[QCRYPTO_HASH_ALGO__MAX] = { in qcrypto_pbkdf2() local
69 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()