Lines Matching refs:algo
79 QCryptoHashAlgo algo; member
137 return hash_algo_map[i].algo; in hash_algo_lookup()
354 static void hash_execute_non_acc_mode(AspeedHACEState *s, int algo, in hash_execute_non_acc_mode() argument
361 if (qcrypto_hash_bytesv(algo, iov, iov_idx, &digest_buf, in hash_execute_non_acc_mode()
373 static void hash_execute_acc_mode(AspeedHACEState *s, int algo, in hash_execute_acc_mode() argument
384 s->hash_ctx = qcrypto_hash_new(algo, &local_err); in hash_execute_acc_mode()
419 static void do_hash_operation(AspeedHACEState *s, int algo, bool sg_mode, in do_hash_operation() argument
446 hash_execute_acc_mode(s, algo, iov, iov_idx, acc_final_request); in do_hash_operation()
448 hash_execute_non_acc_mode(s, algo, iov, iov_idx); in do_hash_operation()
505 int algo; in aspeed_hace_write() local
518 algo = hash_algo_lookup(data); in aspeed_hace_write()
519 if (algo < 0) { in aspeed_hace_write()
524 do_hash_operation(s, algo, data & HASH_SG_EN, in aspeed_hace_write()