OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:key_algorithm
(Results
1 - 9
of
9
) sorted by null
/external/vboot_reference/host/lib/include/
host_signature.h
60
uint64_t
key_algorithm
,
/external/vboot_reference/host/lib/
host_signature.c
250
uint64_t
key_algorithm
,
253
uint64_t digest_size = hash_size_map[
key_algorithm
];
255
const uint8_t* digestinfo = hash_digestinfo_map[
key_algorithm
];
256
uint64_t digestinfo_size = digestinfo_size_map[
key_algorithm
];
266
digest = DigestBuf(data, size, hash_type_map[
key_algorithm
]);
281
sig = SignatureAlloc(siglen_map[
key_algorithm
], size);
291
siglen_map[
key_algorithm
], /* Max Output sig size */
/system/keymaster/contexts/
keymaster1_passthrough_context.cpp
235
keymaster_algorithm_t
key_algorithm
;
local
236
if (!key.authorizations().GetTagValue(TAG_ALGORITHM, &
key_algorithm
)) {
240
if ((
key_algorithm
!= KM_ALGORITHM_RSA &&
key_algorithm
!= KM_ALGORITHM_EC))
247
auto attestation_chain = getAttestationChain(
key_algorithm
, &error);
250
auto attestation_key = getAttestationKey(
key_algorithm
, &error);
pure_soft_keymaster_context.cpp
228
keymaster_algorithm_t
key_algorithm
;
local
229
if (!key.authorizations().GetTagValue(TAG_ALGORITHM, &
key_algorithm
)) {
233
if ((
key_algorithm
!= KM_ALGORITHM_RSA &&
key_algorithm
!= KM_ALGORITHM_EC))
240
auto attestation_chain = getAttestationChain(
key_algorithm
, &error);
243
auto attestation_key = getAttestationKey(
key_algorithm
, &error);
soft_keymaster_context.cpp
450
keymaster_algorithm_t
key_algorithm
;
local
451
if (!key.authorizations().GetTagValue(TAG_ALGORITHM, &
key_algorithm
)) {
455
if ((
key_algorithm
!= KM_ALGORITHM_RSA &&
key_algorithm
!= KM_ALGORITHM_EC))
462
auto attestation_chain = getAttestationChain(
key_algorithm
, &error);
465
auto attestation_key = getAttestationKey(
key_algorithm
, &error);
/external/vboot_reference/tests/
vb20_common2_tests.c
138
int test_algorithm(int
key_algorithm
, const char *keys_dir)
141
int rsa_len = siglen_map[
key_algorithm
] * 8;
147
printf("***Testing algorithm: %s\n", algo_strings[
key_algorithm
]);
150
private_key = PrivateKeyReadPem(filename,
key_algorithm
);
158
PublicKeyReadKeyb(filename,
key_algorithm
, 1);
vboot_common2_tests.c
212
int test_algorithm(int
key_algorithm
, const char *keys_dir)
215
int rsa_len = siglen_map[
key_algorithm
] * 8;
220
printf("***Testing algorithm: %s\n", algo_strings[
key_algorithm
]);
223
private_key = PrivateKeyReadPem(filename,
key_algorithm
);
230
public_key = PublicKeyReadKeyb(filename,
key_algorithm
, 1);
vb21_common2_tests.c
239
int test_algorithm(int
key_algorithm
, const char *keys_dir)
242
int rsa_len = siglen_map[
key_algorithm
] * 8;
245
vb2_crypto_to_signature(
key_algorithm
);
246
enum vb2_hash_algorithm hash_alg = vb2_crypto_to_hash(
key_algorithm
);
253
printf("***Testing algorithm: %s\n", algo_strings[
key_algorithm
]);
/system/keymaster/android_keymaster/
android_keymaster.cpp
270
keymaster_algorithm_t
key_algorithm
;
local
271
if (!key->authorizations().GetTagValue(TAG_ALGORITHM, &
key_algorithm
))
Completed in 365 milliseconds