Lines Matching defs:hash
359 * \param hash_alg A hash algorithm (\c PSA_ALG_XXX value such that
366 * hash algorithm.
377 * \param hash_alg A hash algorithm (\c PSA_ALG_XXX value such that
384 * hash algorithm.
594 * - A cryptographic hash function.
603 * psa_pake_cs_set_hash(cipher_suite, hash);
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
1004 * \param hash The hash involved in the cipher suite.
1007 * If this is 0, the hash algorithm in
1011 psa_algorithm_t hash);
1215 * PAKE algorithm, or the hash algorithm in \p cipher_suite is invalid
1220 * compatible with the PAKE algorithm, or the hash algorithm in
1715 psa_algorithm_t hash;
1766 return cipher_suite->hash;
1770 psa_algorithm_t hash)
1772 if (!PSA_ALG_IS_HASH(hash)) {
1773 cipher_suite->hash = 0;
1775 cipher_suite->hash = hash;