Lines Matching refs:algo
52 enum hash_algo algo; member
70 (((struct mtls_shim_session *)c->drv_sessn_state)->algo)
316 enum cipher_algo algo, enum cipher_mode mode, in mtls_session_setup() argument
332 if (algo != CRYPTO_CIPHER_ALGO_AES) { in mtls_session_setup()
538 enum hash_algo algo) in mtls_hash_session_setup() argument
547 if ((algo != CRYPTO_HASH_ALGO_SHA224) && in mtls_hash_session_setup()
548 (algo != CRYPTO_HASH_ALGO_SHA256) && in mtls_hash_session_setup()
549 (algo != CRYPTO_HASH_ALGO_SHA384) && in mtls_hash_session_setup()
550 (algo != CRYPTO_HASH_ALGO_SHA512)) { in mtls_hash_session_setup()
551 LOG_ERR("Unsupported algo: %d", algo); in mtls_hash_session_setup()
561 mtls_sessions[ctx_idx].algo = algo; in mtls_hash_session_setup()
565 if ((algo == CRYPTO_HASH_ALGO_SHA224) || in mtls_hash_session_setup()
566 (algo == CRYPTO_HASH_ALGO_SHA256)) { in mtls_hash_session_setup()
586 if (mtls_session->algo == CRYPTO_HASH_ALGO_SHA256) { in mtls_hash_session_free()