Lines Matching refs:xResult
36 ::rtl::Reference< OCipherContext > xResult = new OCipherContext; in Create()
38 xResult->m_pSlot = PK11_GetBestSlot( nNSSCipherID, NULL ); in Create()
39 if ( xResult->m_pSlot ) in Create()
42 …xResult->m_pSymKey = PK11_ImportSymKey( xResult->m_pSlot, nNSSCipherID, PK11_OriginDerive, bEncryp… in Create()
43 if ( xResult->m_pSymKey ) in Create()
46 xResult->m_pSecParam = PK11_ParamFromIV( nNSSCipherID, &aIVItem ); in Create()
47 if ( xResult->m_pSecParam ) in Create()
49 …xResult->m_pContext = PK11_CreateContextBySymKey( nNSSCipherID, bEncryption ? CKA_ENCRYPT : CKA_DE… in Create()
50 if ( xResult->m_pContext ) in Create()
52 xResult->m_bEncryption = bEncryption; in Create()
53 xResult->m_bW3CPadding = bW3CPadding; in Create()
54 … xResult->m_bPadding = bW3CPadding || ( PK11_GetPadMechanism( nNSSCipherID ) == nNSSCipherID ); in Create()
55 xResult->m_nBlockSize = PK11_GetBlockSize( nNSSCipherID, xResult->m_pSecParam ); in Create()
56 if ( xResult->m_nBlockSize <= SAL_MAX_INT8 ) in Create()
57 return xResult.get(); in Create()