Home
last modified time | relevance | path

Searched refs:ivParamsSpec (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/security/CryptoArchitectureKit/
H A Dcrypto-aes-sym-encrypt-decrypt-cbc.md43 let ivParamsSpec: cryptoFramework.IvParamsSpec = {
47 return ivParamsSpec;
107 let ivParamsSpec: cryptoFramework.IvParamsSpec = {
111 return ivParamsSpec;
H A Dcrypto-sm4-sym-encrypt-decrypt-cbc.md52 let ivParamsSpec: cryptoFramework.IvParamsSpec = {
56 return ivParamsSpec;
114 let ivParamsSpec: cryptoFramework.IvParamsSpec = {
118 return ivParamsSpec;
/ohos5.0/docs/en/application-dev/security/CryptoArchitectureKit/
H A Dcrypto-aes-sym-encrypt-decrypt-cbc.md43 let ivParamsSpec: cryptoFramework.IvParamsSpec = {
47 return ivParamsSpec;
107 let ivParamsSpec: cryptoFramework.IvParamsSpec = {
111 return ivParamsSpec;
H A Dcrypto-sm4-sym-encrypt-decrypt-cbc.md52 let ivParamsSpec: cryptoFramework.IvParamsSpec = {
56 return ivParamsSpec;
114 let ivParamsSpec: cryptoFramework.IvParamsSpec = {
118 return ivParamsSpec;
/ohos5.0/base/security/crypto_framework/frameworks/cj/src/
H A Dcrypto_ffi.cpp390 HcfIvParamsSpec *ivParamsSpec = reinterpret_cast<HcfIvParamsSpec *>( in FfiOHOSCipherInitByIv() local
392 if (ivParamsSpec == nullptr) { in FfiOHOSCipherInitByIv()
396 ivParamsSpec->base.getType = GetIvParamsSpecType; in FfiOHOSCipherInitByIv()
397 ivParamsSpec->iv = blob1; in FfiOHOSCipherInitByIv()
399 HcfParamsSpec *paramsSpec = reinterpret_cast<HcfParamsSpec *>(ivParamsSpec); in FfiOHOSCipherInitByIv()
400 ivParamsSpec = nullptr; in FfiOHOSCipherInitByIv()
/ohos5.0/base/security/crypto_framework/frameworks/js/napi/crypto/src/
H A Dnapi_utils.cpp368 …HcfIvParamsSpec *ivParamsSpec = reinterpret_cast<HcfIvParamsSpec *>(HcfMalloc(sizeof(HcfIvParamsSp… in GetIvParamsSpec() local
369 if (ivParamsSpec == nullptr) { in GetIvParamsSpec()
377 HcfFree(ivParamsSpec); in GetIvParamsSpec()
380 ivParamsSpec->base.getType = GetIvParamsSpecType; in GetIvParamsSpec()
381 ivParamsSpec->iv = *iv; in GetIvParamsSpec()
382 *paramsSpec = reinterpret_cast<HcfParamsSpec *>(ivParamsSpec); in GetIvParamsSpec()