Searched refs:plain_len (Results 1 - 2 of 2) sorted by relevance
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeysUtil.c | 1440 CK_ULONG plain_len = 0; local 1485 plain_len = OBJ_SEC_VALUE_LEN(hkey_p); 1492 rv = soft_object_to_asn1(hkey_p, NULL, &plain_len); 1495 if ((plain_data = malloc(plain_len)) == NULL) 1497 (void) memset(plain_data, 0x0, plain_len); 1498 rv = soft_object_to_asn1(hkey_p, plain_data, &plain_len); 1507 padded_len = plain_len; 1542 padded_len += (wkey_blksz - (plain_len % wkey_blksz)); 1549 (void) memcpy(padded_data, plain_data, plain_len); 1572 (void) memset(plain_data, 0x0, plain_len); 1670 CK_ULONG plain_len = 0; local [all...] |
H A D | softRSA.c | 373 size_t plain_len = modulus_len; local 377 rv = pkcs1_decode(PKCS1_DECRYPT, plain_data, &plain_len); 381 num_padding = modulus_len - plain_len; 383 *pulDataLen = plain_len; 388 (void) memcpy(pData, &plain_data[num_padding], plain_len); 389 *pulDataLen = plain_len;
|
Completed in 310 milliseconds