Lines Matching refs:cipher_suite
1177 const psa_pake_cipher_suite_t *cipher_suite);
1191 static void psa_pake_cs_set_algorithm(psa_pake_cipher_suite_t *cipher_suite,
1201 const psa_pake_cipher_suite_t *cipher_suite);
1212 static void psa_pake_cs_set_primitive(psa_pake_cipher_suite_t *cipher_suite,
1222 const psa_pake_cipher_suite_t *cipher_suite);
1231 const psa_pake_cipher_suite_t *cipher_suite);
1242 const psa_pake_cipher_suite_t *cipher_suite);
1260 static void psa_pake_cs_set_hash(psa_pake_cipher_suite_t *cipher_suite,
1423 psa_pake_cipher_suite_t *cipher_suite);
1496 const psa_pake_cipher_suite_t *cipher_suite);
1975 const psa_pake_cipher_suite_t *cipher_suite) in psa_pake_cs_get_algorithm() argument
1977 return cipher_suite->algorithm; in psa_pake_cs_get_algorithm()
1981 psa_pake_cipher_suite_t *cipher_suite, in psa_pake_cs_set_algorithm() argument
1985 cipher_suite->algorithm = 0; in psa_pake_cs_set_algorithm()
1987 cipher_suite->algorithm = algorithm; in psa_pake_cs_set_algorithm()
1992 const psa_pake_cipher_suite_t *cipher_suite) in psa_pake_cs_get_primitive() argument
1994 return PSA_PAKE_PRIMITIVE(cipher_suite->type, cipher_suite->family, in psa_pake_cs_get_primitive()
1995 cipher_suite->bits); in psa_pake_cs_get_primitive()
1999 psa_pake_cipher_suite_t *cipher_suite, in psa_pake_cs_set_primitive() argument
2002 cipher_suite->type = (psa_pake_primitive_type_t) (primitive >> 24); in psa_pake_cs_set_primitive()
2003 cipher_suite->family = (psa_pake_family_t) (0xFF & (primitive >> 16)); in psa_pake_cs_set_primitive()
2004 cipher_suite->bits = (uint16_t) (0xFFFF & primitive); in psa_pake_cs_set_primitive()
2008 const psa_pake_cipher_suite_t *cipher_suite) in psa_pake_cs_get_family() argument
2010 return cipher_suite->family; in psa_pake_cs_get_family()
2014 const psa_pake_cipher_suite_t *cipher_suite) in psa_pake_cs_get_bits() argument
2016 return cipher_suite->bits; in psa_pake_cs_get_bits()
2020 const psa_pake_cipher_suite_t *cipher_suite) in psa_pake_cs_get_hash() argument
2022 return cipher_suite->hash; in psa_pake_cs_get_hash()
2025 static inline void psa_pake_cs_set_hash(psa_pake_cipher_suite_t *cipher_suite, in psa_pake_cs_set_hash() argument
2029 cipher_suite->hash = 0; in psa_pake_cs_set_hash()
2031 cipher_suite->hash = hash; in psa_pake_cs_set_hash()
2044 psa_pake_cipher_suite_t MBEDTLS_PRIVATE(cipher_suite);