Lines Matching full:algorithm
39 /** \brief Declare the enrollment algorithm for a key.
41 * An operation on a key may indifferently use the algorithm set with
45 * \param alg2 A second algorithm that the key may be used
46 * for, in addition to the algorithm set with
49 * \warning Setting an enrollment algorithm is not recommended, because
65 /** Retrieve the enrollment algorithm policy from key attributes.
69 * \return The enrollment algorithm stored in the attribute structure.
359 * \param hash_alg A hash algorithm (\c PSA_ALG_XXX value such that
362 * when specifying the algorithm in a usage policy.
364 * \return The corresponding DSA signature algorithm.
366 * hash algorithm.
377 * \param hash_alg A hash algorithm (\c PSA_ALG_XXX value such that
380 * when specifying the algorithm in a usage policy.
382 * \return The corresponding DSA signature algorithm.
384 * hash algorithm.
574 /** Whether the specified algorithm is a password-authenticated key exchange.
576 * \param alg An algorithm identifier (value of type #psa_algorithm_t).
579 * algorithm, 0 otherwise.
581 * algorithm identifier.
586 /** The Password-authenticated key exchange by juggling (J-PAKE) algorithm.
593 * J-PAKE algorithm.
719 * Encodes the application's role in the algorithm is being executed. For more
756 /** A value to indicate no role in a PAKE algorithm.
765 * ordering of peers for the transcript calculations. If the algorithm does not
774 * ordering of peers for the transcript calculations. If the algorithm does not
920 /** Retrieve the PAKE algorithm from a PAKE cipher suite.
924 * \return The PAKE algorithm stored in the cipher suite structure.
929 /** Declare the PAKE algorithm for the cipher suite.
931 * This function overwrites any PAKE algorithm
935 * \param algorithm The PAKE algorithm to write.
938 * If this is 0, the PAKE algorithm in
942 psa_algorithm_t algorithm);
983 /** Retrieve the hash algorithm from a PAKE cipher suite.
987 * \return The hash algorithm stored in the cipher suite structure. The return
988 * value is 0 if the PAKE is not parametrised by a hash algorithm or if
989 * the hash algorithm is not set.
994 /** Declare the hash algorithm for a PAKE cipher suite.
996 * This function overwrites any hash algorithm
999 * Refer to the documentation of individual PAKE algorithm types (`PSA_ALG_XXX`
1007 * If this is 0, the hash algorithm in
1173 * to be called depends on the algorithm in use.
1175 * Refer to the documentation of individual PAKE algorithm types (`PSA_ALG_XXX`
1185 * -# Depending on the algorithm additional calls to psa_pake_output() and
1189 * Refer to the documentation of individual PAKE algorithm types (`PSA_ALG_XXX`
1207 * characterizes a PAKE algorithm and determines
1208 * the algorithm as well.)
1213 * The algorithm in \p cipher_suite is not a PAKE algorithm, or the
1215 * PAKE algorithm, or the hash algorithm in \p cipher_suite is invalid
1216 * or not compatible with the PAKE algorithm and primitive.
1218 * The algorithm in \p cipher_suite is not a supported PAKE algorithm,
1220 * compatible with the PAKE algorithm, or the hash algorithm in
1222 * algorithm and primitive.
1260 * permit the \p operation's algorithm.
1289 * Refer to the documentation of individual PAKE algorithm types (`PSA_ALG_XXX`
1306 * \p user_id is not valid for the \p operation's algorithm and cipher
1330 * Refer to the documentation of individual PAKE algorithm types (`PSA_ALG_XXX`
1347 * \p peer_id is not valid for the \p operation's algorithm and cipher
1350 * The algorithm doesn't associate a second identity with the session.
1356 * algorithm, the operation state is not valid, or the library has not
1372 * Refer to the documentation of individual PAKE algorithm types (`PSA_ALG_XXX`
1384 * application's role in the PAKE the algorithm
1392 * The \p role is not a valid PAKE role in the \p operation��s algorithm.
1394 * The \p role for this algorithm is not supported or is not valid.
1408 * Depending on the algorithm being executed, you might need to call this
1412 * exchange depends on the algorithm in use. Refer to the documentation of
1413 * individual PAKE algorithm types (`PSA_ALG_XXX` values of type
1421 * \param step The step of the algorithm for which the output is
1431 * \p primitive are the PAKE algorithm and primitive
1443 * \p step is not compatible with the operation's algorithm.
1445 * \p step is not supported with the operation's algorithm.
1455 * up, and this call must conform to the algorithm's requirements
1469 * Depending on the algorithm being executed, you might need to call this
1473 * exchange depends on the algorithm in use. Refer to the documentation of
1474 * individual PAKE algorithm types (`PSA_ALG_XXX` values of type
1495 * \p input_length is not compatible with the \p operation��s algorithm,
1496 * or the \p input is not valid for the \p operation's algorithm,
1499 * \p step p is not supported with the \p operation's algorithm, or the
1500 * \p input is not supported for the \p operation's algorithm, cipher
1510 * up, and this call must conform to the algorithm's requirements
1539 * exchange depends on the algorithm in use. Refer to the documentation of
1540 * individual PAKE algorithm types (`PSA_ALG_XXX` values of type
1558 * algorithm in the \p output key derivation operation.
1560 * Input from a PAKE is not supported by the algorithm in the \p output
1570 * that validity is specific to the algorithm), or
1618 * \param alg A PAKE algorithm (\c PSA_ALG_XXX value such that
1621 * compatible with algorithm \p alg.
1623 * algorithm \p alg.
1625 * PAKE algorithm, primitive, and output step. If the
1626 * PAKE algorithm, primitive, or output step is not
1649 * \param alg A PAKE algorithm (\c PSA_ALG_XXX value such that
1652 * compatible with algorithm \p alg.
1654 * algorithm \p alg.
1656 * input, cipher suite and algorithm. If the cipher suite,
1657 * the input type or PAKE algorithm is not recognized, or
1672 * algorithm and primitive suites and output step.
1684 * algorithm and primitive suites and input step.
1711 psa_algorithm_t algorithm; member
1721 return cipher_suite->algorithm; in psa_pake_cs_get_algorithm()
1726 psa_algorithm_t algorithm) in psa_pake_cs_set_algorithm() argument
1728 if (!PSA_ALG_IS_PAKE(algorithm)) { in psa_pake_cs_set_algorithm()
1729 cipher_suite->algorithm = 0; in psa_pake_cs_set_algorithm()
1731 cipher_suite->algorithm = algorithm; in psa_pake_cs_set_algorithm()
1846 /* Algorithm of the PAKE operation */
1848 /* A primitive of type compatible with algorithm */