Home
last modified time | relevance | path

Searched refs:cipher (Results 1 – 13 of 13) sorted by relevance

/test/xts/acts/security/cipher/datacipher/cipher/src/main/js/test/Agree/
Dcipher2.test.js16 import cipher from '@system.cipher';
64 cipher.rsa({
90 cipher.rsa({
116 cipher.rsa({
142 cipher.rsa({
171 cipher.rsa({
197 cipher.rsa({
223 cipher.rsa({
249 cipher.rsa({
287 cipher.rsa({
[all …]
Dhitscipher.test.js16 import cipher from '@system.cipher';
64 cipher.rsa({
79 cipher.rsa({
105 cipher.aes({
123 cipher.aes({
153 cipher.rsa({
167 cipher.rsa({
199 cipher.aes({
216 cipher.aes({
Dcipher1.test.js16 import cipher from '@system.cipher';
64 cipher.aes({
93 cipher.aes({
122 cipher.aes({
151 cipher.aes({
172 cipher.aes({
201 cipher.aes({
230 cipher.aes({
259 cipher.aes({
288 cipher.aes({
[all …]
/test/xts/acts/security/cryptoFramework/js_api10_test_oh41/src/main/ets/test/
DSecurityCryptoFwCipherSM2.test.ets20 import * as cipherCallbackFunc from './utils/cipher/cipherAsyCallbackFunc';
21 import * as cipherPromiseFunc from './utils/cipher/cipherAsyPromiseFunc';
47 * @tc.name Test cipher with SM2_256|SHA256, process is successful
62 console.log(`Security_CryptoFramework_Cipher_SM2_Func_0100: cipher succeed`);
73 * @tc.name Test cipher with SM2_256|SHA256, process is successful
95 console.log(`Security_CryptoFramework_Cipher_SM2_Func_0200: cipher succeed`);
116 let cipher: cryptoFramework.Cipher = cryptoFramework.createCipher(cipherAlg);
117 cipher.getCipherSpec(cryptoFramework.CipherSpecItem.SM2_MD_NAME_STR);
139 let cipher: cryptoFramework.Cipher = cryptoFramework.createCipher(cipherAlg);
140 cipher.getCipherSpec(cryptoFramework.CipherSpecItem.SM2_MD_NAME_STR);
[all …]
DSecurityCryptoFwGenECCCommonSpec.test.ets22 import * as cipherCallbackFunc from './utils/cipher/cipherAsyCallbackFunc';
23 import * as cipherPromiseFunc from './utils/cipher/cipherAsyPromiseFunc';
469 * @tc.name Test cipher with 'SM2_256', process is success
483 console.log(`Security_CryptoFramework_genECCCommonSpec_Func_2000: cipher succeed.`);
/test/xts/acts/security/huks_napi_BasicTest/src/
Dhuks_cipher_aes_test_common.cpp98 uint8_t cipher[AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseOther() local
99 struct OH_Huks_Blob cipherText = {AES_COMMON_SIZE, cipher}; in HksAesCipherTestCaseOther()
131 uint8_t cipher[AES_COMMON_SIZE] = {0}; in HksAesCipherTestCaseGcm2() local
132 struct OH_Huks_Blob cipherText = {AES_COMMON_SIZE, cipher}; in HksAesCipherTestCaseGcm2()
Dhuks_cipher_rsa_test_common.cpp105 uint8_t cipher[Unittest::RsaCipher::RSA_COMMON_SIZE] = {0}; in HksRsaCipherTestCase() local
106 struct OH_Huks_Blob cipherText = { Unittest::RsaCipher::RSA_COMMON_SIZE, cipher }; in HksRsaCipherTestCase()
141 uint8_t cipher[Unittest::RsaCipher::RSA_COMMON_SIZE] = {0}; in HksRsaCipherTestCaseAbnormal() local
142 struct OH_Huks_Blob cipherText = { Unittest::RsaCipher::RSA_COMMON_SIZE, cipher }; in HksRsaCipherTestCaseAbnormal()
Dhuks_cipher_sm4_test_common.cpp86 uint8_t cipher[SM4_COMMON_SIZE] = {0}; in HksSm4CipherTestCaseOther() local
87 struct OH_Huks_Blob cipherText = { SM4_COMMON_SIZE, cipher }; in HksSm4CipherTestCaseOther()
Dhuks_cipher_aes_test.cpp256 uint8_t cipher[AES_COMMON_SIZE] = {0}; variable
257 struct OH_Huks_Blob cipherText = { AES_COMMON_SIZE, cipher };
/test/xts/acts/security/cipher/datacipher/
DBUILD.gn18 deps = [ "cipher:ActsSecurityCipherTest" ]
/test/xts/acts/security/
DBUILD.gn26 "cipher/datacipher:datacipher",
/test/xts/acts/security/cryptoFramework/js_api10_test_oh41/src/main/ets/test/utils/cipher/
DcipherAsyPromiseFunc.ets21 let input: cpFw.DataBlob = { data: stringToUint8Array("This is a cipher test.") };
DcipherAsyCallbackFunc.ets50 let input: cpFw.DataBlob = { data: stringToUint8Array("This is a cipher test.") };