Home
last modified time | relevance | path

Searched refs:material2 (Results 1 – 2 of 2) sorted by relevance

/base/security/huks/utils/crypto_adapter/
Dhks_client_service_adapter_lite.c263 struct HksBlob material2 = { publicKeyInfo->eOrYSize, publicKey->data + offset }; in TranslateToX509PublicKey() local
268 return RsaToX509PublicKey(&material1, &material2, x509Key); in TranslateToX509PublicKey()
272 return EccToX509PublicKey(publicKeyInfo->keySize, &material1, &material2, x509Key); in TranslateToX509PublicKey()
Dhks_client_service_adapter.c510 … const struct HksBlob *material1, const struct HksBlob *material2, const struct HksBlob *publicKey, in TranslateToX509PublicKeySwitchAlg() argument
516 return RsaToX509PublicKey(material1, material2, x509Key); in TranslateToX509PublicKeySwitchAlg()
520 …n EccToX509PublicKey(publicKeyInfo->keyAlg, publicKeyInfo->keySize, material1, material2, x509Key); in TranslateToX509PublicKeySwitchAlg()
524 …n Sm2ToX509PublicKey(publicKeyInfo->keyAlg, publicKeyInfo->keySize, material1, material2, x509Key); in TranslateToX509PublicKeySwitchAlg()
571 struct HksBlob material2 = { publicKeyInfo->eOrYSize, publicKey->data + offset }; in TranslateToX509PublicKey() local
572 …return TranslateToX509PublicKeySwitchAlg(publicKeyInfo, &material1, &material2, publicKey, x509Key… in TranslateToX509PublicKey()