Searched refs:symkey (Results 1 – 2 of 2) sorted by relevance
/external/curl/lib/ |
D | curl_ntlm_core.c | 212 PK11SymKey *symkey = NULL; in encrypt_des() local 232 symkey = PK11_ImportSymKey(slot, mech, PK11_OriginUnwrap, CKA_ENCRYPT, in encrypt_des() 234 if(!symkey) in encrypt_des() 241 ctx = PK11_CreateContextBySymKey(mech, CKA_ENCRYPT, symkey, param); in encrypt_des() 255 if(symkey) in encrypt_des() 256 PK11_FreeSymKey(symkey); in encrypt_des()
|
/external/python/cryptography/tests/hazmat/primitives/ |
D | test_dh.py | 297 symkey = int_from_bytes(shared_key_bytes, 'big') 303 assert symkey == symkey_manual 325 symkey = key.exchange(public.public_key(backend)) 326 assert len(symkey) == 512 // 8 327 assert symkey[:1] == b'\x00' 371 symkey = key.exchange(public.public_key(backend)) 373 assert int_from_bytes(symkey, 'big') == int(vector["k"], 16)
|