Searched refs:templateOffset (Results 1 – 3 of 3) sorted by relevance
/device/asus/grouper/keymaster/ |
D | keymaster_grouper.cpp | 537 size_t templateOffset = 0; in tee_import_keypair() local 539 set_attribute(&privateKeyTemplate[templateOffset++], CKA_ID, objId->get(), objId->length()); in tee_import_keypair() 540 set_attribute(&privateKeyTemplate[templateOffset++], CKA_TOKEN, &bTRUE, sizeof(bTRUE)); in tee_import_keypair() 541 set_attribute(&privateKeyTemplate[templateOffset++], CKA_CLASS, &privClass, sizeof(privClass)); in tee_import_keypair() 542 set_attribute(&privateKeyTemplate[templateOffset++], CKA_KEY_TYPE, &rsaType, sizeof(rsaType)); in tee_import_keypair() 544 set_attribute(&privateKeyTemplate[templateOffset++], CKA_DECRYPT, &bTRUE, sizeof(bTRUE)); in tee_import_keypair() 545 set_attribute(&privateKeyTemplate[templateOffset++], CKA_SIGN, &bTRUE, sizeof(bTRUE)); in tee_import_keypair() 547 set_attribute(&privateKeyTemplate[templateOffset++], CKA_MODULUS, modulus->get(), in tee_import_keypair() 549 set_attribute(&privateKeyTemplate[templateOffset++], CKA_PUBLIC_EXPONENT, in tee_import_keypair() 551 set_attribute(&privateKeyTemplate[templateOffset++], CKA_PRIVATE_EXPONENT, in tee_import_keypair() [all …]
|
/device/asus/tilapia/self-extractors/nvidia/staging/keymaster/ |
D | keymaster_grouper.cpp | 537 size_t templateOffset = 0; in tee_import_keypair() local 539 set_attribute(&privateKeyTemplate[templateOffset++], CKA_ID, objId->get(), objId->length()); in tee_import_keypair() 540 set_attribute(&privateKeyTemplate[templateOffset++], CKA_TOKEN, &bTRUE, sizeof(bTRUE)); in tee_import_keypair() 541 set_attribute(&privateKeyTemplate[templateOffset++], CKA_CLASS, &privClass, sizeof(privClass)); in tee_import_keypair() 542 set_attribute(&privateKeyTemplate[templateOffset++], CKA_KEY_TYPE, &rsaType, sizeof(rsaType)); in tee_import_keypair() 544 set_attribute(&privateKeyTemplate[templateOffset++], CKA_DECRYPT, &bTRUE, sizeof(bTRUE)); in tee_import_keypair() 545 set_attribute(&privateKeyTemplate[templateOffset++], CKA_SIGN, &bTRUE, sizeof(bTRUE)); in tee_import_keypair() 547 set_attribute(&privateKeyTemplate[templateOffset++], CKA_MODULUS, modulus->get(), in tee_import_keypair() 549 set_attribute(&privateKeyTemplate[templateOffset++], CKA_PUBLIC_EXPONENT, in tee_import_keypair() 551 set_attribute(&privateKeyTemplate[templateOffset++], CKA_PRIVATE_EXPONENT, in tee_import_keypair() [all …]
|
/device/asus/grouper/self-extractors/nvidia/staging/keymaster/ |
D | keymaster_grouper.cpp | 537 size_t templateOffset = 0; in tee_import_keypair() local 539 set_attribute(&privateKeyTemplate[templateOffset++], CKA_ID, objId->get(), objId->length()); in tee_import_keypair() 540 set_attribute(&privateKeyTemplate[templateOffset++], CKA_TOKEN, &bTRUE, sizeof(bTRUE)); in tee_import_keypair() 541 set_attribute(&privateKeyTemplate[templateOffset++], CKA_CLASS, &privClass, sizeof(privClass)); in tee_import_keypair() 542 set_attribute(&privateKeyTemplate[templateOffset++], CKA_KEY_TYPE, &rsaType, sizeof(rsaType)); in tee_import_keypair() 544 set_attribute(&privateKeyTemplate[templateOffset++], CKA_DECRYPT, &bTRUE, sizeof(bTRUE)); in tee_import_keypair() 545 set_attribute(&privateKeyTemplate[templateOffset++], CKA_SIGN, &bTRUE, sizeof(bTRUE)); in tee_import_keypair() 547 set_attribute(&privateKeyTemplate[templateOffset++], CKA_MODULUS, modulus->get(), in tee_import_keypair() 549 set_attribute(&privateKeyTemplate[templateOffset++], CKA_PUBLIC_EXPONENT, in tee_import_keypair() 551 set_attribute(&privateKeyTemplate[templateOffset++], CKA_PRIVATE_EXPONENT, in tee_import_keypair() [all …]
|