Searched refs:cipherTextBlob (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksrkc_fuzzer/ |
H A D | hksrkc_fuzzer.cpp | 45 …struct HksBlob cipherTextBlob = { sizeof(ksfDataV1.ksfDataMk.mkCiphertext), ksfDataV1.ksfDataMk.mk… in TestGetMkFromOldKsfFile() local 46 ret = RkcMkCryptV1(&ksfDataV1, &tempMkBlob, &cipherTextBlob, false); in TestGetMkFromOldKsfFile() 61 …struct HksBlob cipherTextBlob = { sizeof(newMk.ksfDataMk.mkCiphertext), newMk.ksfDataMk.mkCipherte… in TestStoreNewKsfFile() local 62 ret = RkcMkCrypt(&(newRkc.ksfDataRkc), &(newMk.ksfDataMk), &tempMkBlob, &cipherTextBlob, true); in TestStoreNewKsfFile() 82 …struct HksBlob cipherTextBlob = { sizeof(newMk.ksfDataMk.mkCiphertext), newMk.ksfDataMk.mkCipherte… in TestGetMkFromNewKsfFile() local 83 ret = RkcMkCrypt(&newRkc.ksfDataRkc, &newMk.ksfDataMk, &tempMkBlob, &cipherTextBlob, false); in TestGetMkFromNewKsfFile()
|
/ohos5.0/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/upgrade_test/version_two/ |
H A D | hks_upgrade_rkc_test.cpp | 75 …struct HksBlob cipherTextBlob = { sizeof(ksfDataV1.ksfDataMk.mkCiphertext), ksfDataV1.ksfDataMk.mk… in TestGetMkFromOldKsfFile() local 76 ret = RkcMkCryptV1(&ksfDataV1, &tempMkBlob, &cipherTextBlob, false); in TestGetMkFromOldKsfFile() 93 …struct HksBlob cipherTextBlob = { sizeof(newMk.ksfDataMk.mkCiphertext), newMk.ksfDataMk.mkCipherte… in TestStoreNewKsfFile() local 94 ret = RkcMkCrypt(&(newRkc.ksfDataRkc), &(newMk.ksfDataMk), &tempMkBlob, &cipherTextBlob, true); in TestStoreNewKsfFile() 120 …struct HksBlob cipherTextBlob = { sizeof(newMk.ksfDataMk.mkCiphertext), newMk.ksfDataMk.mkCipherte… in TestGetMkFromNewKsfFile() local 121 ret = RkcMkCrypt(&newRkc.ksfDataRkc, &newMk.ksfDataMk, &tempMkBlob, &cipherTextBlob, false); in TestGetMkFromNewKsfFile()
|
/ohos5.0/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
H A D | napi_sm2_crypto_util.cpp | 74 HcfBlob *cipherTextBlob = GetBlobFromNapi(env, arg, SM2_UTIL_PARAM_CIPHER_TEXT_DATA); in GetSm2CipherTextSpecFromNapiValue() local 75 if (cipherTextBlob == nullptr) { in GetSm2CipherTextSpecFromNapiValue() 83 HcfBlobDataFree(cipherTextBlob); in GetSm2CipherTextSpecFromNapiValue() 84 HcfFree(cipherTextBlob); in GetSm2CipherTextSpecFromNapiValue() 88 tempSpec->cipherTextData = *cipherTextBlob; in GetSm2CipherTextSpecFromNapiValue() 91 HcfFree(cipherTextBlob); in GetSm2CipherTextSpecFromNapiValue()
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/rkc/src/ |
H A D | hks_rkc_v1.c | 276 …struct HksBlob cipherTextBlob = { HKS_RKC_MK_CIPHER_TEXT_LEN, newKsfDataMkWithVer->ksfDataMk.mkCip… in UpgradeV1ToV2() local 278 &cipherTextBlob, true); /* true: encrypt */ in UpgradeV1ToV2()
|
H A D | hks_rkc.c | 325 struct HksBlob cipherTextBlob = { HKS_RKC_MK_CIPHER_TEXT_LEN, ksfDataMk->mkCiphertext }; in RkcMakeMk() local 326 ret = RkcMkCrypt(ksfDataRkc, ksfDataMk, &mk, &cipherTextBlob, true); /* true: encrypt */ in RkcMakeMk()
|