Lines Matching refs:key_attributes
2759 psa_key_attributes_t key_attributes;
2778 key_attributes = psa_key_attributes_init();
2779 psa_set_key_usage_flags(&key_attributes, PSA_KEY_USAGE_DERIVE);
2780 psa_set_key_algorithm(&key_attributes, PSA_ALG_ECDH);
2781 psa_set_key_type(&key_attributes, handshake->xxdh_psa_type);
2782 psa_set_key_bits(&key_attributes, handshake->xxdh_psa_bits);
2785 status = psa_generate_key(&key_attributes,
2899 psa_key_attributes_t key_attributes;
2950 key_attributes = psa_key_attributes_init();
2951 psa_set_key_usage_flags(&key_attributes, PSA_KEY_USAGE_DERIVE);
2952 psa_set_key_algorithm(&key_attributes, PSA_ALG_ECDH);
2953 psa_set_key_type(&key_attributes, handshake->xxdh_psa_type);
2954 psa_set_key_bits(&key_attributes, handshake->xxdh_psa_bits);
2957 status = psa_generate_key(&key_attributes,