Home
last modified time | relevance | path

Searched refs:transformation (Results 1 - 10 of 10) sorted by relevance

/base/security/crypto_framework/frameworks/crypto_operation/
H A Dkdf.c155 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, &params, ParseKdfParams) != HCF_SUCCESS) { in HcfKdfCreate()
178 if (strcpy_s(returnGenerator->algoName, HCF_MAX_ALGO_NAME_LEN, transformation) != EOK) { in HcfKdfCreate()
H A Dcipher.c345 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 Dkdf.h45 * @param transformation Specifies the type of generated kdf object.
51 HcfResult HcfKdfCreate(const char *transformation, HcfKdf **returnObj);
H A Dcipher.h81 * @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 Dcipher.h52 char *transformation; member
/base/security/huks/frameworks/crypto_lite/js/napi/
H A Dcipher_napi.cpp63 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 Dcipher_aes.c146 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 Dcipher_module.cpp36 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 Dcrypto_ffi.h79 FFI_EXPORT int64_t FfiOHOSCreateCipher(char* transformation, int32_t* errCode);
/base/security/crypto_framework/frameworks/cj/src/
H A Dcrypto_ffi.cpp357 int64_t FfiOHOSCreateCipher(char* transformation, int32_t* errCode) in FfiOHOSCreateCipher() argument
361 HcfResult res = HcfCipherCreate(transformation, &cipher); in FfiOHOSCreateCipher()

Completed in 7 milliseconds