/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/asymmetric_alg_test/ |
D | hks_dh_agree_test.h | 46 static struct HksParam g_genParams001[] = { 58 static struct HksParam g_agreeParams01Init001[] = { 70 static struct HksParam g_agreeParams01Finish001[] = { 83 static struct HksParam g_agreeParams02Init001[] = { 95 static struct HksParam g_agreeParams02Finish001[] = { 124 static struct HksParam g_genParams002[] = { 136 static struct HksParam g_agreeParams01Init002[] = { 148 static struct HksParam g_agreeParams01Finish002[] = { 161 static struct HksParam g_agreeParams02Init002[] = { 173 static struct HksParam g_agreeParams02Finish002[] = { [all …]
|
D | hks_ed25519_sign_verify_test.h | 30 static struct HksParam g_genParamsTest001[] = { 45 static struct HksParam g_signParamsTest001[] = { 60 static struct HksParam g_verifyParamsTest001[] = { 76 static struct HksParam g_genParamsTest002[] = { 91 static struct HksParam g_signParamsTest002[] = { 106 static struct HksParam g_verifyParamsTest002[] = { 121 static struct HksParam g_genParamsTest003[] = { 136 static struct HksParam g_signParamsTest003[] = { 152 static struct HksParam g_genParamsTest004[] = { 167 static struct HksParam g_signParamsTest004[] = { [all …]
|
/base/security/huks/test/unittest/huks_lite_test/common/ |
D | hks_test_common.c | 105 struct HksParam algParam = {0}; in TestGenerateKeyParamSetPre() 108 ret = HksAddParams(paramSet, (const struct HksParam *) &algParam, 1); in TestGenerateKeyParamSetPre() 113 struct HksParam keySizeParam = {0}; in TestGenerateKeyParamSetPre() 116 ret = HksAddParams(paramSet, (const struct HksParam *) &keySizeParam, 1); in TestGenerateKeyParamSetPre() 121 struct HksParam purposeParam = {0}; in TestGenerateKeyParamSetPre() 124 ret = HksAddParams(paramSet, (const struct HksParam *) &purposeParam, 1); in TestGenerateKeyParamSetPre() 129 struct HksParam digestParam = {0}; in TestGenerateKeyParamSetPre() 132 ret = HksAddParams(paramSet, (const struct HksParam *) &digestParam, 1); in TestGenerateKeyParamSetPre() 138 struct HksParam paddingParam = {0}; in TestGenerateKeyParamSetPre() 141 ret = HksAddParams(paramSet, (const struct HksParam *) &paddingParam, 1); in TestGenerateKeyParamSetPre() [all …]
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/ |
D | hks_test_common.c | 102 struct HksParam algParam = {0}; in TestGenerateKeyParamSetPre() 105 ret = HksAddParams(paramSet, (const struct HksParam *) &algParam, 1); in TestGenerateKeyParamSetPre() 110 struct HksParam keySizeParam = {0}; in TestGenerateKeyParamSetPre() 113 ret = HksAddParams(paramSet, (const struct HksParam *) &keySizeParam, 1); in TestGenerateKeyParamSetPre() 118 struct HksParam purposeParam = {0}; in TestGenerateKeyParamSetPre() 121 ret = HksAddParams(paramSet, (const struct HksParam *) &purposeParam, 1); in TestGenerateKeyParamSetPre() 126 struct HksParam digestParam = {0}; in TestGenerateKeyParamSetPre() 129 ret = HksAddParams(paramSet, (const struct HksParam *) &digestParam, 1); in TestGenerateKeyParamSetPre() 135 struct HksParam paddingParam = {0}; in TestGenerateKeyParamSetPre() 138 ret = HksAddParams(paramSet, (const struct HksParam *) &paddingParam, 1); in TestGenerateKeyParamSetPre() [all …]
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/ |
D | hks_rsa_sign_verify_part9_test.cpp | 62 static struct HksParam g_genParamsTest081[] = { 74 static struct HksParam g_signParamsTest081[] = { 92 static struct HksParam g_verifyParamsTest081[] = { 112 static struct HksParam g_genParamsTest082[] = { 124 static struct HksParam g_signParamsTest082[] = { 142 static struct HksParam g_verifyParamsTest082[] = { 162 static struct HksParam g_genParamsTest083[] = { 174 static struct HksParam g_signParamsTest083[] = { 192 static struct HksParam g_verifyParamsTest083[] = { 212 static struct HksParam g_genParamsTest084[] = { [all …]
|
D | hks_ecc_sign_verify_part3_test.cpp | 62 static struct HksParam g_genParamsTest017[] = { 77 static struct HksParam g_signParamsTest017[] = { 92 static struct HksParam g_verifyParamsTest017[] = { 108 static struct HksParam g_genParamsTest018[] = { 123 static struct HksParam g_signParamsTest018[] = { 138 static struct HksParam g_verifyParamsTest018[] = { 155 static struct HksParam g_genParamsTest019[] = { 170 static struct HksParam g_signParamsTest019[] = { 185 static struct HksParam g_verifyParamsTest019[] = { 201 static struct HksParam g_genParamsTest020[] = { [all …]
|
D | hks_ecc_sign_verify_part1_test.cpp | 61 static struct HksParam g_genParamsTest001[] = { 76 static struct HksParam g_signParamsTest001[] = { 91 static struct HksParam g_verifyParamsTest001[] = { 107 static struct HksParam g_genParamsTest002[] = { 122 static struct HksParam g_signParamsTest002[] = { 137 static struct HksParam g_verifyParamsTest002[] = { 153 static struct HksParam g_genParamsTest003[] = { 168 static struct HksParam g_signParamsTest003[] = { 183 static struct HksParam g_verifyParamsTest003[] = { 199 static struct HksParam g_genParamsTest004[] = { [all …]
|
D | hks_ecc_sign_verify_part2_test.cpp | 62 static struct HksParam g_genParamsTest009[] = { 77 static struct HksParam g_signParamsTest009[] = { 92 static struct HksParam g_verifyParamsTest009[] = { 109 static struct HksParam g_genParamsTest010[] = { 124 static struct HksParam g_signParamsTest010[] = { 139 static struct HksParam g_verifyParamsTest010[] = { 155 static struct HksParam g_genParamsTest011[] = { 170 static struct HksParam g_signParamsTest011[] = { 185 static struct HksParam g_verifyParamsTest011[] = { 201 static struct HksParam g_genParamsTest012[] = { [all …]
|
D | hks_rsa_cipher_part4_test.cpp | 61 static struct HksParam g_genParams031[] = { 82 static struct HksParam g_encryptParams031[] = { 103 static struct HksParam g_decryptParams031[] = { 125 static struct HksParam g_genParams032[] = { 146 static struct HksParam g_encryptParams032[] = { 167 static struct HksParam g_decryptParams032[] = { 190 static struct HksParam g_genParams033[] = { 211 static struct HksParam g_encryptParams033[] = { 232 static struct HksParam g_decryptParams033[] = { 254 static struct HksParam g_genParams034[] = { [all …]
|
D | hks_rsa_sign_verify_part7_test.cpp | 61 static struct HksParam g_genParamsTest061[] = { 79 static struct HksParam g_signParamsTest061[] = { 97 static struct HksParam g_verifyParamsTest061[] = { 118 static struct HksParam g_genParamsTest062[] = { 136 static struct HksParam g_signParamsTest062[] = { 154 static struct HksParam g_verifyParamsTest062[] = { 172 static struct HksParam g_genParamsTest063[] = { 190 static struct HksParam g_signParamsTest063[] = { 208 static struct HksParam g_verifyParamsTest063[] = { 226 static struct HksParam g_genParamsTest064[] = { [all …]
|
D | hks_rsa_sign_verify_part2_test.cpp | 60 static struct HksParam g_genParamsTest011[] = { 78 static struct HksParam g_signParamsTest011[] = { 99 static struct HksParam g_verifyParamsTest011[] = { 121 static struct HksParam g_genParamsTest012[] = { 139 static struct HksParam g_signParamsTest012[] = { 157 static struct HksParam g_verifyParamsTest012[] = { 175 static struct HksParam g_genParamsTest013[] = { 193 static struct HksParam g_signParamsTest013[] = { 211 static struct HksParam g_verifyParamsTest013[] = { 230 static struct HksParam g_genParamsTest014[] = { [all …]
|
D | hks_rsa_sign_verify_part1_test.cpp | 59 static struct HksParam g_genParamsTest001[] = { 78 static struct HksParam g_signParamsTest001[] = { 97 static struct HksParam g_verifyParamsTest001[] = { 116 static struct HksParam g_genParamsTest002[] = { 135 static struct HksParam g_signParamsTest002[] = { 154 static struct HksParam g_verifyParamsTest002[] = { 173 static struct HksParam g_genParamsTest003[] = { 191 static struct HksParam g_signParamsTest003[] = { 209 static struct HksParam g_verifyParamsTest003[] = { 228 static struct HksParam g_genParamsTest004[] = { [all …]
|
D | hks_rsa_cipher_part2_test.cpp | 61 static struct HksParam g_genParams011[] = { 82 static struct HksParam g_encryptParams011[] = { 103 static struct HksParam g_decryptParams011[] = { 125 static struct HksParam g_genParams012[] = { 146 static struct HksParam g_encryptParams012[] = { 167 static struct HksParam g_decryptParams012[] = { 189 static struct HksParam g_genParams013[] = { 210 static struct HksParam g_encryptParams013[] = { 231 static struct HksParam g_decryptParams013[] = { 253 static struct HksParam g_genParams014[] = { [all …]
|
D | hks_rsa_sign_verify_part6_test.cpp | 61 static struct HksParam g_genParamsTest051[] = { 79 static struct HksParam g_signParamsTest051[] = { 97 static struct HksParam g_verifyParamsTest051[] = { 115 static struct HksParam g_genParamsTest052[] = { 133 static struct HksParam g_signParamsTest052[] = { 151 static struct HksParam g_verifyParamsTest052[] = { 170 static struct HksParam g_genParamsTest053[] = { 188 static struct HksParam g_signParamsTest053[] = { 206 static struct HksParam g_verifyParamsTest053[] = { 225 static struct HksParam g_genParamsTest054[] = { [all …]
|
D | hks_rsa_sign_verify_part3_test.cpp | 60 static struct HksParam g_genParamsTest021[] = { 78 static struct HksParam g_signParamsTest021[] = { 96 static struct HksParam g_verifyParamsTest021[] = { 114 static struct HksParam g_genParamsTest022[] = { 132 static struct HksParam g_signParamsTest022[] = { 150 static struct HksParam g_verifyParamsTest022[] = { 168 static struct HksParam g_genParamsTest023[] = { 186 static struct HksParam g_signParamsTest023[] = { 204 static struct HksParam g_verifyParamsTest023[] = { 223 static struct HksParam g_genParamsTest024[] = { [all …]
|
D | hks_rsa_sign_verify_part5_test.cpp | 60 static struct HksParam g_genParamsTest041[] = { 78 static struct HksParam g_signParamsTest041[] = { 96 static struct HksParam g_verifyParamsTest041[] = { 114 static struct HksParam g_genParamsTest042[] = { 132 static struct HksParam g_signParamsTest042[] = { 150 static struct HksParam g_verifyParamsTest042[] = { 169 static struct HksParam g_genParamsTest043[] = { 187 static struct HksParam g_signParamsTest043[] = { 205 static struct HksParam g_verifyParamsTest043[] = { 225 static struct HksParam g_genParamsTest044[] = { [all …]
|
D | hks_rsa_sign_verify_part4_test.cpp | 60 static struct HksParam g_genParamsTest031[] = { 78 static struct HksParam g_signParamsTest031[] = { 96 static struct HksParam g_verifyParamsTest031[] = { 115 static struct HksParam g_genParamsTest032[] = { 133 static struct HksParam g_signParamsTest032[] = { 151 static struct HksParam g_verifyParamsTest032[] = { 170 static struct HksParam g_genParamsTest033[] = { 188 static struct HksParam g_signParamsTest033[] = { 206 static struct HksParam g_verifyParamsTest033[] = { 224 static struct HksParam g_genParamsTest034[] = { [all …]
|
D | hks_rsa_cipher_part1_test.cpp | 59 static struct HksParam g_genParams001[] = { 80 static struct HksParam g_encryptParams001[] = { 101 static struct HksParam g_decryptParams001[] = { 124 static struct HksParam g_genParams002[] = { 145 static struct HksParam g_encryptParams002[] = { 166 static struct HksParam g_decryptParams002[] = { 188 static struct HksParam g_genParams003[] = { 209 static struct HksParam g_encryptParams003[] = { 230 static struct HksParam g_decryptParams003[] = { 252 static struct HksParam g_genParams004[] = { [all …]
|
D | hks_rsa_cipher_part3_test.cpp | 61 static struct HksParam g_genParams021[] = { 82 static struct HksParam g_encryptParams021[] = { 103 static struct HksParam g_decryptParams021[] = { 127 static struct HksParam g_genParams022[] = { 148 static struct HksParam g_encryptParams022[] = { 169 static struct HksParam g_decryptParams022[] = { 192 static struct HksParam g_genParams023[] = { 213 static struct HksParam g_encryptParams023[] = { 234 static struct HksParam g_decryptParams023[] = { 257 static struct HksParam g_genParams024[] = { [all …]
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
D | hks_hkdf_derive_part2_test.cpp | 61 static struct HksParam g_hkdfStorageParams[] = { 68 static struct HksParam g_hkdfFinishStorageParams[] = { 76 static struct HksParam g_genParams010[] = { 91 static struct HksParam g_hkdfParams010[] = { 106 static struct HksParam g_genParams011[] = { 121 static struct HksParam g_hkdfParams011[] = { 136 static struct HksParam g_genParams012[] = { 151 static struct HksParam g_hkdfParams012[] = { 167 static struct HksParam g_genParams013[] = { 182 static struct HksParam g_hkdfParams013[] = { [all …]
|
D | hks_pbkdf2_derive_part1_test.cpp | 63 static struct HksParam g_genParams001[] = { 78 static struct HksParam g_pbkdf2Params001[] = { 105 static struct HksParam g_pbkdf2FinishParams001[] = { 129 static struct HksParam g_genParams002[] = { 144 static struct HksParam g_pbkdf2Params002[] = { 168 static struct HksParam g_pbkdf2FinishParams002[] = { 192 static struct HksParam g_genParams003[] = { 207 static struct HksParam g_pbkdf2Params003[] = { 231 static struct HksParam g_pbkdf2FinishParams003[] = { 256 static struct HksParam g_genParams004[] = { [all …]
|
D | hks_pbkdf2_derive_part2_test.cpp | 62 static struct HksParam g_pbkdf2StorageParams[] = { 70 static struct HksParam g_genParams010[] = { 85 static struct HksParam g_pbkdf2Params010[] = { 111 static struct HksParam g_genParams011[] = { 126 static struct HksParam g_pbkdf2Params011[] = { 150 static struct HksParam g_genParams012[] = { 165 static struct HksParam g_pbkdf2Params012[] = { 191 static struct HksParam g_genParams013[] = { 206 static struct HksParam g_pbkdf2Params013[] = { 230 static struct HksParam g_genParams014[] = { [all …]
|
D | hks_hkdf_derive_part1_test.cpp | 62 static struct HksParam g_genParams001[] = { 77 static struct HksParam g_hkdfParams001[] = { 92 static struct HksParam g_hkdfFinishParams001[] = { 116 static struct HksParam g_genParams002[] = { 131 static struct HksParam g_hkdfParams002[] = { 146 static struct HksParam g_hkdfFinishParams002[] = { 170 static struct HksParam g_genParams003[] = { 185 static struct HksParam g_hkdfParams003[] = { 200 static struct HksParam g_hkdfFinishParams003[] = { 226 static struct HksParam g_genParams004[] = { [all …]
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/ |
D | hks_cross_test.h | 23 static struct HksParam g_aesGenParams[] = { 41 static struct HksParam g_aesEncryParams[] = { 68 static struct HksParam g_aesDecryParams[] = { 96 static struct HksParam g_rsaGenParams[] = { 117 static struct HksParam g_rsaEncryParams[] = { 138 static struct HksParam g_rsaDecryParams[] = { 161 static struct HksParam g_dsaSVGenParams[] = { 176 static struct HksParam g_dsaSVSignParams[] = { 188 static struct HksParam g_dsaSVVerParams[] = { 205 static struct HksParam g_eccSVGenParams[] = { [all …]
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/ |
D | hks_aes_cipher_part3_test.cpp | 61 static struct HksParam g_genParams015[] = { 79 static struct HksParam g_encryptParams015[] = { 106 static struct HksParam g_decryptParams015[] = { 134 static struct HksParam g_genParams016[] = { 152 static struct HksParam g_encryptParams016[] = { 179 static struct HksParam g_decryptParams016[] = { 207 static struct HksParam g_genParams018[] = { 225 static struct HksParam g_encryptParams018[] = { 264 static struct HksParam g_decryptParams018[] = { 305 static struct HksParam g_decrypt1Params018[] = { [all …]
|