Lines Matching refs:alg
405 int qdf_get_keyed_hash(const char *alg, const uint8_t *key, in qdf_get_keyed_hash() argument
413 tfm = crypto_alloc_shash(alg, 0, CRYPTO_ALG_ASYNC); in qdf_get_keyed_hash()
417 alg, PTR_ERR(tfm)); in qdf_get_keyed_hash()
426 alg, -ret); in qdf_get_keyed_hash()
440 alg, -ret); in qdf_get_keyed_hash()
450 alg, -ret); in qdf_get_keyed_hash()
459 alg, -ret); in qdf_get_keyed_hash()
474 const char *alg = "cmac(aes)"; in qdf_aes_s2v() local
488 ret = qdf_get_keyed_hash(alg, key, key_len, a, &buf_len, 1, in qdf_aes_s2v()
495 ret = qdf_get_keyed_hash(alg, key, key_len, a, &buf_len, 1, d); in qdf_aes_s2v()
502 ret = qdf_get_keyed_hash(alg, key, key_len, &s[i], &s_len[i], 1, in qdf_aes_s2v()
532 ret = qdf_get_keyed_hash(alg, key, key_len, a, &t_len, 1, out); in qdf_aes_s2v()