Home
last modified time | relevance | path

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

/ohos5.0/base/security/crypto_framework/test/unittest/src/
H A Dcrypto_sm2_cipher_test.cpp276 HcfCipher *aesCipher = nullptr; variable
277 res = HcfCipherCreate("AES128|ECB|PKCS7", &aesCipher);
283 res = cipher->init(aesCipher, DECRYPT_MODE, (HcfKey *)keyPair->priKey, nullptr);
289 HcfObjDestroy(aesCipher);
H A Dcrypto_rsa_cipher_test.cpp738 HcfCipher *aesCipher = nullptr; variable
739 res = HcfCipherCreate("AES128|ECB|PKCS7", &aesCipher);
745 res = cipher->init(aesCipher, DECRYPT_MODE, (HcfKey *)keyPair->pubKey, nullptr);
751 HcfObjDestroy(aesCipher);