OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:set_attribute
(Results
1 - 2
of
2
) sorted by null
/device/asus/tilapia/self-extractors/nvidia/staging/keymaster/
keymaster_grouper.cpp
234
static void
set_attribute
(CK_ATTRIBUTE* attrib, CK_ATTRIBUTE_TYPE type, void* pValue,
function
539
set_attribute
(&privateKeyTemplate[templateOffset++], CKA_ID, objId->get(), objId->length());
540
set_attribute
(&privateKeyTemplate[templateOffset++], CKA_TOKEN, &bTRUE, sizeof(bTRUE));
541
set_attribute
(&privateKeyTemplate[templateOffset++], CKA_CLASS, &privClass, sizeof(privClass));
542
set_attribute
(&privateKeyTemplate[templateOffset++], CKA_KEY_TYPE, &rsaType, sizeof(rsaType));
544
set_attribute
(&privateKeyTemplate[templateOffset++], CKA_DECRYPT, &bTRUE, sizeof(bTRUE));
545
set_attribute
(&privateKeyTemplate[templateOffset++], CKA_SIGN, &bTRUE, sizeof(bTRUE));
547
set_attribute
(&privateKeyTemplate[templateOffset++], CKA_MODULUS, modulus->get(),
549
set_attribute
(&privateKeyTemplate[templateOffset++], CKA_PUBLIC_EXPONENT,
551
set_attribute
(&privateKeyTemplate[templateOffset++], CKA_PRIVATE_EXPONENT
[
all
...]
/device/samsung/tuna/keymaster/
keymaster_tuna.cpp
230
static void
set_attribute
(CK_ATTRIBUTE* attrib, CK_ATTRIBUTE_TYPE type, void* pValue,
function
535
set_attribute
(&privateKeyTemplate[templateOffset++], CKA_ID, objId->get(), objId->length());
536
set_attribute
(&privateKeyTemplate[templateOffset++], CKA_TOKEN, &bTRUE, sizeof(bTRUE));
537
set_attribute
(&privateKeyTemplate[templateOffset++], CKA_CLASS, &privClass, sizeof(privClass));
538
set_attribute
(&privateKeyTemplate[templateOffset++], CKA_KEY_TYPE, &rsaType, sizeof(rsaType));
540
set_attribute
(&privateKeyTemplate[templateOffset++], CKA_DECRYPT, &bTRUE, sizeof(bTRUE));
541
set_attribute
(&privateKeyTemplate[templateOffset++], CKA_SIGN, &bTRUE, sizeof(bTRUE));
543
set_attribute
(&privateKeyTemplate[templateOffset++], CKA_MODULUS, modulus->get(),
545
set_attribute
(&privateKeyTemplate[templateOffset++], CKA_PUBLIC_EXPONENT,
547
set_attribute
(&privateKeyTemplate[templateOffset++], CKA_PRIVATE_EXPONENT
[
all
...]
Completed in 102 milliseconds