Home
last modified time | relevance | path

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

/ohos5.0/base/security/huks/frameworks/crypto_lite/cipher/src/
H A Dcipher_rsa.c268 int32_t rsaContentLen = rsaLen - RSA_KEY_BYTE; in RsaEncryptMultipleBlock() local
269 if ((rsaContentLen <= 0) || (rsaLen <= 0)) { in RsaEncryptMultipleBlock()
270 CIPHER_LOG_E("rsa content len:%d, rsaLen:%d.", rsaContentLen, rsaLen); in RsaEncryptMultipleBlock()
273 int32_t count = strlen((const char *)(uintptr_t)plainText) / rsaContentLen; in RsaEncryptMultipleBlock()
274 int32_t remain = strlen((const char *)(uintptr_t)plainText) % rsaContentLen; in RsaEncryptMultipleBlock()
287 rsaContentLen, (const unsigned char *)(plainText + i * rsaContentLen), buf)) { in RsaEncryptMultipleBlock()
303 remain, (const unsigned char *)(plainText + count * rsaContentLen), buf)) { in RsaEncryptMultipleBlock()
342 size_t rsaContentLen = rsaLen - RSA_KEY_BYTE; in RsaEncrypt() local
343 if (rsaContentLen <= 0) { in RsaEncrypt()
348 size_t count = plain->length / rsaContentLen; in RsaEncrypt()
[all …]