Home
last modified time | relevance | path

Searched refs:algo (Results 1 – 5 of 5) sorted by relevance

/hostap-latest/src/crypto/
Dcrypto_gnutls.c20 static int gnutls_digest_vector(int algo, size_t num_elem, in gnutls_digest_vector() argument
30 if (gcry_md_open(&hd, algo, 0) != GPG_ERR_NO_ERROR) in gnutls_digest_vector()
34 p = gcry_md_read(hd, algo); in gnutls_digest_vector()
36 memcpy(mac, p, gcry_md_get_algo_dlen(algo)); in gnutls_digest_vector()
101 static int gnutls_hmac_vector(int algo, const u8 *key, size_t key_len, in gnutls_hmac_vector() argument
112 if (gcry_md_open(&hd, algo, GCRY_MD_FLAG_HMAC) != GPG_ERR_NO_ERROR) in gnutls_hmac_vector()
120 p = gcry_md_read(hd, algo); in gnutls_hmac_vector()
122 memcpy(mac, p, gcry_md_get_algo_dlen(algo)); in gnutls_hmac_vector()
Dcrypto.h1293 enum crypto_hash_alg algo);
Dcrypto_mbedtls_alt.c3194 …abuf *crypto_csr_sign(struct crypto_csr *csr, struct crypto_ec_key *key, enum crypto_hash_alg algo) in crypto_csr_sign() argument
3197 switch (algo) in crypto_csr_sign()
Dcrypto_wolfssl.c3440 enum crypto_hash_alg algo) in crypto_csr_sign() argument
3463 switch (algo) { in crypto_csr_sign()
Dcrypto_openssl.c4403 enum crypto_hash_alg algo) in crypto_csr_sign() argument
4410 switch (algo) { in crypto_csr_sign()