Home
last modified time | relevance | path

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

/external/chromium_org/crypto/
Dsymmetric_key_nss.cc111 SECItem key_item; in Import() local
112 key_item.type = siBuffer; in Import()
113 key_item.data = reinterpret_cast<unsigned char*>( in Import()
115 key_item.len = raw_key.size(); in Import()
125 CKA_ENCRYPT, &key_item, NULL); in Import()
137 SECItem* key_item = PK11_GetKeyData(key_.get()); in GetRawKey() local
138 if (!key_item) in GetRawKey()
141 raw_key->assign(reinterpret_cast<char*>(key_item->data), key_item->len); in GetRawKey()
Dhmac_nss.cc57 SECItem key_item; in Init() local
58 key_item.type = siBuffer; in Init()
59 key_item.data = const_cast<unsigned char*>(key); // NSS API isn't const. in Init()
60 key_item.len = key_length; in Init()
66 &key_item, in Init()
/external/chromium_org/net/quic/crypto/
Daead_base_decrypter_nss.cc67 SECItem key_item; in Decrypt() local
68 key_item.type = siBuffer; in Decrypt()
69 key_item.data = key_; in Decrypt()
70 key_item.len = key_size_; in Decrypt()
86 slot, key_mechanism, PK11_OriginUnwrap, CKA_DECRYPT, &key_item, NULL)); in Decrypt()
Daead_base_encrypter_nss.cc61 SECItem key_item; in Encrypt() local
62 key_item.type = siBuffer; in Encrypt()
63 key_item.data = key_; in Encrypt()
64 key_item.len = key_size_; in Encrypt()
80 slot, key_mechanism, PK11_OriginUnwrap, CKA_ENCRYPT, &key_item, NULL)); in Encrypt()
/external/chromium_org/net/http/
Ddes.cc110 SECItem key_item; in DESEncrypt() local
121 key_item.data = const_cast<uint8*>(key); in DESEncrypt()
122 key_item.len = 8; in DESEncrypt()
125 &key_item, NULL); in DESEncrypt()
/external/chromium_org/content/child/webcrypto/nss/
Dsym_key_nss.cc64 SECItem key_item = MakeSECItemForBuffer(key_data); in ImportKeyRawNss() local
72 &key_item, in ImportKeyRawNss()