Searched refs:pkLen (Results 1 - 3 of 3) sorted by relevance
/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
H A D | app_verify.c | 564 int32_t pkLen = mbedtls_pk_write_pubkey(&c, buf, pk); in GetRsaPk() local 565 LOG_INFO("GetRsaPk pkLen %d", pkLen); in GetRsaPk() 566 if (pkLen < 0 || pkLen > MAX_PK_BUF) { in GetRsaPk() 572 unsigned char *pkBuf = APPV_MALLOC(pkLen); in GetRsaPk() 579 ret = memcpy_s(pkBuf, pkLen, c, pkLen); in GetRsaPk() 587 *len = pkLen; in GetRsaPk() 821 if (lenA != binSignCert->pkLen) { in CmpCert() [all...] |
/base/security/appverify/interfaces/innerkits/appverify_lite/include/ |
H A D | app_verify.h | 119 int32_t pkLen; member
|
/base/security/certificate_framework/frameworks/adapter/v1.0/src/ |
H A D | x509_certificate_openssl.c | 118 int32_t pkLen = i2d_PUBKEY(impl->pubKey, &pkBytes); in GetPubKeyEncoded() local 119 if (pkLen <= 0) { in GetPubKeyEncoded() 125 returnBlob->data = (uint8_t *)CfMalloc(pkLen, 0); in GetPubKeyEncoded() 131 (void)memcpy_s(returnBlob->data, pkLen, pkBytes, pkLen); in GetPubKeyEncoded() 132 returnBlob->len = (size_t)pkLen; in GetPubKeyEncoded()
|
Completed in 6 milliseconds