Searched refs:qcrypto_hash_alg_map (Results 1 – 4 of 4) sorted by relevance
52 } qcrypto_hash_alg_map[] = { variable99 if (alg < G_N_ELEMENTS(qcrypto_hash_alg_map) && in qcrypto_hash_supports()100 qcrypto_hash_alg_map[alg].init != NULL) { in qcrypto_hash_supports()125 qcrypto_hash_alg_map[alg].init(&ctx); in qcrypto_nettle_hash_bytesv()137 qcrypto_hash_alg_map[alg].write(&ctx, len, base); in qcrypto_nettle_hash_bytesv()144 *resultlen = qcrypto_hash_alg_map[alg].len; in qcrypto_nettle_hash_bytesv()146 } else if (*resultlen != qcrypto_hash_alg_map[alg].len) { in qcrypto_nettle_hash_bytesv()149 *resultlen, qcrypto_hash_alg_map[alg].len); in qcrypto_nettle_hash_bytesv()153 qcrypto_hash_alg_map[alg].result(&ctx, *resultlen, *result); in qcrypto_nettle_hash_bytesv()
28 static int qcrypto_hash_alg_map[QCRYPTO_HASH_ALG__MAX] = { variable42 if (alg >= G_N_ELEMENTS(qcrypto_hash_alg_map) || in qcrypto_hash_supports()43 qcrypto_hash_alg_map[alg] == GNUTLS_DIG_UNKNOWN) { in qcrypto_hash_supports()48 if (algs[i] == qcrypto_hash_alg_map[alg]) { in qcrypto_hash_supports()74 ret = gnutls_hash_get_len(qcrypto_hash_alg_map[alg]); in qcrypto_gnutls_hash_bytesv()85 ret = gnutls_hash_init(&hash, qcrypto_hash_alg_map[alg]); in qcrypto_gnutls_hash_bytesv()
27 static int qcrypto_hash_alg_map[QCRYPTO_HASH_ALG__MAX] = { variable39 if (alg < G_N_ELEMENTS(qcrypto_hash_alg_map) && in qcrypto_hash_supports()40 qcrypto_hash_alg_map[alg] != -1) { in qcrypto_hash_supports()65 cs = g_checksum_new(qcrypto_hash_alg_map[alg]); in qcrypto_glib_hash_bytesv()71 ret = g_checksum_type_get_length(qcrypto_hash_alg_map[alg]); in qcrypto_glib_hash_bytesv()
28 static int qcrypto_hash_alg_map[QCRYPTO_HASH_ALG__MAX] = { variable40 if (alg < G_N_ELEMENTS(qcrypto_hash_alg_map) && in qcrypto_hash_supports()41 qcrypto_hash_alg_map[alg] != GCRY_MD_NONE) { in qcrypto_hash_supports()67 ret = gcry_md_open(&md, qcrypto_hash_alg_map[alg], 0); in qcrypto_gcrypt_hash_bytesv()80 ret = gcry_md_get_algo_dlen(qcrypto_hash_alg_map[alg]); in qcrypto_gcrypt_hash_bytesv()