Searched refs:napiGenerator (Results 1 – 3 of 3) sorted by relevance
| /base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
| D | napi_sym_key_generator.cpp | 87 NapiSymKeyGenerator *napiGenerator; in BuildContextForGenerateKey() local 88 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiGenerator)); in BuildContextForGenerateKey() 89 if (status != napi_ok || napiGenerator == nullptr) { in BuildContextForGenerateKey() 94 context->generator = napiGenerator->GetSymKeyGenerator(); in BuildContextForGenerateKey() 120 NapiSymKeyGenerator *napiGenerator; in BuildContextForConvertKey() local 121 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiGenerator)); in BuildContextForConvertKey() 122 if (status != napi_ok || napiGenerator == nullptr) { in BuildContextForConvertKey() 127 context->generator = napiGenerator->GetSymKeyGenerator(); in BuildContextForConvertKey()
|
| D | napi_asy_key_generator.cpp | 123 NapiAsyKeyGenerator *napiGenerator; in BuildGenKeyPairCtx() local 124 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiGenerator)); in BuildGenKeyPairCtx() 125 if (status != napi_ok || napiGenerator == nullptr) { in BuildGenKeyPairCtx() 130 ctx->generator = napiGenerator->GetAsyKeyGenerator(); in BuildGenKeyPairCtx() 183 NapiAsyKeyGenerator *napiGenerator; in BuildConvertKeyCtx() local 184 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiGenerator)); in BuildConvertKeyCtx() 185 if (status != napi_ok || napiGenerator == nullptr) { in BuildConvertKeyCtx() 196 ctx->generator = napiGenerator->GetAsyKeyGenerator(); in BuildConvertKeyCtx()
|
| D | napi_asy_key_spec_generator.cpp | 81 NapiAsyKeyGeneratorBySpec *napiGenerator; in BuildAsyKeyCtx() local 82 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiGenerator)); in BuildAsyKeyCtx() 83 if (status != napi_ok || napiGenerator == nullptr) { in BuildAsyKeyCtx() 87 ctx->generator = napiGenerator->GetAsyKeyGeneratorBySpec(); in BuildAsyKeyCtx()
|