Home
last modified time | relevance | path

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

/external/libchrome/crypto/
Dsymmetric_key_nss.cc113 SECItem key_item; in Import() local
114 key_item.type = siBuffer; in Import()
115 key_item.data = reinterpret_cast<unsigned char*>( in Import()
117 key_item.len = raw_key.size(); in Import()
127 CKA_ENCRYPT, &key_item, NULL); in Import()
139 SECItem* key_item = PK11_GetKeyData(key_.get()); in GetRawKey() local
140 if (!key_item) in GetRawKey()
143 raw_key->assign(reinterpret_cast<char*>(key_item->data), key_item->len); in GetRawKey()
Dhmac_nss.cc58 SECItem key_item; in Init() local
59 key_item.type = siBuffer; in Init()
60 key_item.data = const_cast<unsigned char*>(key); // NSS API isn't const. in Init()
61 key_item.len = key_length; in Init()
67 &key_item, in Init()
/external/curl/lib/
Dcurl_ntlm_core.c209 SECItem key_item; in encrypt_des() local
228 key_item.data = (unsigned char *)key; in encrypt_des()
229 key_item.len = sizeof(key); in encrypt_des()
231 &key_item, NULL); in encrypt_des()