Searched refs:key_item (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/crypto/ |
D | symmetric_key_nss.cc | 111 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()
|
D | hmac_nss.cc | 57 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/ |
D | aead_base_decrypter_nss.cc | 67 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()
|
D | aead_base_encrypter_nss.cc | 61 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/ |
D | des.cc | 110 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/ |
D | sym_key_nss.cc | 64 SECItem key_item = MakeSECItemForBuffer(key_data); in ImportKeyRawNss() local 72 &key_item, in ImportKeyRawNss()
|