Lines Matching refs:attributes
545 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in ecdsa_verify_wrap() local
573 psa_set_key_type( &attributes, PSA_KEY_TYPE_ECC_PUBLIC_KEY( curve ) ); in ecdsa_verify_wrap()
574 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_VERIFY_HASH ); in ecdsa_verify_wrap()
575 psa_set_key_algorithm( &attributes, psa_sig_md ); in ecdsa_verify_wrap()
577 status = psa_import_key( &attributes, in ecdsa_verify_wrap()
890 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in pk_opaque_get_bitlen() local
892 if( PSA_SUCCESS != psa_get_key_attributes( *key, &attributes ) ) in pk_opaque_get_bitlen()
895 bits = psa_get_key_bits( &attributes ); in pk_opaque_get_bitlen()
896 psa_reset_key_attributes( &attributes ); in pk_opaque_get_bitlen()
1012 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in pk_opaque_sign_wrap()
1025 status = psa_get_key_attributes( *key, &attributes ); in pk_opaque_sign_wrap()
1028 buf_len = MBEDTLS_ECDSA_MAX_SIG_LEN( psa_get_key_bits( &attributes ) ); in pk_opaque_sign_wrap()
1029 psa_reset_key_attributes( &attributes ); in pk_opaque_sign_wrap()