Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeysUtil.c1417 CK_BYTE_PTR padded_data = NULL; in soft_wrapkey() local
1481 padded_data = plain_data; in soft_wrapkey()
1516 if ((padded_data = malloc(padded_len)) == NULL) { in soft_wrapkey()
1520 (void) memset(padded_data, 0x0, padded_len); in soft_wrapkey()
1521 (void) memcpy(padded_data, plain_data, plain_len); in soft_wrapkey()
1532 rv = soft_encrypt(session_p, padded_data, padded_len, in soft_wrapkey()
1536 if (padded_data != NULL && padded_len != plain_len) { in soft_wrapkey()
1538 (void) memset(padded_data, 0x0, padded_len); in soft_wrapkey()
1539 free(padded_data); in soft_wrapkey()