Home
last modified time | relevance | path

Searched refs:params (Results 1 – 12 of 12) sorted by relevance

/system/keymaster/
Dauthorization_set_test.cpp35 keymaster_key_param_t params[] = { in TEST() local
45 AuthorizationSet set(params, array_length(params)); in TEST()
50 keymaster_key_param_t params[] = { in TEST() local
60 AuthorizationSet set(params, array_length(params)); in TEST()
66 keymaster_key_param_t params[] = { in TEST() local
76 AuthorizationSet set(params, array_length(params)); in TEST()
98 keymaster_key_param_t params[] = { in TEST() local
108 AuthorizationSet set(params, array_length(params)); in TEST()
124 keymaster_key_param_t params[] = { in TEST() local
134 AuthorizationSet set(params, array_length(params)); in TEST()
[all …]
Dgoogle_keymaster_messages_test.cpp107 static keymaster_key_param_t params[] = { variable
117 req.key_description.Reinitialize(params, array_length(params)); in TEST()
127 rsp.enforced.Reinitialize(params, array_length(params)); in TEST()
140 rsp.enforced.Reinitialize(params, array_length(params)); in TEST()
151 req.additional_params.Reinitialize(params, array_length(params)); in TEST()
163 msg.enforced.Reinitialize(params, array_length(params)); in TEST()
164 msg.unenforced.Reinitialize(params, array_length(params)); in TEST()
175 msg.additional_params.Reinitialize(params, array_length(params)); in TEST()
249 msg.key_description.Reinitialize(params, array_length(params)); in TEST()
264 msg.enforced.Reinitialize(params, array_length(params)); in TEST()
[all …]
Dgoogle_keymaster_test.cpp187 keymaster_key_param_t params[] = { in TEST_F() local
199 req.key_description.Reinitialize(params, array_length(params)); in TEST_F()
238 keymaster_key_param_t params[] = { in TEST_F() local
250 req.key_description.Reinitialize(params, array_length(params)); in TEST_F()
297 keymaster_key_param_t params[] = { in TEST_F() local
309 req.key_description.Reinitialize(params, array_length(params)); in TEST_F()
348 keymaster_key_param_t params[] = { in TEST_F() local
360 gen_req.key_description.Reinitialize(params, array_length(params)); in TEST_F()
385 keymaster_key_param_t params[] = { in GenerateKey() local
396 generate_request.key_description.Reinitialize(params, array_length(params)); in GenerateKey()
[all …]
/system/extras/tests/audio/alsa/
Dpcmtest.cpp132 struct pcm_params *params; in getPcmParams() local
136 params = pcm_params_get(pcmnodes[i].card, pcmnodes[i].device, in getPcmParams()
138 if (params == NULL) in getPcmParams()
141 min = pcm_params_get_min(params, PCM_PARAM_RATE); in getPcmParams()
142 max = pcm_params_get_max(params, PCM_PARAM_RATE); in getPcmParams()
145 min = pcm_params_get_min(params, PCM_PARAM_CHANNELS); in getPcmParams()
146 max = pcm_params_get_max(params, PCM_PARAM_CHANNELS); in getPcmParams()
149 min = pcm_params_get_min(params, PCM_PARAM_SAMPLE_BITS); in getPcmParams()
150 max = pcm_params_get_max(params, PCM_PARAM_SAMPLE_BITS); in getPcmParams()
153 min = pcm_params_get_min(params, PCM_PARAM_PERIOD_SIZE); in getPcmParams()
[all …]
/system/security/softkeymaster/include/keymaster/
Dsoftkeymaster.h32 int openssl_sign_data(const keymaster_device_t* dev, const void* params, const uint8_t* keyBlob,
36 int openssl_verify_data(const keymaster_device_t* dev, const void* params, const uint8_t* keyBlob,
/system/security/softkeymaster/
Dkeymaster_openssl.cpp589 const keymaster_device_t*, const void* params, const uint8_t* keyBlob, in openssl_sign_data() argument
608 reinterpret_cast<const keymaster_dsa_sign_params_t*>(params); in openssl_sign_data()
613 reinterpret_cast<const keymaster_ec_sign_params_t*>(params); in openssl_sign_data()
618 reinterpret_cast<const keymaster_rsa_sign_params_t*>(params); in openssl_sign_data()
713 const keymaster_device_t*, const void* params, const uint8_t* keyBlob, in openssl_verify_data() argument
730 reinterpret_cast<const keymaster_dsa_sign_params_t*>(params); in openssl_verify_data()
735 reinterpret_cast<const keymaster_rsa_sign_params_t*>(params); in openssl_verify_data()
740 reinterpret_cast<const keymaster_ec_sign_params_t*>(params); in openssl_verify_data()
/system/vold/
Dcryptfs.c162 keymaster_rsa_keygen_params_t params; in keymaster_create_key() local
163 memset(&params, '\0', sizeof(params)); in keymaster_create_key()
164 params.public_exponent = RSA_EXPONENT; in keymaster_create_key()
165 params.modulus_size = RSA_KEY_SIZE; in keymaster_create_key()
168 if (keymaster_dev->generate_keypair(keymaster_dev, TYPE_RSA, &params, in keymaster_create_key()
208 keymaster_rsa_sign_params_t params; in keymaster_sign_object() local
209 params.digest_type = DIGEST_NONE; in keymaster_sign_object()
210 params.padding_type = PADDING_NONE; in keymaster_sign_object()
264 &params, in keymaster_sign_object()
340 int params[] = SCRYPT_DEFAULTS; in get_device_scrypt_params() local
[all …]
Dcryptfs.h209 unsigned char *ikey, void *params);
/system/core/libpixelflinger/
Dpixelflinger.cpp358 GGLenum pname, const GGLfixed* params) in ggl_texEnvxv() argument
367 ggl_texEnvi(con, target, pname, params[0]); in ggl_texEnvxv()
371 const GGLclampx r = gglClampx(params[0]); in ggl_texEnvxv()
372 const GGLclampx g = gglClampx(params[1]); in ggl_texEnvxv()
373 const GGLclampx b = gglClampx(params[2]); in ggl_texEnvxv()
374 const GGLclampx a = gglClampx(params[3]); in ggl_texEnvxv()
/system/core/lmkd/
Dlmkd.c296 static void cmd_target(int ntargets, int *params) { in cmd_target() argument
303 lowmem_minfree[i] = ntohl(*params++); in cmd_target()
304 lowmem_adj[i] = ntohl(*params++); in cmd_target()
/system/security/keystore/
Dkeystore.cpp2030 keymaster_rsa_sign_params_t params; in sign() local
2031 params.digest_type = DIGEST_NONE; in sign()
2032 params.padding_type = PADDING_NONE; in sign()
2035 rc = openssl_sign_data(device, &params, keyBlob.getValue(), keyBlob.getLength(), data, in sign()
2038 rc = device->sign_data(device, &params, keyBlob.getValue(), keyBlob.getLength(), data, in sign()
2083 keymaster_rsa_sign_params_t params; in verify() local
2084 params.digest_type = DIGEST_NONE; in verify()
2085 params.padding_type = PADDING_NONE; in verify()
2088 rc = openssl_verify_data(device, &params, keyBlob.getValue(), keyBlob.getLength(), data, in verify()
2091 rc = device->verify_data(device, &params, keyBlob.getValue(), keyBlob.getLength(), data, in verify()
/system/core/include/pixelflinger/
Dpixelflinger.h256 GGLenum pname, const GGLfixed* params);