• Home
  • Raw
  • Download

Lines Matching refs:MBEDTLS_PRIVATE

90     unsigned int MBEDTLS_PRIVATE(id);
91 psa_driver_hash_context_t MBEDTLS_PRIVATE(ctx);
109 unsigned int MBEDTLS_PRIVATE(id);
111 unsigned int MBEDTLS_PRIVATE(iv_required) : 1;
112 unsigned int MBEDTLS_PRIVATE(iv_set) : 1;
114 uint8_t MBEDTLS_PRIVATE(default_iv_length);
116 psa_driver_cipher_context_t MBEDTLS_PRIVATE(ctx);
138 unsigned int MBEDTLS_PRIVATE(id);
139 uint8_t MBEDTLS_PRIVATE(mac_size);
140 unsigned int MBEDTLS_PRIVATE(is_sign) : 1;
141 psa_driver_mac_context_t MBEDTLS_PRIVATE(ctx);
160 unsigned int MBEDTLS_PRIVATE(id);
162 psa_algorithm_t MBEDTLS_PRIVATE(alg);
163 psa_key_type_t MBEDTLS_PRIVATE(key_type);
165 size_t MBEDTLS_PRIVATE(ad_remaining);
166 size_t MBEDTLS_PRIVATE(body_remaining);
168 unsigned int MBEDTLS_PRIVATE(nonce_set) : 1;
169 unsigned int MBEDTLS_PRIVATE(lengths_set) : 1;
170 unsigned int MBEDTLS_PRIVATE(ad_started) : 1;
171 unsigned int MBEDTLS_PRIVATE(body_started) : 1;
172 unsigned int MBEDTLS_PRIVATE(is_encrypt) : 1;
174 psa_driver_aead_context_t MBEDTLS_PRIVATE(ctx);
187 uint8_t *MBEDTLS_PRIVATE(info);
188 size_t MBEDTLS_PRIVATE(info_length);
192 uint8_t MBEDTLS_PRIVATE(offset_in_block);
193 uint8_t MBEDTLS_PRIVATE(block_number);
194 unsigned int MBEDTLS_PRIVATE(state) : 2;
195 unsigned int MBEDTLS_PRIVATE(info_set) : 1;
196 uint8_t MBEDTLS_PRIVATE(output_block)[PSA_HASH_MAX_SIZE];
197 uint8_t MBEDTLS_PRIVATE(prk)[PSA_HASH_MAX_SIZE];
198 struct psa_mac_operation_s MBEDTLS_PRIVATE(hmac);
221 uint8_t MBEDTLS_PRIVATE(left_in_block);
224 uint8_t MBEDTLS_PRIVATE(block_number);
226 psa_tls12_prf_key_derivation_state_t MBEDTLS_PRIVATE(state);
228 uint8_t *MBEDTLS_PRIVATE(secret);
229 size_t MBEDTLS_PRIVATE(secret_length);
230 uint8_t *MBEDTLS_PRIVATE(seed);
231 size_t MBEDTLS_PRIVATE(seed_length);
232 uint8_t *MBEDTLS_PRIVATE(label);
233 size_t MBEDTLS_PRIVATE(label_length);
235 uint8_t MBEDTLS_PRIVATE(Ai)[PSA_HASH_MAX_SIZE];
238 uint8_t MBEDTLS_PRIVATE(output_block)[PSA_HASH_MAX_SIZE];
245 psa_algorithm_t MBEDTLS_PRIVATE(alg);
246 unsigned int MBEDTLS_PRIVATE(can_output_key) : 1;
247 size_t MBEDTLS_PRIVATE(capacity);
251 uint8_t MBEDTLS_PRIVATE(dummy);
253 psa_hkdf_key_derivation_t MBEDTLS_PRIVATE(hkdf);
257 psa_tls12_prf_key_derivation_t MBEDTLS_PRIVATE(tls12_prf);
259 } MBEDTLS_PRIVATE(ctx);
273 psa_key_usage_t MBEDTLS_PRIVATE(usage);
274 psa_algorithm_t MBEDTLS_PRIVATE(alg);
275 psa_algorithm_t MBEDTLS_PRIVATE(alg2);
324 psa_key_type_t MBEDTLS_PRIVATE(type);
325 psa_key_bits_t MBEDTLS_PRIVATE(bits);
326 psa_key_lifetime_t MBEDTLS_PRIVATE(lifetime);
327 mbedtls_svc_key_id_t MBEDTLS_PRIVATE(id);
328 psa_key_policy_t MBEDTLS_PRIVATE(policy);
329 psa_key_attributes_flag_t MBEDTLS_PRIVATE(flags);
339 psa_core_key_attributes_t MBEDTLS_PRIVATE(core);
341 psa_key_slot_number_t MBEDTLS_PRIVATE(slot_number);
343 void *MBEDTLS_PRIVATE(domain_parameters);
344 size_t MBEDTLS_PRIVATE(domain_parameters_size);
362 psa_key_lifetime_t lifetime = attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(lifetime); in psa_set_key_id()
364 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(id) = key; in psa_set_key_id()
368 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(lifetime) = in psa_set_key_id()
378 return( attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(id) ); in psa_get_key_id()
385 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(id).MBEDTLS_PRIVATE(owner) = owner; in mbedtls_set_key_owner_id()
392 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(lifetime) = lifetime; in psa_set_key_lifetime()
396 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(id).MBEDTLS_PRIVATE(key_id) = 0; in psa_set_key_lifetime()
398 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(id) = 0; in psa_set_key_lifetime()
406 return( attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(lifetime) ); in psa_get_key_lifetime()
422 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(policy).MBEDTLS_PRIVATE(usage) = usage_flags; in psa_set_key_usage_flags()
428 return( attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(policy).MBEDTLS_PRIVATE(usage) ); in psa_get_key_usage_flags()
434 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(policy).MBEDTLS_PRIVATE(alg) = alg; in psa_set_key_algorithm()
440 return( attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(policy).MBEDTLS_PRIVATE(alg) ); in psa_get_key_algorithm()
453 if( attributes->MBEDTLS_PRIVATE(domain_parameters) == NULL ) in psa_set_key_type()
456 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(type) = type; in psa_set_key_type()
471 return( attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(type) ); in psa_get_key_type()
478 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(bits) = PSA_KEY_BITS_TOO_LARGE; in psa_set_key_bits()
480 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(bits) = (psa_key_bits_t) bits; in psa_set_key_bits()
486 return( attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(bits) ); in psa_get_key_bits()