Home
last modified time | relevance | path

Searched refs:qsize (Results 1 – 2 of 2) sorted by relevance

/optee_os/ta/pkcs11/src/
A Dprocessing_ec.c458 size_t qsize = 0; in tee2pkcs_ec_attributes() local
485 qsize = 1 + 2 * psize; in tee2pkcs_ec_attributes()
486 if (qsize < 0x80) { in tee2pkcs_ec_attributes()
488 dersize = qsize + 2; in tee2pkcs_ec_attributes()
490 } else if (qsize < 0x100) { in tee2pkcs_ec_attributes()
492 dersize = qsize + 3; in tee2pkcs_ec_attributes()
506 if (qsize < 0x80) { in tee2pkcs_ec_attributes()
509 ecpoint[1] = qsize & 0x7f; in tee2pkcs_ec_attributes()
513 } else if (qsize < 0x100) { in tee2pkcs_ec_attributes()
517 ecpoint[2] = qsize & 0xFF; in tee2pkcs_ec_attributes()
A Dpkcs11_helpers.c554 size_t qsize = 0; in pkcs2tee_load_attr() local
596 qsize = der_ptr[1] & 0x7F; in pkcs2tee_load_attr()
600 qsize = der_ptr[2]; in pkcs2tee_load_attr()
612 if (a_size != (hsize - 1) + qsize) { in pkcs2tee_load_attr()

Completed in 6 milliseconds