Searched refs:transformation (Results 1 - 10 of 10) sorted by relevance
/base/security/crypto_framework/frameworks/crypto_operation/ |
H A D | kdf.c | 155 HcfResult HcfKdfCreate(const char *transformation, HcfKdf **returnObj)
in HcfKdfCreate() argument 157 if ((!HcfIsStrValid(transformation, HCF_MAX_ALGO_NAME_LEN)) || (returnObj == NULL)) {
in HcfKdfCreate() 163 if (ParseAndSetParameter(transformation, ¶ms, ParseKdfParams) != HCF_SUCCESS) {
in HcfKdfCreate() 178 if (strcpy_s(returnGenerator->algoName, HCF_MAX_ALGO_NAME_LEN, transformation) != EOK) {
in HcfKdfCreate()
|
H A D | cipher.c | 345 HcfResult HcfCipherCreate(const char *transformation, HcfCipher **returnObj) in HcfCipherCreate() argument 348 if (!HcfIsStrValid(transformation, HCF_MAX_ALGO_NAME_LEN) || (returnObj == NULL)) { in HcfCipherCreate() 352 if (ParseAndSetParameter(transformation, (void *)&attr, OnSetParameter) != HCF_SUCCESS) { in HcfCipherCreate() 367 if (strcpy_s(returnGenerator->algoName, HCF_MAX_ALGO_NAME_LEN, transformation) != EOK) { in HcfCipherCreate()
|
/base/security/crypto_framework/interfaces/inner_api/crypto_operation/ |
H A D | kdf.h | 45 * @param transformation Specifies the type of generated kdf object. 51 HcfResult HcfKdfCreate(const char *transformation, HcfKdf **returnObj);
|
H A D | cipher.h | 81 * @param transformation Specifies the type of generated cipher object. 87 HcfResult HcfCipherCreate(const char *transformation, HcfCipher **returnObj);
|
/base/security/huks/frameworks/crypto_lite/cipher/include/ |
H A D | cipher.h | 52 char *transformation;
member
|
/base/security/huks/frameworks/crypto_lite/js/napi/ |
H A D | cipher_napi.cpp | 63 char *transformation = nullptr;
member 196 ret = GetString(env, context->commonNapi->transformation_napi, &context->transformation, &len);
in ReadAesData() 234 status = napi_get_named_property(env, object, "transformation", &commonNapi->transformation_napi);
in GetCommonProperties() 236 CIPHER_LOG_E("get transformation property fail");
in GetCommonProperties() 317 iv.transformation = asyncContext->transformation;
in AesExcute() 553 CIPHER_FREE_PTR(context->transformation);
in DeleteAesAsyncContext()
|
/base/security/huks/frameworks/crypto_lite/cipher/src/ |
H A D | cipher_aes.c | 146 if ((iv->transformation != NULL) && (strcmp(iv->transformation, "AES/CBC/PKCS5Padding"))) { in InitAesCryptContext() 147 CIPHER_LOG_E("transformation err."); in InitAesCryptContext()
|
/base/security/huks/frameworks/crypto_lite/js/builtin/src/ |
H A D | cipher_module.cpp | 36 char *strTransformation = JSI::GetStringProperty(args[0], "transformation"); in Rsa() 109 char *strTransformation = JSI::GetStringProperty(args[0], "transformation"); in Aes() 133 iv.transformation = strTransformation; in Aes()
|
/base/security/crypto_framework/frameworks/cj/include/ |
H A D | crypto_ffi.h | 79 FFI_EXPORT int64_t FfiOHOSCreateCipher(char* transformation, int32_t* errCode);
|
/base/security/crypto_framework/frameworks/cj/src/ |
H A D | crypto_ffi.cpp | 357 int64_t FfiOHOSCreateCipher(char* transformation, int32_t* errCode) in FfiOHOSCreateCipher() argument 361 HcfResult res = HcfCipherCreate(transformation, &cipher); in FfiOHOSCreateCipher()
|
Completed in 8 milliseconds