/external/dropbear/libtomcrypt/testprof/ |
katja_test.c | 11 static unsigned char lparam[] = { 0x01, 0x02, 0x03, 0x04 }; local 60 /* encrypt the key (without lparam) */ 110 /* encrypt the key (with lparam) */ 114 DO(katja_encrypt_key(in, kat_msgsize, out, &len, lparam, sizeof(lparam), &yarrow_prng, prng_idx, hash_idx, &key)); 117 DO(katja_decrypt_key(out, len, tmp, &len2, lparam, sizeof(lparam), hash_idx, &stat2, &key)); 126 DO(katja_decrypt_key(out, len, tmp, &len2, lparam, sizeof(lparam), hash_idx, &stat, &key));
|
pkcs_1_test.c | 10 static const unsigned char lparam[] = { 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 }; local 30 /* pick a random lparam len [0..16] */ 41 DO(pkcs_1_oaep_encode(buf[0], l3, lparam, lparamlen, modlen, &yarrow_prng, prng_idx, hash_idx, buf[1], &l1)); 45 DO(pkcs_1_oaep_decode(buf[1], l1, lparam, lparamlen, modlen, hash_idx, buf[2], &l2, &res1));
|
rsa_test.c | 131 static unsigned char lparam[] = { 0x01, 0x02, 0x03, 0x04 }; local 183 /* encrypt the key (without lparam) */ 233 /* encrypt the key (with lparam) */ 237 DO(rsa_encrypt_key(in, rsa_msgsize, out, &len, lparam, sizeof(lparam), &yarrow_prng, prng_idx, hash_idx, &key)); 240 DO(rsa_decrypt_key(out, len, tmp, &len2, lparam, sizeof(lparam), hash_idx, &stat2, &key)); 249 DO(rsa_decrypt_key(out, len, tmp, &len2, lparam, sizeof(lparam), hash_idx, &stat, &key));
|
/external/bluetooth/glib/tests/ |
gio-test.c | 255 msg.hwnd, msg.message, msg.wParam, msg.lParam); 264 LPARAM lparam) 267 hwnd, message, wparam, lparam); 268 return DefWindowProc (hwnd, message, wparam, lparam); 428 LPARAM lparam = rand (); local 430 msg, wparam, lparam, hwnd); 431 PostMessage (hwnd, msg, wparam, lparam);
|