Home
last modified time | relevance | path

Searched refs:role (Results 1 – 14 of 14) sorted by relevance

/mbedtls-3.6.0/library/
Dpsa_crypto_pake.c135 operation->role, in psa_pake_ecjpake_setup()
242 operation->role = MBEDTLS_ECJPAKE_CLIENT; in mbedtls_psa_pake_setup()
246 operation->role = MBEDTLS_ECJPAKE_SERVER; in mbedtls_psa_pake_setup()
348 operation->role == MBEDTLS_ECJPAKE_SERVER) { in mbedtls_psa_pake_output_internal()
439 operation->role == MBEDTLS_ECJPAKE_CLIENT) { in mbedtls_psa_pake_input_internal()
556 operation->role = MBEDTLS_ECJPAKE_NONE; in mbedtls_psa_pake_abort()
Decjpake.c33 #define ID_MINE (ecjpake_id[ctx->role])
34 #define ID_PEER (ecjpake_id[1 - ctx->role])
94 mbedtls_ecjpake_role role, in mbedtls_ecjpake_setup() argument
102 if (role != MBEDTLS_ECJPAKE_CLIENT && role != MBEDTLS_ECJPAKE_SERVER) { in mbedtls_ecjpake_setup()
106 ctx->role = role; in mbedtls_ecjpake_setup()
594 if (ctx->role == MBEDTLS_ECJPAKE_CLIENT) { in mbedtls_ecjpake_read_round_two()
690 if (ctx->role == MBEDTLS_ECJPAKE_SERVER) { in mbedtls_ecjpake_write_round_two()
Dssl_tls.c2056 mbedtls_ecjpake_role role; in mbedtls_ssl_set_hs_ecjpake_password() local
2068 role = MBEDTLS_ECJPAKE_SERVER; in mbedtls_ssl_set_hs_ecjpake_password()
2070 role = MBEDTLS_ECJPAKE_CLIENT; in mbedtls_ssl_set_hs_ecjpake_password()
2074 role, in mbedtls_ssl_set_hs_ecjpake_password()
Dpsa_crypto.c7871 psa_pake_role_t role) argument
7883 if (role == PSA_PAKE_ROLE_NONE) {
7890 (void) role;
/mbedtls-3.6.0/include/mbedtls/
Decjpake.h63 mbedtls_ecjpake_role MBEDTLS_PRIVATE(role); /**< Are we client or server? */
112 mbedtls_ecjpake_role role,
/mbedtls-3.6.0/include/psa/
Dcrypto_builtin_composites.h193 mbedtls_ecjpake_role MBEDTLS_PRIVATE(role);
Dcrypto_extra.h1546 psa_pake_role_t role);
/mbedtls-3.6.0/tests/suites/
Dtest_suite_ecjpake.function164 void read_round_one(int role, data_t *msg, int ref_ret)
174 TEST_ASSERT(mbedtls_ecjpake_setup(&ctx, role,
Dtest_suite_ecjpake.data16 ECJPAKE round one: role mismatch
Dtest_suite_psa_crypto_pake.data29 PSA PAKE: ecjpake setup role
Dtest_suite_psa_crypto.function40 psa_pake_role_t role,
48 PSA_ASSERT(psa_pake_set_role(operation, role));
9909 psa_pake_role_t role = role_arg;
9948 TEST_EQUAL(psa_pake_set_role(&operation, role),
9973 status = psa_pake_set_role(&operation, role);
/mbedtls-3.6.0/docs/architecture/psa-migration/
Dstrategy.md376 The role of the PK/Cipher/MD APIs in user migration
/mbedtls-3.6.0/docs/proposed/
Dpsa-driver-interface.md592 … inputs are available for drivers via get-data functions for `password`, `role` and `cipher_suite`.
/mbedtls-3.6.0/
DChangeLog487 instead of role in PAKE PSA Crypto API as described in the specification.