Searched refs:HksKeyMaterialEcc (Results 1 – 8 of 8) sorted by relevance
45 static int32_t TransEccKeyToKeyBlob(const EC_KEY *eccKey, const struct HksKeyMaterialEcc *keyMateri… in TransEccKeyToKeyBlob()65 uint32_t offset = sizeof(struct HksKeyMaterialEcc); in TransEccKeyToKeyBlob()102 rawMaterial.size = sizeof(struct HksKeyMaterialEcc) + CM_KEY_BYTES(keySize) * ECC_KEYPAIR_CNT; in SaveKeyMaterialEcc()114 struct HksKeyMaterialEcc *keyMaterial = (struct HksKeyMaterialEcc *)rawMaterial.data; in SaveKeyMaterialEcc()
497 if (key->size < sizeof(struct HksKeyMaterialEcc)) { in CheckEccKeyLen()502 struct HksKeyMaterialEcc *keyMaterial = (struct HksKeyMaterialEcc *)(key->data); in CheckEccKeyLen()523 …uint32_t keySize = sizeof(struct HksKeyMaterialEcc) + keyMaterial->xSize + keyMaterial->ySize + ke… in CheckEccKeyLen()
549 struct HksKeyMaterialEcc material; in ConstructEcPrivateKey()609 struct HksKeyMaterialEcc material; in ConstructEcKey()673 struct HksKeyMaterialEcc material; in ConstructImportedSm2Key()
765 struct HksKeyMaterialEcc material; in ConstructEccKey()
722 struct HksKeyMaterialEcc material; in ConstructEccKey()
705 struct HksKeyMaterialEcc { struct
320 struct HksKeyMaterialEcc materialEcc = {
891 ASSERT_EQ(sizeof(struct OH_Huks_KeyMaterialEcc) == sizeof(struct HksKeyMaterialEcc), true);898 struct HksKeyMaterialEcc hksKeyMaterialEcc;