Searched refs:attr (Results 1 – 7 of 7) sorted by relevance
/mbedtls-development/library/ |
A D | psa_crypto_storage.c | 252 const psa_core_key_attributes_t *attr, in psa_format_key_data_for_storage() argument 260 MBEDTLS_PUT_UINT32_LE( attr->lifetime, storage_format->lifetime, 0 ); in psa_format_key_data_for_storage() 261 MBEDTLS_PUT_UINT16_LE( (uint16_t) attr->type, storage_format->type, 0 ); in psa_format_key_data_for_storage() 263 MBEDTLS_PUT_UINT32_LE( attr->policy.usage, storage_format->policy, 0 ); in psa_format_key_data_for_storage() 317 attr->lifetime = MBEDTLS_GET_UINT32_LE( storage_format->lifetime, 0 ); in psa_parse_key_data_from_storage() 318 attr->type = MBEDTLS_GET_UINT16_LE( storage_format->type, 0 ); in psa_parse_key_data_from_storage() 319 attr->bits = MBEDTLS_GET_UINT16_LE( storage_format->bits, 0 ); in psa_parse_key_data_from_storage() 349 status = psa_crypto_storage_store( attr->id, in psa_save_persistent_key() 366 psa_status_t psa_load_persistent_key( psa_core_key_attributes_t *attr, in psa_load_persistent_key() argument 373 mbedtls_svc_key_id_t key = attr->id; in psa_load_persistent_key() [all …]
|
A D | psa_crypto_slot_management.c | 121 status = mbedtls_svc_key_id_equal( key, slot->attr.id ) ? in psa_get_and_lock_key_slot_in_memory() 132 if( mbedtls_svc_key_id_equal( key, slot->attr.id ) ) in psa_get_and_lock_key_slot_in_memory() 243 status = psa_load_persistent_key( &slot->attr, in psa_load_persistent_key_into_slot() 289 MBEDTLS_SVC_KEY_ID_GET_KEY_ID( slot->attr.id ) ) ) in psa_load_builtin_key_into_slot() 296 slot->attr.id, &lifetime, &slot_number ); in psa_load_builtin_key_into_slot() 302 psa_set_key_id( &attributes, slot->attr.id ); in psa_load_builtin_key_into_slot() 339 slot->attr = attributes.core; in psa_load_builtin_key_into_slot() 374 (*p_slot)->attr.id = key; in psa_get_and_lock_key_slot() 375 (*p_slot)->attr.lifetime = PSA_KEY_LIFETIME_PERSISTENT; in psa_get_and_lock_key_slot() 564 if( PSA_KEY_LIFETIME_IS_VOLATILE( slot->attr.lifetime ) ) in mbedtls_psa_get_stats() [all …]
|
A D | psa_crypto_core.h | 54 psa_core_key_attributes_t attr; member 106 return( slot->attr.type != 0 ); in psa_is_key_slot_occupied() 133 return( slot->attr.flags & mask ); in psa_key_slot_get_flags() 146 slot->attr.flags = ( ( ~mask & slot->attr.flags ) | in psa_key_slot_set_flags() 158 slot->attr.flags |= mask; in psa_key_slot_set_bits_in_flags() 169 slot->attr.flags &= ~mask; in psa_key_slot_clear_bits()
|
A D | psa_crypto_storage.h | 108 psa_status_t psa_save_persistent_key( const psa_core_key_attributes_t *attr, 138 psa_status_t psa_load_persistent_key( psa_core_key_attributes_t *attr, 178 const psa_core_key_attributes_t *attr, 201 psa_core_key_attributes_t *attr );
|
A D | psa_crypto.c | 1330 .core = slot->attr in psa_export_key() 1436 .core = slot->attr in psa_export_public_key() 2359 .core = slot->attr in psa_mac_setup() 2704 .core = slot->attr in psa_sign_internal() 2768 .core = slot->attr in psa_verify_internal() 3302 .core = slot->attr in psa_cipher_setup() 3541 .core = slot->attr in psa_cipher_encrypt() 3595 .core = slot->attr in psa_cipher_decrypt() 3696 .core = slot->attr in psa_aead_encrypt() 3746 .core = slot->attr in psa_aead_decrypt() [all …]
|
A D | debug.c | 377 mbedtls_debug_ecdh_attr attr ) in mbedtls_debug_printf_ecdh_internal() argument 385 switch( attr ) in mbedtls_debug_printf_ecdh_internal() 407 mbedtls_debug_ecdh_attr attr ) in mbedtls_debug_printf_ecdh() argument 410 mbedtls_debug_printf_ecdh_internal( ssl, level, file, line, ecdh, attr ); in mbedtls_debug_printf_ecdh() 416 attr ); in mbedtls_debug_printf_ecdh()
|
/mbedtls-development/include/mbedtls/ |
A D | debug.h | 67 #define MBEDTLS_SSL_DEBUG_ECDH( level, ecdh, attr ) \ argument 68 mbedtls_debug_printf_ecdh( ssl, level, __FILE__, __LINE__, ecdh, attr ) 79 #define MBEDTLS_SSL_DEBUG_ECDH( level, ecdh, attr ) do { } while( 0 ) argument 304 mbedtls_debug_ecdh_attr attr );
|
Completed in 18 milliseconds