Lines Matching refs:alg
388 #define PSA_ALG_IS_DSA(alg) \
389 (((alg) & ~PSA_ALG_HASH_MASK & ~PSA_ALG_DSA_DETERMINISTIC_FLAG) == \
391 #define PSA_ALG_DSA_IS_DETERMINISTIC(alg) \
392 (((alg) & PSA_ALG_DSA_DETERMINISTIC_FLAG) != 0)
393 #define PSA_ALG_IS_DETERMINISTIC_DSA(alg) \
394 (PSA_ALG_IS_DSA(alg) && PSA_ALG_DSA_IS_DETERMINISTIC(alg))
395 #define PSA_ALG_IS_RANDOMIZED_DSA(alg) \
396 (PSA_ALG_IS_DSA(alg) && !PSA_ALG_DSA_IS_DETERMINISTIC(alg))
402 #define PSA_ALG_IS_VENDOR_HASH_AND_SIGN(alg) \
403 PSA_ALG_IS_DSA(alg)
576 * \param alg An algorithm identifier (value of type #psa_algorithm_t).
578 * \return 1 if \p alg is a password-authenticated key exchange (PAKE)
580 * This macro may return either 0 or 1 if \p alg is not a supported
583 #define PSA_ALG_IS_PAKE(alg) \
584 (((alg) & PSA_ALG_CATEGORY_MASK) == PSA_ALG_CATEGORY_PAKE)
937 * such that #PSA_ALG_IS_PAKE(\c alg) is true.)
1000 * values of type ::psa_algorithm_t such that #PSA_ALG_IS_PAKE(\c alg) is true)
1006 * such that #PSA_ALG_IS_HASH(\c alg) is true.)
1176 * values of type ::psa_algorithm_t such that #PSA_ALG_IS_PAKE(\c alg) is true)
1190 * values of type ::psa_algorithm_t such that #PSA_ALG_IS_PAKE(\c alg) is true)
1290 * values of type ::psa_algorithm_t such that #PSA_ALG_IS_PAKE(\c alg) is true)
1331 * values of type ::psa_algorithm_t such that #PSA_ALG_IS_PAKE(\c alg) is true)
1373 * values of type ::psa_algorithm_t such that #PSA_ALG_IS_PAKE(\c alg) is true)
1414 * ::psa_algorithm_t such that #PSA_ALG_IS_PAKE(\c alg) is true) for more
1429 * be at least #PSA_PAKE_OUTPUT_SIZE(\c alg, \c
1430 * primitive, \p output_step) where \c alg and
1475 * ::psa_algorithm_t such that #PSA_ALG_IS_PAKE(\c alg) is true) for more
1541 * ::psa_algorithm_t such that #PSA_ALG_IS_PAKE(\c alg) is true) for more
1618 * \param alg A PAKE algorithm (\c PSA_ALG_XXX value such that
1619 * #PSA_ALG_IS_PAKE(\p alg) is true).
1621 * compatible with algorithm \p alg.
1623 * algorithm \p alg.
1630 #define PSA_PAKE_OUTPUT_SIZE(alg, primitive, output_step) \
1631 (alg == PSA_ALG_JPAKE && \
1649 * \param alg A PAKE algorithm (\c PSA_ALG_XXX value such that
1650 * #PSA_ALG_IS_PAKE(\p alg) is true).
1652 * compatible with algorithm \p alg.
1654 * algorithm \p alg.
1660 #define PSA_PAKE_INPUT_SIZE(alg, primitive, input_step) \
1661 (alg == PSA_ALG_JPAKE && \
1679 * See also #PSA_PAKE_OUTPUT_SIZE(\p alg, \p primitive, \p output_step).
1691 * See also #PSA_PAKE_INPUT_SIZE(\p alg, \p primitive, \p output_step).
1847 psa_algorithm_t MBEDTLS_PRIVATE(alg);