Home
last modified time | relevance | path

Searched refs:signSpec (Results 1 – 2 of 2) sorted by relevance

/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_api_openssl.cpp369 HksUsageSpec signSpec = { .algType = HKS_ALG_RSA, .padding = HKS_PADDING_PKCS1_V1_5 }; variable
373 EXPECT_EQ(HksCryptoHalSign(&key, &signSpec, &message, &signature), HKS_ERROR_INVALID_KEY_INFO);
375 signSpec.padding = HKS_PADDING_PSS;
376 EXPECT_EQ(HksCryptoHalSign(&key, &signSpec, &message, &signature), HKS_ERROR_INVALID_KEY_INFO);
379 EXPECT_NE(HksCryptoHalSign(&key, &signSpec, &message, &signature), HKS_SUCCESS);
392 HksUsageSpec signSpec = { .algType = HKS_ALG_RSA }; variable
396 … EXPECT_EQ(HksCryptoHalVerify(&key, &signSpec, &message, &signature), HKS_ERROR_INVALID_KEY_INFO);
398 signSpec.padding = HKS_PADDING_PSS;
399 … EXPECT_EQ(HksCryptoHalVerify(&key, &signSpec, &message, &signature), HKS_ERROR_INVALID_KEY_INFO);
416 HksUsageSpec signSpec = { .algType = HKS_ALG_DSA }; variable
[all …]
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/
Dcm_ipc_client.c748 struct CmBlob signSpec = { sizeof(struct CmSignatureSpec), (uint8_t *)spec }; in CmClientInit() local
751 { .tag = CM_TAG_PARAM1_BUFFER, .blob = signSpec }, in CmClientInit()