Searched refs:algo (Results 1 – 5 of 5) sorted by relevance
/hostap-latest/src/crypto/ |
D | crypto_gnutls.c | 20 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()
|
D | crypto.h | 1293 enum crypto_hash_alg algo);
|
D | crypto_mbedtls_alt.c | 3194 …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()
|
D | crypto_wolfssl.c | 3440 enum crypto_hash_alg algo) in crypto_csr_sign() argument 3463 switch (algo) { in crypto_csr_sign()
|
D | crypto_openssl.c | 4403 enum crypto_hash_alg algo) in crypto_csr_sign() argument 4410 switch (algo) { in crypto_csr_sign()
|