Searched refs:g_key_slot (Results 1 – 1 of 1) sorted by relevance
75 static struct thin_key_slot_s g_key_slot = { variable112 g_key_slot.len = PUBKEY_DATA_SIZE; in get_builtin_public_key()117 psa_set_key_usage_flags(&g_key_slot.attr, PSA_KEY_USAGE_VERIFY_HASH); in get_builtin_public_key()118 psa_set_key_algorithm(&g_key_slot.attr, alg); in get_builtin_public_key()119 psa_set_key_type(&g_key_slot.attr, in get_builtin_public_key()121 psa_set_key_bits(&g_key_slot.attr, in get_builtin_public_key()122 PSA_BYTES_TO_BITS((g_key_slot.len - 1)/2)); in get_builtin_public_key()265 g_key_slot.buf = data; in psa_import_key()266 g_key_slot.len = data_length; in psa_import_key()268 memcpy(&g_key_slot.attr, attributes, sizeof(psa_key_attributes_t)); in psa_import_key()[all …]